[linux-lvm] booting w/o initrd

Ulf Bartelt ulf at twc.de
Mon Dec 27 08:18:42 UTC 1999


"Michael Ju. Tokarev" wrote:
> []
> > And even if it is not needed today, somewhen LVM might be changed in a
> > way that stopping it cleanly on shutdown will become a must.
> []
> What is about power failure for example?  Or kernel panic?  Or hardware error?
> Does it mean that there will be no ability to bring lvm up again in such a
> cases!?  But clean filesystem umount is a must, but there is a fsck here
> that is started (automatically) if that "must" didn't satisfied....

For now, cleanly deactivating LVM before shutdown is not neccessary.
Otherwise bringing up LVM from an initial ram disk and switching the
root would bring the systems in trouble as there are no actions like
switching back to a ram disk on shutdown, unmount the "real" root, stop
LVM and stop the system...

Filesystems must be unmounted before shutdown. But if something crashes,
a fsck inspects the filesystem on the next system startup. I expect LVM
to behave similar if bringing LVM down before shutdown will be required.



More information about the linux-lvm mailing list