[Ocfs2-tools-devel] [PATCH] Option to skip cluster checking in tunefs.ocfs2

Lars Marowsky-Bree lmb at suse.de
Sat Oct 17 03:51:07 PDT 2009


On 2009-10-17T11:51:40, Jan Kara <jack at suse.cz> wrote:

> > On Wed, Oct 14, 2009 at 06:21:17PM +0200, Jan Kara wrote:
> > > Sometimes, ocfs2-tools do not properly support the cluster stack
> > > used and thus it is necessary to skip cluster locking. Implement
> > > an option --force for tunefs.ocfs2 that allows this.
> > 	NAK.  If you need to override the cluster stack, you do
> > 'tunefs.ocfs2 --update-cluster-stack' to set it to the current stack.
>   I have to admit I don't understand the details here. Lars just told me
> to implement it, so I did ;). From what Lars told me, I understood
> there are problems with supporting some kind of cluster stack and solving
> them requires non-trivial changes to kernel-userspace interface and that's
> going to take time. Therefore I've implemented this option as a temporary
> band aid for admins.
>   I've CC'd Lars so he might give you more facts :)

That's correct. (Remember the LVB size issue?)

It also seemed impossible to alter the fs while umounted and with the
cluster stack wholly stopped, which seemed like a desirable feature.

If mkfs.ocfs2 has a -F option, I think tunefs.ocfs2 can handle one too.



Regards,
    Lars

-- 
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde




More information about the Ocfs2-tools-devel mailing list