Questions tagged [ocfs2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
73 views

Azure Managed Lustre or another setup that allows Ubuntu VMs to perform parallel read/write operations to a shared block storage in the cloud?

I set up Azure Managed Lustre with 8TB and maximum throughput 4GB/s. Following the official docs for an Ubuntu 20.04 VM with size Standard_L8as_v3, I manage to mount the file system. Then I test my ...
Louie_the_unsolver's user avatar
0 votes
1 answer
45 views

ocfs2_dlmfs file system not found while running tunefs.ocf2s command

While running the following tunefs command to enable the discontig-bg file system feature: tunefs.ocfs2 --fs-features=discontig-bg /dev/drbd0 I receive the following error: tunefs.ocfs2: ocfs2_dlmfs ...
no-preserve-root's user avatar
0 votes
1 answer
115 views

What is the simplest way to set up shared/clustered read-write filesystem across servers?

What is the simplest way to set up shared/clustered read-write POSIX-compliant filesystem across servers where performance is not a major concern? Suppose I have two Linux servers S1 and S2 and an ...
otujuhxv's user avatar
2 votes
1 answer
314 views

drbd: quorum and dual primary for ocfs2 without fencing?

Due to cephs poor performance on NVME i'm experimenting with OCFS2 on DBRD again. DBRD appears to initially have been built around the idea notifying an application of a hardware failure, and the ...
aep's user avatar
  • 187
2 votes
1 answer
425 views

Add more nodes on a live OCFS2 cluster

I have a OCFS cluster with 4 nodes at the moment. I would like to add another 6. What I did: I edited the /etc/ocfs2/cluster.conf file and added all the desirable nodes. Then I copied to all the ...
user avatar
0 votes
1 answer
392 views

Single SAN with ocfs2 and gfs2

I have a single SAN with two virtual drives. (i.e., they are separate mounts, but they are mapped to the same IP address) For example, if I do ls /dev/disk/by-path/, I see this: ip-172.16.100.5:3260-...
Ray's user avatar
  • 167
0 votes
1 answer
745 views

iSCSI separation from Ethernet via VLAN

I've set up a small cluster of a few servers along with a SAN. The servers are running Ubuntu 20.04 LTS. Using instructions provided by the vendor (I can't find where I read it before), they ...
Ray's user avatar
  • 167
0 votes
0 answers
622 views

Failed configuring active-active shared disk with drbd and pacemaker

I followed Clusters from Scratch instructions, chapters 8 and 9, to configure an active-active, shared disk cluster with drbd and pacemaker. The difference with that tutorial is that I am using OCFS2 ...
user2309000's user avatar
1 vote
0 answers
242 views

State of OCFS2 as KVM storage for QCOW2 format

Using a shared iSCSI SAN all SSD and good cluster aware filesystems are few and far between with Linux. What is the state of OCFS2 with modern Linux kernels and is it considered reliable enough to ...
pieterk's user avatar
  • 111
1 vote
2 answers
175 views

OCFS2 Adding nodes

i have vms that run nginx and php fpm on separate machines, for now i use a very stupid method of synchronizing directories by hand since cluster is not that big. However i have another server laying ...
Anton Stafeyev's user avatar
1 vote
1 answer
612 views

cheap, commodity hardware based, highly available distributed filesystem [closed]

I have two PCs running linux, a 2 TB disk each and one small gigabit switch. To build a highly available system on the cheap, I resorted to this stack: custom 5.6 kernel with ZFS and DRBD9 on both ...
Qippur's user avatar
  • 145
0 votes
1 answer
209 views

Mixed ocfs2 clusters: direct access and iscsi

Good morning, I have this configuration: diagram of configuration One "shared disk" with one partition formatted as OCFS2 Host A and host B with direct access to the "shared disk" Host C with direct ...
matlocat's user avatar
2 votes
1 answer
2k views

OCFS2 on Ubuntu 18.04 - Missing Kernal Modules

