[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] 0.8 to 0.9 problems, odd vg corruption



> 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 wrkhors com                                   800-762-1582


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]