

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
4 messages in com.redhat.linux-lvm[linux-lvm] recreate metadata of an P...| From | Sent On | Attachments |
|---|---|---|
| Malte Woelky | Jan 22, 2004 8:52 am | .txt, .conf, .Other |
| Patrick Caulfield | Jan 22, 2004 9:09 am | |
| Malte Woelky | Jan 22, 2004 11:08 am | |
| Patrick Caulfield | Jan 22, 2004 11:19 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [linux-lvm] recreate metadata of an PV possible if vda-backup present? | Actions... |
|---|---|---|
| From: | Malte Woelky (Malt...@gmx.de) | |
| Date: | Jan 22, 2004 8:52:40 am | |
| List: | com.redhat.linux-lvm | |
| Attachments: | ![]() vg01.conf - 446k ![]() lvmtab. - 0k | |
Hallo,
I had an VG called 'vg01' which contained the only PV /dev/hdc
My problem happened during a system upgrade, where I could have removed the VG from the system or something else happened...
I do have an VDA backup /root/lvmconf/vg01.conf (attatched to this mail)
Is ist possible to recrate or restore the PV metadata? I believe that the data stored on this PV may be still there ...I hope so.
I searched the last two months for an sollution, but found nothing using google, diverse mailing list archives, heise-forum, etc ...
does someone on this list have any tip?
I would be very, very happy if someone could post some hints to try...
Yours Malte
----
pvscan & lvmdiskscan don't recognise either the PV nor the VG 'vg01':
------------------------------------------------ coldfusion:~ # pvscan pvscan -- reading all physical volumes (this may take a while...) pvscan -- ACTIVE PV "/dev/sda2" of VG "vgraid5" [447.09 GB / 428.59 GB free] pvscan -- ACTIVE PV "/dev/sdb" of VG "vg05" [76.69 GB / 0 free] pvscan -- ACTIVE PV "/dev/hda2" of VG "vg00" [2.21 GB / 0 free] pvscan -- ACTIVE PV "/dev/hda4" of VG "vg00" [13.92 GB / 564 MB free] pvscan -- ACTIVE PV "/dev/hdb1" of VG "vg04" [57.27 GB / 0 free] pvscan -- total: 5 [597.19 GB] / in use: 5 [597.19 GB] / in no VG: 0 [0]
------------------------------------------------
------------------------------------------------
coldfusion:~/coldfusion # lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/sda1 [ 23.50 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/sda2 [ 447.09 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/sdb [ 76.69 GB] USED LVM whole disk
lvmdiskscan -- /dev/hdc [ 37.27 GB] free whole disk
lvmdiskscan -- /dev/hdd [ 651.19 MB] free whole disk
lvmdiskscan -- /dev/hda1 [ 70.57 MB] Primary LINUX native partition
[0x83]
lvmdiskscan -- /dev/hda2 [ 2.22 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hda4 [ 13.92 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hdb1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- 6 disks
lvmdiskscan -- 3 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 6 partitions
lvmdiskscan -- 4 LVM physical volume partitions
------------------------------------------------
/dev/hdc shows 'free whole disk', but was in the past 'USED LVM whole disk'
pvdata shows this:
------------------------------------------------
coldfusion:~/coldfusion/lvmconf # pvdata -av /dev/hdc
--- Physical volume ---
PV Name /dev/hdc
VG Name Zf^rRfžUª
PV Size 37.25 GB [78118912 secs] / NOT usable 2.06 GB [LVM: 87.82
MB]
PV# 0
PV Status NOT available
Allocatable NO
Cur LV 1
PE Size (KByte) 4096
Total PE 9541
Free PE 0
Allocated PE 9541
PV UUID ²K-f¿Ÿ-
pvdata -- can't seek to volume group struct physical volume "/dev/hdc"
------------------------------------------------
I attached 'vgimport -fdv -v vg01 /dev/hdc' - maybe this clould help?
which other info are usefull ?
could someone give me a hint, what to do?
I'm running Suse-Linux 8.2 LVM-Verison: Logical Volume Manager 1.0.6(mp-v6) Heinz Mauelshagen, Sistina Software 25/10/2002 (IOP 10)
-- Best regards, Malte mailto:malt...@gmx.de
_________________ Malte Woelky -=[SkyNet]=- Unix/DBs/Networks/LDAP/Active Directory Cert : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003 voice : 0209/977 37 03 : 0174/95 32 105 eMail : Malt...@gmx.de WWW : http://www.woelky.net/ _________ ICQ# 12 767 43 99 _________








.txt, .conf, .Other