Hi list, I tried to grow a ocfs2 partition. According to the manual page, I have to issue this command: tunefs.ocfs2 -S /dev/sdg1 and it should take all available space for growing. I tried with the partitions mounted, and unmounted too, also after I did a /etc/init.d/o2cb stop. nevertheless, with a mounted and unmounted partition tunefs presented me the following error message: tunefs.ocfs2: Trylock failed while locking down the cluster the partitions were not mounted on any node. with a stopped o2cb it was unable to initialize the cluster. I am using heartbeat 2.0.8 to manage the ocfs2 heartbeat, running on a SLES10 x86_64 and using ocfs2-1.2.2 rpm. anybody has a suggestion what my problem could be? kind regards Sebastian
Means that the volume is in use on at least one node in the cluster. If you were using the native o2cb heartbeat, the following command would have shown the heartbeating node. # watch -d -n2 "debugfs.ocfs2 -R \"hb\" /dev/sdX" Ping SUSE to find out the details when using ocfs2 with linux-ha. Sebastian Reitenbach wrote:> Hi list, > > I tried to grow a ocfs2 partition. According to the manual page, I have to > issue this command: > tunefs.ocfs2 -S /dev/sdg1 > and it should take all available space for growing. > I tried with the partitions mounted, and unmounted too, also after I did > a /etc/init.d/o2cb stop. > > nevertheless, with a mounted and unmounted partition tunefs presented me the > following error message: > tunefs.ocfs2: Trylock failed while locking down the cluster > the partitions were not mounted on any node. > > with a stopped o2cb it was unable to initialize the cluster. > > I am using heartbeat 2.0.8 to manage the ocfs2 heartbeat, running on a SLES10 > x86_64 and using ocfs2-1.2.2 rpm. > > anybody has a suggestion what my problem could be? > > kind regards > Sebastian > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >
Hi Sunil, Sunil Mushran <Sunil.Mushran@oracle.com> wrote:> Means that the volume is in use on at least one node in the cluster. > > If you were using the native o2cb heartbeat, the following command > would have shown the heartbeating node. > # watch -d -n2 "debugfs.ocfs2 -R \"hb\" /dev/sdX"hmm, I only checked with a ordinary mount command, but not the output of mounted.ocfs2. their output sometimes differ, and I should have known better.> > Ping SUSE to find out the details when using ocfs2 with linux-ha.PING ;) thanks a lot Sebastian