* [PATCH] Remove LV if zeroing was requested but failed
@ 2007-11-09 16:41 Jun'ichi Nomura
0 siblings, 0 replies; only message in thread
From: Jun'ichi Nomura @ 2007-11-09 16:41 UTC (permalink / raw)
To: lvm-devel
If zeroing of LV was requested for lvcreate but failed,
it seems nicer if the lvcreate fails and the (incomplete) LV is removed.
Attached patch changes lvcreate to abort in the following cases:
- if zeroing was requested but activation was disabled
- if zeroing was requested but activation failed,
- if zeroing was requested but zeroing failed
A test script is also attached.
Thanks,
--
Jun'ichi Nomura, NEC Corporation of America
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-align-result-on-zerofill-failure.patch
Type: text/x-patch
Size: 1366 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071109/b45ae157/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-lvcreate.sh
Type: application/x-sh
Size: 1766 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20071109/b45ae157/attachment.sh>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-09 16:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 16:41 [PATCH] Remove LV if zeroing was requested but failed Jun'ichi Nomura
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.