#3115: mountfs bootscript generates an error when stopping if lvm is used
-----------------------------+----------------------------------------------
Reporter: pierre.labastie | Owner: lfs-book@…
Type: defect | Status: new
Priority: low | Milestone: 7.2
Component: Book | Version: SVN
Severity: minor | Keywords:
-----------------------------+----------------------------------------------
When halting the system if lvm is used for the root filesystem, the
mountfs script generates:
{{{
Can't deactivate volume group "vglfs" with 1 open logical volume(s)
}}}
and then the generic failure error:
{{{
You should not be reading this error message
[...]
Press Enter to continue...
}}}
The reason is that if the root filesystem is on lvm, it has not been
unmounted yet, but the command 'vgchange -an' wants all the logical
volumes to be unmounted.
I have seen that error on Debian for years too, until they simply
suppressed the 'vgchange -an' instruction when halting the system.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3115>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page