Weblog entry #4 for gpall
My root fs is on LVM2 and each time I shut down the computer I get:
Can't deactivate volume group "vg-main" with 1 open logical volume(s)
It seems it is annoyed by the fact that lvm must be deactivated, but root fs has not been unmounted...
Any ideas?
Comments on this Entry
[ Send Message | View dkg's Scratchpad | View Weblogs ]
I haven't seen any detrimental effects from it, though i'd be curious to learn if anyone else has a way around this.
If deeper minds than mine think that it's OK to leave the last volume group active (providing that it backs the root filesystem), it might be worthwhile to consider patching the lvm2 shutdown scripts to not try to deactivate the volume used by the root filesystem. This would help avoid the spurious error message while not hiding real error messages that might come up if some other volume group can't be deactivated.
[ Parent | Reply to this comment ]
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
[ Parent | Reply to this comment ]
I'm told you can break into a ICBM silo compound using rabbits to generate false positives in the middle of the night. Eventually the guards get so annoyed with the alarms going off that they disable them...
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
--
"It's Not Magic, It's Work"
Adam
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]