You need a shared storage between servers, you can't do local storage on each server. A local file via loop will not work.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ocfs2-users- > [EMAIL PROTECTED] On Behalf Of living liquid | Christian > Meisinger > Sent: 10/03/2008 06:23 > To: ocfs2-users@oss.oracle.com > Subject: [Ocfs2-users] OCFS2 with Loop device > > hi there > > i try to setup OCFS2 with loop device /dev/loop0 > > i've 4 servers running SLES10 SP2. > internal ip's: 192.168.55.1, .2, .3 and .6 > > my cluster.conf: > -------------------------------------------- > node: > ip_port = 7777 > ip_address = 192.168.55.1 > number = 0 > name = www > cluster = cawww > > node: > ip_port = 7777 > ip_address = 192.168.55.2 > number = 1 > name = www2 > cluster = cawww > > node: > ip_port = 7777 > ip_address = 192.168.55.3 > number = 2 > name = www3 > cluster = cawww > > node: > ip_port = 7777 > ip_address = 192.168.55.6 > number = 3 > name = www4 > cluster = cawww > > cluster: > node_count = 4 > name = cawww > -------------------------------------------- > > what i did so far is: > - create a file for the loop device on each server with: dd > if=/dev/zero of=/var/lib/ocfs2/cawww bs=1G count=1 > - setup loop device on each server: losetup /dev/loop0 > /var/lib/ocfs2/cawww > - formated the device on www1 : mkfs.ocfs2 -b 4K -C 32K -N 4 -L > ocfscawww /dev/loop0 > i read here > "http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi_2. > html#16" > that i need to format only on one server. is this correct? > - mount with: mount -t ocfs2 /dev/loop0 /cawww > mount works on www1, but not on the other servers > (mount.ocfs2: Bad magic number in superblock while opening device > /dev/loop0) > i tried to format on each server and then mount again with works > but it then i don't see > changes i make in /cawww on the other servers. > it seems that each server isn't aware of the other servers. > firewall is disabled on each server. > maybe ocfs2 doesn't work with a loop device? > > any ideas what the problem could be? > > > thanks, christian Ulf Zimmermann | Senior System Architect OPENLANE 4600 Bohannon Drive, Suite 100 Menlo Park, CA 94025 O: 650-532-6382 M: (510) 396-1764 F: (510) 580-0929 Email: [EMAIL PROTECTED] | Web: www.openlane.com _______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users