Hi All, I am very new in OCFS(or u can say, novice in any cluster file system). I have installed OCFS2 as per the instruction in two of the Guest OS(Both RHEL 4 AS) in VMware Workstation 6. In the first OS where I export the file system, I am able to view the clustered file system and able to format and mount using the OCFS2CONSOLE GUI. But In the second system(Though OCFS2 is running fine, I have propagate the configuration file and o2cb load and o2cb online ocfs2 and o2cb status are working as per the instruction) I am not able to view and mount the cluster file system. If any Guru have any idea about the root cause for the happening and what to do next to debug the issue ??? Thanks in advance. Regards, Tapas Mallicl fedora4all at yahoo.com
Tapas Mallick wrote:> But In the second system(Though OCFS2 is running fine, > I have propagate the configuration file and o2cb load > and o2cb online ocfs2 and o2cb status are working as > per the instruction) I am not able to view and mount > the cluster file system. >What is the error when you try to mount the filesystem? There are some OCFS gurus here, but none of them are psychic. Mount it from the command line and paste the error into your e-mail. David
Tapas Mallick wrote:> But In the second system(Though OCFS2 is running fine, > I have propagate the configuration file and o2cb load > and o2cb online ocfs2 and o2cb status are working as > per the instruction) I am not able to view and mount > the cluster file system. >What is the error when you try to mount the filesystem? There are some OCFS gurus here, but none of them are psychic. Mount it from the command line and paste the error into your e-mail. David
On Tue, 20 May 2008, Tapas Mallick wrote:> I have installed OCFS2 as per the instruction in two of the Guest > OS(Both RHEL 4 AS) in VMware Workstation 6. In the first OS where I > export the file system,There is insufficient information to provide effective help but your use of the phrase 'export the file system' troubles me. You do have a shared block device that both virtual instances can access, right? -- John P.
What you are missing is a shared (virtual) disk. If you believe that a disk is so shared, then format it on one guest and then issue the following command on both. $ debugfs.ocfs2 -R "stats" /dev/sdX | grep UUID You should get the same UUID on both guests. Once this works, then attempt to mount the device on both guests. It will work. Sunil Tapas Mallick wrote:> Hi All, > > I am very new in OCFS(or u can say, novice in any > cluster file system). > > I have installed OCFS2 as per the instruction in two > of the Guest OS(Both RHEL 4 AS) in VMware Workstation > 6. In the first OS where I export the file system, I > am able to view the clustered file system and able to > format and mount using the OCFS2CONSOLE GUI. > > But In the second system(Though OCFS2 is running fine, > I have propagate the configuration file and o2cb load > and o2cb online ocfs2 and o2cb status are working as > per the instruction) I am not able to view and mount > the cluster file system. > > If any Guru have any idea about the root cause for the > happening and what to do next to debug the issue ??? > > Thanks in advance. > > Regards, > Tapas Mallicl > fedora4all at yahoo.com > > > > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
Hi, I am using OCFS2console to mount in both the virtual machine. In the first system(where the actual physical disk located), I am getting the disk in the console and there is no issue to format and mount. In the second system, I am not getting the disk in the console(or fdisk -l), so there is no option to mount the disk. In my second system I am not getting the "HEARTBEAT" too !!! Regards, Tapas Mallick fedora4all at yahoo.com --- V Srinivas <vaungasrinu at gmail.com> wrote:> Hi , > while mounting the mount point what error it is > throwing . > is it invalid argument.Ocheck o2cb status whether > heartbeat is active on 2nd > node. > Rgds, > srinivas > > On 20/05/2008, Tapas Mallick <fedora4all at yahoo.com> > wrote: > > > > Hi All, > > > > I am very new in OCFS(or u can say, novice in any > > cluster file system). > > > > I have installed OCFS2 as per the instruction in > two > > of the Guest OS(Both RHEL 4 AS) in VMware > Workstation > > 6. In the first OS where I export the file system, > I > > am able to view the clustered file system and able > to > > format and mount using the OCFS2CONSOLE GUI. > > > > But In the second system(Though OCFS2 is running > fine, > > I have propagate the configuration file and o2cb > load > > and o2cb online ocfs2 and o2cb status are working > as > > per the instruction) I am not able to view and > mount > > the cluster file system. > > > > If any Guru have any idea about the root cause for > the > > happening and what to do next to debug the issue > ??? > > > > Thanks in advance. > > > > Regards, > > Tapas Mallicl > > fedora4all at yahoo.com > > > > > > > > > > > > > > _______________________________________________ > > Ocfs2-users mailing list > > Ocfs2-users at oss.oracle.com > > http://oss.oracle.com/mailman/listinfo/ocfs2-users > > >
Hi, I give up the idea to use share disk in VMware Workstation and finally use iSCSI as a shared block device for OCFS2. It works fine for me and Now I am able to format(though from CLI only, as the share disk is not visible in ocfs2console unless I format the disk by mkfs.ocfs2) and mount in both of my guest RHEL systems. Thanks a lot for all the suggestion and advice. Thanks and Regards, Tapas Mallick fedora4all at yahoo.com --- David Coulson <david at davidcoulson.net> wrote:> You can use a SAN to share the disk, or you can use > DRBD to mirror two > local disks. > > If you want to share local disk, you need to figure > out a way to share > it at the block level. > > Tapas Mallick wrote: > > Hi, > > > > is OCFS2 is only build for SAN ? Can't we use > local > > disk to be shared by two or more system as > clustered > > file system? > > > > Regards, > > Tapas Mallick > > fedora4all at yahoo.com > > > > > > > > --- David Coulson <david at davidcoulson.net> wrote: > > > > > >> Does VMware workstation support shared disks? > Maybe, > >> maybe not - You > >> will have to check. > >> > >> OCFS does NOT export the disk or filesystem from > one > >> machine to the other. > >> > >> Tapas Mallick wrote: > >> > >>> Hi, > >>> > >>> I thought in the second system the formatted > disk > >>> should come as a physical disk(As we found in > the > >>> iSCSI initiator). How do I configure my second > >>> > >> system > >> > >>> to view the formatted disk ? > >>> > >>> Regards, > >>> Tapas Mallick > >>> fedora4all at yahoo.com > >>> > >>> > > > > > > > > > > >