I am trying to setup OCFS2 on a few servers running Ubuntu 18.04. I started by installing ocfs2-tools and then setting up things from there. The issue I cannot solve appears to be the system is ...
Magnetion's user avatar
1 vote
1 answer
708 views

Can 2 servers share the same ocfs2 FS via NFS?

The problem is the following: I have 2 servers that have a FS mounted as ocfs2: root [server01]% mount | grep ocfs2 ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw) /dev/sddlmam1 on /share type ocfs2 (rw,...
X3MBoy's user avatar
  • 121
0 votes
1 answer
1k views

ocfs2 and packemaker without ocf:pacemaker:o2cb

In ubuntu 16.04 ocfs:pacemaker:o2cb not work anymore but i cant find any document that describe ocfs2 with packeamker without ocf:pacemaker:o2cb I have drbd device and work fine with pacemaker, but ...
Behrad Eslamifar's user avatar
2 votes
0 answers
1k views

OCFS2 filesystem not mounting

I have an OCFS2 cluster running on top of a dual-primary DRBD setup on Ubuntu 16.04. Yesterday, I pushed this cluster into production and it seemed to run well for a while. But today, the cluster ...
Oldskool's user avatar
  • 2,025
2 votes
1 answer
158 views

OEL 7.2 with LACP systemd shutdowns networking before umounting _netdev filesystems

I've built an NFS cluster with OCFS2 as a backing filesystem. This is working quite well with the exception of when a node is restarted/shutdown cleanly it causes a fence operation as network is ...
stuntkiwi's user avatar
0 votes
1 answer
41 views

Get free capacity of an ocfs2 volume

I want to get free capacity of an ocfs2 volume (ocfs2-tools version 1.6), which is not mounted any where. Is there way to do that. Thanks
Waveter's user avatar
  • 574
1 vote
3 answers
8k views

Mounting multipath devices by UUID in fstab

I have several multipath iSCSI LUN's formatted as ocfs2 filesystems. They are part of an Ubuntu 14.04 cluster using local heartbeat. This all appears to be working fine if I mount them manually after ...
Nathan S. Watson-Haigh's user avatar
0 votes
1 answer
352 views

View OCFS2 online nodes using command line?

I want to see which nodes is currently online in my OCFS2 cluster, how can I accomplish it using command line tools? OCFS2 Tools: 1.8.0-10.el6 UEK Kernel: 2.6.39-400.264.4.el6uek OS: CentOS 6.7
weeix's user avatar
  • 293
0 votes
1 answer
475 views

Expanding/Growing OCFS2 forever

I have a kvm environment where a shared disk mounted by 2 VMs through rbd ceph. What I would like to know that in the future how is it possible to expand OCFS2 filesystem what I planning to use on top ...
pluto73's user avatar
  • 29
2 votes
1 answer
665 views

What distributed FS, with small files read / write workload perform better?

I have 2 machines sharing storage via iscsi (multipath), soon we add another one, this machines are Web app servers that read small files on shared storage ( < 256kB), and write them back. so we ...
Securez's user avatar
  • 51
0 votes
0 answers
839 views

Why both nodes in OCFS2 cluster keep rebooting?

We created an OCSFS2 cluster by using SUSE Linux High Availability Extensions on SLES SP3. The cluster nodes are two Apache servers which share one disk. We have stonith enabled and SBD daemon. It ...
jonathan.vargas.cr's user avatar
0 votes
1 answer
668 views

OCFS2 "Heartbeat generation mismatch on device" error when mounting iscsi target

As said in the title, when I want to mount a iSCSI target on one machine I get the following error: (o2hb-3F92114867,7826,3):o2hb_check_own_slot:590 ERROR: Heartbeat generation mismatch on device (...
Danijel Krmar's user avatar
1 vote
0 answers
227 views

Running iSCSI LIO with high availability

I've build a two node storage setup with OCFS on top of DRBD to provide storage for a couple of ESXi servers. Will it be possible to setup iSCSI targets on both storage nodes and make one of the nodes ...
SteffenNielsen's user avatar
1 vote
1 answer
2k views

VM iscsi disk crashes on one VM Host, not on the other

I have a VmWare solution running on a HP bladesystem with a Lefthand ISCSI san. There are currently two VmWare hosts in that environment. I have two Debian VM's sharing an ISCSI disk (with ocfs2), ...
Berzemus's user avatar
  • 1,192
8 votes
1 answer
2k views

Dual Primary OCFS2 DRBD encountered split-brain. Is recovery always going to be manual in this case?

I've got two webservers which each have a disk attached. This disk is synced between them using drbd (2:8.3.13-1.1ubuntu1) in 'dual-primary' mode, and over the top of this I run ocfs2 (1.6.4-1ubuntu1) ...
growse's user avatar
  • 8,050
0 votes
1 answer
1k views

What is the best storage for active-active linux cluster? [closed]

We have a cluster with multiple ubuntu machines which are connected to a shared SAN storage. Initially we were using OCFS2 as file system but we were hit with so many issues and we couldn't find ...
edalloul's user avatar
2 votes
1 answer
431 views

puppet templates: possible to print the size of an exported resource array?

I'm writing a puppet module for ocfs2 and making use of exported resources to populate the definitions of all the cluster nodes in the config file on each cluster. This all works well. The cluster ...
growse's user avatar
  • 8,050
0 votes
2 answers
332 views

Issue with Apache flat files on OCFS2 on SAN

I have a pretty basic Apache two node cluster with flat files on SAN using OCFS2 file system mounted on both nodes.The website is working as expected, but I see a lot of the following messages in both ...
Debianuser's user avatar
5 votes
1 answer
12k views

mount.ocfs2: Transport endpoint is not connected while mounting...?

I have replaced a dead node that was running in dual-primary mode with OCFS2. All the steps work: /proc/drbd version: 8.3.13 (api:88/proto:86-96) GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 ...
quanta's user avatar
  • 51.8k
1 vote
1 answer
225 views

DBRD dual primary Heartbeat resource management

I have the following setup: Two servers with DRBD running dual primary with OCFS2 Heartbeat with two virtual ips, one for each server Round robin DNS to load balance NFS across the two vIPs Shutting ...
Jon Skarpeteig's user avatar
7 votes
3 answers
951 views

DRBD configuration

I was going through the configuration of DRBD on two nodes. The DRBD has already configured, but I would like to enable the dual primary mode feature. On drbd site I have seen that it requires the ...
karthick's user avatar
  • 703
3 votes
1 answer
6k views

Folder shares over NFSv4 private to user groups

I want to share a folder over NFSv4, available to some users, and I'm having permission issues. I set up the folder permissions with setGID so new files are created with the folder group owner. But ...
Jorge Suárez de Lis's user avatar
11 votes
3 answers
26k views

Can not switch drbd to secondary

I'm running drbd83 with ocfs2 in centos 5 and planning to use packemaker with them. Afer some time, I'm facing drbd split brain problem. version: 8.3.13 (api:88/proto:86-96) GIT-hash: ...
favadi's user avatar
  • 537
1 vote
1 answer
1k views

NFS exportfs spamming logs. Is this a broken setup?

I have a NFS server running Ubuntu 10.04, serving an OCFS2 filesystem. The setup is somehow complicated because the server has Heartbeat and Pacemaker installed to make a cluster with another server. ...
Jorge Suárez de Lis's user avatar
0 votes
1 answer
887 views

Ocfs2 volume sharing between hostOS and VM with KVM on Ubuntu

I'm trying to setup ocfs2 on Ubuntu Oneiric Server (3.0 kernel). I'm sharing a LV from a VG on the host. The HostOS is Ubuntu Lucid (also on a 3.0 kernel). I can share the ocfs2 partition on the ...
Jasper's user avatar
  • 1,084
2 votes
1 answer
788 views

Ubuntu Server mdadm drbd ocfs2 kvm hangs under heavy file reading

I have deployed four ubuntu 10.04 server. They are coupled two by two in a cluster scenario. on both sides we have software raid1 disks, drbd8 and OCFS2 and on top of it some kvm machines run with ...
Stefano Annese's user avatar
1 vote
0 answers
778 views

OCFS2/GFS2 dlm_join_lockspace no fence domain

Ripping my hair out on a new Pacemaker/cman/(OCFS2|GFS) config. I can't use the Pacemaker integration with OCFS2, since the Fedora team, in their wisdom, decided to remove the .pcmk. Supposedly, I ...
phresus's user avatar
  • 267
2 votes
1 answer
3k views

OCFS Configuration

I'm setting up a Virtual Machine, and I'm trying to get OCFS to allow redundancy across two devices. It looks to be working in configuration, but it's not actually syncing the files across: /etc/...
bradlis7's user avatar
  • 363
2 votes
3 answers
2k views

clustered file system choice for KVM/XEN in Fibre Channel Environment

Gents, what would you recommend for production use in a FC environment, where live migration is a must? Which clustered file system should we use? OCFS2? Would you still need drbd? Thanks!
CMag's user avatar
  • 707
1 vote
1 answer
8k views

o2cb thinks ocfs2 cluster is still online, and refuses to shut down

I have a handful of OpenSuSE 11.2 servers that utilize OCFS2 volumes. I've noticed that o2cb can't figure out when the OCFS2 cluster is actually mounted. For example, when I try to shutdown o2cb, ...
Kendall's user avatar
  • 1,063
0 votes
1 answer
4k views

OCFS2: "Bad magic number in inode" every time mounting specific volume; fsck fixes it?

I have 5 OCFS2 volumes on an iSCSI SAN that a handful (5) of servers mount. There is one volume in particular that never mounts cleanly after reboot. The error you get when trying to mount is ...
Kendall's user avatar
  • 1,063
2 votes
2 answers
734 views

OCFS2 updating procedures

We plan to use OCFS2 in a project running Red Hat Enterprise Linux (RHEL) 5.6 because we found OCFS2 to be much simpler to set up than GFS. I am, however, worried about the upgrade process since I ...
Stephan's user avatar
  • 417
1 vote
1 answer
729 views

LinuxHA cluster, advice needed regarding shared storage

I'm setting up a two-node Heartbeat+Pacemaker cluster to run Xen domUs in a fail-over and live-migrate type environment. Storage is a LUN on an (EqualLogic) iSCSI SAN device. I initially wanted to ...
Kendall's user avatar
  • 1,063
3 votes
1 answer
3k views

XFS I/O Error accessing Logical Block 0 of an LVM snapshot: is the drive or snapshot bad?

I have OpenSuSE 11.3 running as a Xen host on a machine with 8x296GB Cheetah 15k.6 SAS disks, 4 of which are mirrored, the other 4 striped. I'm using LVM to manage the disks and they are formatted ...
Kendall's user avatar
  • 1,063
3 votes
3 answers
1k views

vmware vmdk disk problem

I have a VMware ESXi 4 server and 2 storage servers (mounted via nfs). Between the storage servers (Fedora 14) is a drbd cluster (dual primary) and ocfs2 filesystem; also every server has a local ...
dmtr's user avatar
  • 31
0 votes
1 answer
567 views

How long does it take to create an OCFS2 filesystem on a 1TB disk?

I'm creating an OCFS2 fs for use with DRBD and it's taking an awful long time to create the filesystem. I haven't done it before so I'm wondering if someone with more experience can relate how long ...
Rafiq Maniar's user avatar
  • 1,120
2 votes
1 answer
1k views

ocfs2 v1.6 for CentOS 5.5

does someone know how/where to get newest ocfs2 version 1.6 for CentOS? from oracle site I was able to download only 1.4 . but this version hasn't a lot of features as you can see , there is only 1....
A M's user avatar
  • 158
2 votes
2 answers
462 views

OCFS2 + DRBD8 + MD mirror + PERC 6/iR + SATA 500GB = serious I/O problems?

I have reports that I/O on a certain filesystem, namely /srv/data1, is intermittently horrific. I've seen it myself and it's true. For example, I run 'ls' /srv/data1 and the output takes 30+ seconds ...
Mike Diehn's user avatar