[sheepdog] [PATCH] new option -i to initialize storage directory

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jul 23 02:38:14 CEST 2012


At Fri, 20 Jul 2012 10:29:29 +0000,
Dietmar Maurer wrote:
> 
> > This looks strange to me. It acts like we need mkfs the directory before run
> > the sheep, where as we actually make nothing to it, just create a file lock.
> > This extra step might solve some problems (which could be solved by other
> > means), but it will cause great inconvenience to all
> > users: we have to run sheep with sheep -i for the first time, and for following
> > restarting, we don't need it.
> 
> BTW, to prevent the problem, you (or chris) suggested to use mklabel to label 
> the whole file system. For me that is much more 'inconvenient' (and is also an extra step).

There seems to be similar problems while running sheepdog because some
filesystems (e.g. XFS) unmount the device when disk error happens.

How about making the mount point unwritable to sheeps?  It looks
simpler to me.

Thanks,

Kazutaka



More information about the sheepdog mailing list