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

Re: [Fwd: [linux-lvm] Problems importing volume group]



Chris Wells wrote:

>After exporting and before replacing the system drive and re-installing,
>Redhat.. my pvscan output was the following:

>pvscan -- reading all physical volumes (this may take a while...)
>pvscan -- inactive PV "/dev/hde"  is in EXPORTED VG "kbvg" [233.72 GB / 0
>free]
>pvscan -- inactive PV "/dev/hdf"  is in EXPORTED VG "kbvg" [167.62 GB / 32
>MB fr
>ee]
>pvscan -- total: 2 [401.44 GB] / in use: 2 [401.44 GB] / in no VG: 0 [0]

>Now of course I get:

>pvscan
>pvscan -- reading all physical volumes (this may take a while...)
>pvscan -- inactive PV "/dev/hde"  is in EXPORTED VG "kbvg" [0 / 0 free]
>pvscan -- inactive PV "/dev/hdf"  is in EXPORTED VG "kbvg" [0 / 0 free]
>pvscan -- total: 2 [37.46 MB] / in use: 2 [37.46 MB] / in no VG: 0 [0]

>This is VERY frightening :)  Someone please tell me there is a way to get
>to my data.. Any help appreciated..

The data should still be on extents of the physical volumes.  The
simplist course of action is reconstructing the LVM metadata.

In the worst case, the data should be recoverable from the physical
extents by using dd to copy them in the proper order to the logical
volume of another volume group or to a raw partition of another disk.

Sincerely,

Ken Fuchs <kfuchs winternet com>



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