All of lore.kernel.org
 help / color / mirror / Atom feed
* Unmount btrfs when stopping OSD's
@ 2012-03-27 14:20 Wido den Hollander
  2012-03-27 18:50 ` Tommi Virtanen
  0 siblings, 1 reply; 4+ messages in thread
From: Wido den Hollander @ 2012-03-27 14:20 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

It's something I noticed some time ago, but never really paid attention to.

When we start an OSD we automatically mount the btrfs filesystem if 
"btrfs devs" is set, but we do not unmount when we stop the OSD.

I see the init script is prepared for this:

dobtrfsumount=0
..
     --btrfsumount)
	    dobtrfsumount=1
..
if [ $dobtrfsumount -eq 1 ] && [ -n "$btrfs_devs" ]; then

Why would this be set to 0 by default? Any reason?

I like my daemons/init scripts to clean up their 'mess' when they stop.

I'd vote for setting this to 1 by default.

Wido

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-27 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-27 14:20 Unmount btrfs when stopping OSD's Wido den Hollander
2012-03-27 18:50 ` Tommi Virtanen
2012-03-27 19:09   ` Wido den Hollander
2012-03-27 19:25     ` Tommi Virtanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.