Opened 12 years ago
Closed 12 years ago
#3115 closed defect (fixed)
mountfs bootscript generates an error when stopping if lvm is used
Reported by: | Pierre Labastie | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 7.2 |
Component: | Book | Version: | SVN |
Severity: | minor | Keywords: | |
Cc: |
Description
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.
Note:
See TracTickets
for help on using tickets.
I've seen the problem too on occasion, but didn't chase it down. I'll remove that line. The only things after it is to bring down the lo interface and and either halt or reboot.