[Ocfs2-users] Re: Am I doing something wrong?

Sunil Mushran Sunil.Mushran at oracle.com
Fri Feb 9 18:57:54 PST 2007


Are you using 1.2.4? If not, upgrade. We fixed a NFS -ESTALE (-116)
issue in it. Though that the error occurs while mounting is a bit puzzling.

Brandon Lamb wrote:
> On 2/9/07, Brandon Lamb <brandonlamb at gmail.com> wrote:
>> On 2/9/07, Brandon Lamb <brandonlamb at gmail.com> wrote:
>> > Hey
>> >
>> > So I installed a new setup today as follows
>> >
>> > server1
>> > 17G raid /dev/sda1 using drbd v8 set as /dev/drbd0
>> >
>> > server2
>> > 17G raid /dev/sda1 using drbd v8 set as /dev/drbd0
>> >
>> > The drbd seems to work fine so far.
>> >
>> > I also have
>> >
>> > cluster1 and cluster2 nodes.
>> >
>> > cluster1 connects to server1 using iscsi
>> > cluster2 connects to server2 using iscsi
>> >
>> > On cluster1 i did
>> > mkfs.ocfs2 -N 5 -T mail -L ocfs2 /dev/sda
>> >
>> > This seemed to go fine (ocfs2 was loaded and my ocfs2 cluster was
>> > online on both nodes)
>> >
>> > I was able to mount the ocfs2 drive on cluster1
>> >
>> > On cluster2 when I try to mount I get
>> > [root at cluster2 mnt]# mount cluster
>> > ocfs2_hb_ctl: OCFS2 inode is not a directory while reading uuid
>> > mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:
>> > "Operation not permitted"
>> >
>> > What did I miss? I am guessing its because of the drbd setup as this
>> > same config was working for just 1 server.
>> >
>> > Do I have to do something special? Do I make cluster1 its own cluster
>> > and cluster2 its own cluster and let drbd handle the drive replication
>> > or...
>> >
>> > Im confused
>> >
>> > =)
>> >
>> > Brandon
>>
>> I just found and applied this patch
>> http://lists.linbit.com/pipermail/drbd-dev/2007-January/000613.html
>>
>> I am rebooting now to see if this was maybe my problem.
>
> Now when I try to mount on cluster2 I get
>
> [root at cluster2 mnt]# mount cluster
> mount.ocfs2: Stale NFS file handle while mounting /dev/sda on
> /mnt/cluster. Check 'dmesg' for more information on this error.
>
> dmesg produces
>
> (7109,0):ocfs2_populate_inode:260 ERROR: file entry generation does
> not match superblock! osb->fs_generation=c1d5d520,
> fe->i_fs_generation=a90a9b85
> (7109,0):ocfs2_init_global_system_inodes:208 ERROR: status = -116
> (7109,0):ocfs2_initialize_super:1465 ERROR: status = -116
> (7109,0):ocfs2_fill_super:568 ERROR: status = -116
> ocfs2: Unmounting device (8,0) on (node 255)
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users



More information about the Ocfs2-users mailing list