[linux-lvm] 0.8 to 0.9 problems, odd vg corruption
Steven Lembark
lembark at wrkhors.com
Sat Dec 30 21:11:06 UTC 2000
> After about half an hour of fiddling with the LVM tools and reading the
> FAQ, I found out that I could access the LV if and ONLY IF I did EXACTLY
> this:
>
> vgcfgrestore -n data /dev/hd[ac]1
> pvscan
> vgchange -a y
> mount /dev/data/archive
>
> Any call to vgscan brings me back to the beginning ("unknown VG").
>
> The problem however is this: Since then, even when booting cleanly vgscan
> doesn't detect any VGs any more. Before, it worked. I have compiled LVM
> into the kernel (no module) and attached the Debian startup script which I
> have modified slightly to accommodate for the no-module situation.
try:
vgexport /dev/vgname;
vgimport /dev/vgname /devices/in/the/vg;
should save you the problems.
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
lembark at wrkhors.com 800-762-1582
More information about the linux-lvm
mailing list