It never rains...

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

 




Hi All,

Had a bit a disaster, lost 1 disk from a 3 disk VG and the root partition! All  on fully patched RH 9 system.
I realise that I need to attach the 2 remaining PV to a LV and VG but if I do the usual vgcreate, lvcreate & pvcreate I'll end up with two dataless disks.
I luckly do have backups of some of the more important data but there not a recenct as I'd like and don't contain all of the data or the root partition.

Outputs from:

vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of volume group "datavg" from physical volume(s)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group

pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sda1"  is associated to unknown VG "datavg" (run vgscan)
pvscan -- inactive PV "/dev/hdc1"  is associated to unknown VG "datavg" (run vgscan)
pvscan -- total: 2 [45.75 GB] / in use: 2 [45.75 GB] / in no VG: 0 [0]

pvdisplay /dev/hdc1

--- Physical volume ---
PV Name               /dev/hdc1
VG Name               datavg
PV Size               37.28 GB [78172227 secs] / NOT usable 4.19 MB [LVM: 165 KB]
PV#                   2
PV Status             available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       4096
Total PE              9541
Free PE               0
Allocated PE          9541
PV UUID               vozLHH-585D-SSjH-XM9b-A8g2-888k-5tZWI0

The two remaining disks are /dev/hdc1 & /dev/sda1

Thanks in advance

Regards,
Chris.

-------------------
Chris Laycock
IT Specialist
IBM Global Services (IDO)

LITS, Stevenage
Mail point: K3 STEV UK
Email: LaycockC@uk.ibm.com
Tel : (01438) 76-9460  (internal: 44-9460)

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux