Hi everyone,<br>
<br>
<br>
I have been running an Edgy fileserver for about 6 months now. When I
came home from work last week I found my files all inaccessible. After
investigation I found issues with my PV. I would like to recover my
data and replace the drives if possible any help is greatly appreciated!<br>
<br>
I have one system drive and 6 storage drive, all raid1.  The storage layout is<br>
2x160GB /dev/md0<br>
2x250GB /dev/md1<br>
2x250GB /dev/md2<br>
After investigation I found problems with my lvm.  pvdisplay showed: <br>
Couldn't find device with uuid 'xjWU5M-G3WB-tZjB-Tyrk-Q7rN-Yide-1FEVh3'.<br>
<br>I ran the command:<br>
sudo pvcreate --uuid "xjWU5M-G3WB-tZjB-Tyrk-Q7rN-Yide-1FEVh3" --restorefile /etc/lvm/archive/fileserver_00006.vg /dev/md2<br>
<br>
This seemed to recover /dev/md2.  I re-ran pvdisplay and got<br>
Couldn't find device with uuid '1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo'.<br>
<br>
I figured I could run the same command on md1,<br>
sudo pvcreate --uuid "1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo" --restorefile /etc/lvm/archive/fileserver_00006.vg /dev/md1<br>
<br>
and got the message:<br>
Couldn't find device with uuid '1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo'.<br>
  Device /dev/md1 not found (or ignored by filtering).<br>
<br>After re-executing the above command with -vvv at the bottom of the output I get the following message: <br>#device/dev-io.c:439         Opened /dev/md1 RO<br>#device/dev-io.c:264       /dev/md1: size is 0 sectors<br>
#filters/filter.c:106         /dev/md1: Skipping: Too small to hold a PV<br>#device/dev-io.c:485         Closed /dev/md1<br>#pvcreate.c:81   Device /dev/md1 not found (or ignored by filtering).<br><br>
Here is my pvdisplay.  Again, any help is Greatly appreciated<br>
***START***<br>
<br>
  Couldn't find device with uuid '1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo'.<br>
  Couldn't find device with uuid '1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo'.<br>
  --- Physical volume ---<br>
  PV Name               /dev/md0<br>
  VG Name               fileserver<br>
  PV Size               149.05 GB / not usable 0   <br>
  Allocatable           yes <br>
  PE Size (KByte)       4096<br>
  Total PE              38156<br>
  Free PE               9996<br>
  Allocated PE          28160<br>
  PV UUID               pZV1Ff-Y7fu-S8m1-tVFn-fOMJ-VRls-fLFEov<br>
   <br>
  --- Physical volume ---<br>
  PV Name               unknown device<br>
  VG Name               fileserver<br>
  PV Size               232.88 GB / not usable 0   <br>
  Allocatable           yes (but full)<br>
  PE Size (KByte)       4096<br>
  Total PE              59618<br>
  Free PE               0<br>
  Allocated PE          59618<br>
  PV UUID               1ATm8s-oxKG-nz0p-z1QA-a0s4-od9T-AMZRoo<br>
   <br>
  --- Physical volume ---<br>
  PV Name               /dev/md2<br>
  VG Name               fileserver<br>
  PV Size               232.88 GB / not usable 0   <br>
  Allocatable           yes <br>
  PE Size (KByte)       4096<br>
  Total PE              59618<br>
  Free PE               9156<br>
  Allocated PE          50462<br>
  PV UUID               xjWU5M-G3WB-tZjB-Tyrk-Q7rN-Yide-1FEVh3