Gjorde følgende: kjørte vgcfgrestore -f /etc/lvm/backup/storage storage. Da kommer følgende opp:
cthulhu:~# pvdisplay
--- Physical volume ---
PV Name /dev/md0
VG Name storage
PV Size 1.82 TB / not usable 2.25 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 476933
Free PE 0
Allocated PE 476933
PV UUID k161LA-yZ9e-DNOA-TZ14-hjZS-gWP3-aKRncT
cthulhu:~# lvdisplay
--- Logical volume ---
LV Name /dev/storage/lv1
VG Name storage
LV UUID D62WFY-KeKr-OIoD-aKzp-Yf0O-PceC-kGI6dk
LV Write Access read/write
LV Status NOT available
LV Size 1.82 TB
Current LE 476933
Segments 1
Allocation inherit
Read ahead sectors auto
Men fdisk -l ser fremdeles slik ut:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004ece8
Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005ff43
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 29164 234259798+ 83 Linux
/dev/sdb2 29165 30401 9936202+ 5 Extended
/dev/sdb5 29165 30401 9936171 82 Linux swap / Solaris
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00069a89
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00072a15
Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/md0: 2000.4 GB, 2000404348928 bytes
2 heads, 4 sectors/track, 488379968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Prøvde en reboot, no go.
cthulhu:~# pvdisplay
--- Physical volume ---
PV Name /dev/md0
VG Name storage
PV Size 1.82 TB / not usable 2.25 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 476933
Free PE 0
Allocated PE 476933
PV UUID k161LA-yZ9e-DNOA-TZ14-hjZS-gWP3-aKRncT
cthulhu:~# lvdisplay
--- Logical volume ---
LV Name /dev/storage/lv1
VG Name storage
LV UUID D62WFY-KeKr-OIoD-aKzp-Yf0O-PceC-kGI6dk
LV Write Access read/write
LV Status NOT available
LV Size 1.82 TB
Current LE 476933
Segments 1
Allocation inherit
Read ahead sectors auto
Men fdisk -l ser fremdeles slik ut:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004ece8
Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005ff43
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 29164 234259798+ 83 Linux
/dev/sdb2 29165 30401 9936202+ 5 Extended
/dev/sdb5 29165 30401 9936171 82 Linux swap / Solaris
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00069a89
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00072a15
Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 fd Linux raid autodetect
Disk /dev/md0: 2000.4 GB, 2000404348928 bytes
2 heads, 4 sectors/track, 488379968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Prøvde en reboot, no go.