On Fri, Oct 01, 2010 at 04:56:02PM +0100, Mark Johnson wrote: > Hi Everyone, > I've got a system with a USB drive connected as /dev/sda, with a single > partition at /dev/sda1. I've set up /dev/sda1 as an LVM Physical Volume, and > added it to a volume group (/dev/vg0) with no other PVs. I've then created 3 > Logical Volumes, /dev/vg0/home /dev/vg0/usr and /dev/vg0/var. When I created > them, they showed up fine, mounted fine, and all seemed well. However, after > a > reboot, the system can't find and mount the LVs. /dev/sda1 is showing up in > $ ls /dev > and the physical volume is still set up, but /dev/vg0 doesn't exists and I > get > the following output from $ sudo /sbin/lvdisplay:
> The "LV Status" lines being of particular worry. Try: # vgscan # vgchange -a y The vgscan may not be necessary. You may also be missing the necessary rules that generate /dev/vg0/* devices -- look in /dev/mapper/ instead (because those are guaranteed to exist). Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I spent most of my money on drink, women and fast cars. The --- rest I wasted. -- James Hunt
signature.asc
Description: Digital signature
-- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------