Hello, How to mount a disk with ocfs2 FS in one node to another . Let ys say I have /dev/sda mounted on /u01 in node 1 . I need to access it from nod2 . Any solutions ? I am using ubuntu 8.10 Node 1 =====root at 110:~# /etc/init.d/o2cb status Module "configfs": Loaded Filesystem "configfs": Mounted Module "ocfs2_nodemanager": Loaded Module "ocfs2_dlm": Loaded Module "ocfs2_dlmfs": Loaded Module "ocfs2_stackglue": Loaded Filesystem "ocfs2_dlmfs": Mounted Checking O2CB cluster ocfs2: Online Heartbeat dead threshold = 31 Network idle timeout: 10000 Network keepalive delay: 5000 Network reconnect delay: 2000 Checking O2CB heartbeat: Active root at 110:~# /etc/init.d/ocfs2 status Active OCFS2 mountpoints: /u01 root at 110:~# mounted.ocfs2 -f Device FS Nodes /dev/sda5 ocfs2 110.inhouse.inc root at 110:~# ============Please help. Regards Sherin -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: A revocation certificate should follow iEkEIBECAAkFAkkg5CwCHQIACgkQOiJEcEZqZmIDZgCgpFg4W7PGy+Uvc33hYjDP b8YJ+34An2gnvmm6OFyoM3I8+CjuiLUUvovJ =YSDT -----END PGP PUBLIC KEY BLOCK-----
sherin.a at hostdime.in wrote:> How to mount a disk with ocfs2 FS in one node to another . > > Let ys say I have /dev/sda mounted on /u01 in node 1 . I need to > access it from nod2 . Any solutions ?This is probably an unusual configuration but it would be possible with iSCSI. If you shared the /dev/sda device from the first machine using the iscsi-target tools then you could mount it from the second machine using iscsi-initiator. You could then use oc2fs to mount it. You normally want the storage to be on a SAN and have equal access from both systems. The easier solution would be to just export it from the first system with nfs then mount it from the second machine. Brett
ocfs2 is a shared disk cluster file system. All nodes need to have access to the disk. Typical technologies involved are fiber channel and iscsi. If you are in a virtual environment, then you could present a local device as shared to multiple guests. On Jun 24, 2009, at 2:51 AM, "sherin.a at hostdime.in" <sherin.a at hostdime.in > wrote:> Hello, > > How to mount a disk with ocfs2 FS in one node to another . > > Let ys say I have /dev/sda mounted on /u01 in node 1 . I need to > access it from nod2 . Any solutions ? > > I am using ubuntu 8.10 > > Node 1 > =====> root at 110:~# /etc/init.d/o2cb status > Module "configfs": Loaded > Filesystem "configfs": Mounted > Module "ocfs2_nodemanager": Loaded > Module "ocfs2_dlm": Loaded > Module "ocfs2_dlmfs": Loaded > Module "ocfs2_stackglue": Loaded > Filesystem "ocfs2_dlmfs": Mounted > Checking O2CB cluster ocfs2: Online > Heartbeat dead threshold = 31 > Network idle timeout: 10000 > Network keepalive delay: 5000 > Network reconnect delay: 2000 > Checking O2CB heartbeat: Active > root at 110:~# /etc/init.d/ocfs2 status > Active OCFS2 mountpoints: /u01 > root at 110:~# mounted.ocfs2 -f > Device FS Nodes > /dev/sda5 ocfs2 110.inhouse.inc > root at 110:~# > ============> Please help. > > > > Regards > Sherin > > -- > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: A revocation certificate should follow > > iEkEIBECAAkFAkkg5CwCHQIACgkQOiJEcEZqZmIDZgCgpFg4W7PGy+Uvc33hYjDP > b8YJ+34An2gnvmm6OFyoM3I8+CjuiLUUvovJ > =YSDT > -----END PGP PUBLIC KEY BLOCK----- > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users