[linux-lvm] vgscan question

Andreas Dilger adilger at turbolinux.com
Tue Nov 28 00:45:31 UTC 2000


Shane writes:
> I have three ide disks on my machine, hda, hdb, hdd. I
> am using LVM 0.8 on hdb and hdd, (actually on partitions on
> those disks).
> If I remove hda and hdc(cdrom) from the machine will vgscan
> still find all my volume groups on the remaining disks
> that are now hda and hdc?

It _should_ work, but why not simply unplug the drives, reboot, and
see what happens when you run vgscan again...

> If not what is the correct procedure for this type of thing?

Failing that, you should be able to vgexport the volume group, and vgimport
it again, unless it is your root partition.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert



More information about the linux-lvm mailing list