* [linux-lvm] vgscan cant find my vg
@ 2002-10-04 4:30 Rene Schumann
2002-10-04 5:00 ` Andreas Baier
0 siblings, 1 reply; 3+ messages in thread
From: Rene Schumann @ 2002-10-04 4:30 UTC (permalink / raw)
To: linux-lvm; +Cc: rene
Hello!
I have a volumegroup with name vg01 (sda1,sda2) since long time wich hold all
my userdata.
Since yesterday my OS cant find this vg anymore.
I remember the last thing was i did add hda9 to vg01.
I did this while installing Mandrake9.0 for testing.
I couldnt find a error from LVM but vgscan fails to find my vg.
Laterly i created a second Volumegroup with name vg (hda9) but vg01 still not
working.
I also did a vgcfgrestore of vg01 from a 2 weeks old backup but it changes
nothing.
It would be hard for me if i loose my data.
Can someone please help me?
[root@desktop rene]# pvdata /dev/sda1 | head -n 45
--- Physical volume ---
PV Name /dev/sda1
VG Name vg01
PV Size 34.18 GB / NOT usable 4.96 MB [LVM: 158.00 KB]
PV# 2
PV Status available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 4096
Total PE 8749
Free PE 0
Allocated PE 8749
PV UUID qb35Q0-7Jd6-4c6X-3hgZ-VSGU-B9cd-uPL3VO
--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 255
Cur LV 5
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 2
Act PV 2
VG Size 74.52 GB
PE Size 4.00 MB
Total PE 19078
Alloc PE / Size 17864 / 69.78 GB
Free PE / Size 1214 / 4.74 GB
VG UUID V4Gc4e-80dY-HT04-lZ03-QfI1-X45j-QwSRmn
--- List of logical volumes ---
pvdata -- logical volume "/dev/vg01/usr" at offset 0
pvdata -- logical volume "/dev/vg01/swap" at offset 1
pvdata -- logical volume "/dev/vg01/share" at offset 2
pvdata -- logical volume "/dev/vg01/home" at offset 3
pvdata -- logical volume "/dev/vg01/var" at offset 4
pvdata -- logical volume struct at offset 5 is empty
pvdata -- logical volume struct at offset 6 is empty
pvdata -- logical volume struct at offset 7 is empty
pvdata -- logical volume struct at offset 8 is empty
pvdata -- logical volume struct at offset 9 is empty
[root@desktop rene]# pvdata /dev/sda2 | head -n 45
--- Physical volume ---
PV Name /dev/sda2
VG Name vg01
PV Size 40.35 GB / NOT usable 7.45 MB [LVM: 164.00 KB]
PV# 1
PV Status available
Allocatable yes
Cur LV 5
PE Size (KByte) 4096
Total PE 10329
Free PE 1214
Allocated PE 9115
PV UUID lRD1KV-Irwg-2wtl-OwDG-xDv9-WBP0-hhLYjb
--- Volume group ---
VG Name
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 255
Cur LV 5
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 2
Act PV 2
VG Size 74.52 GB
PE Size 4.00 MB
Total PE 19078
Alloc PE / Size 17864 / 69.78 GB
Free PE / Size 1214 / 4.74 GB
VG UUID V4Gc4e-80dY-HT04-lZ03-QfI1-X45j-QwSRmn
--- List of logical volumes ---
pvdata -- logical volume "/dev/vg01/usr" at offset 0
pvdata -- logical volume "/dev/vg01/swap" at offset 1
pvdata -- logical volume "/dev/vg01/share" at offset 2
pvdata -- logical volume "/dev/vg01/home" at offset 3
pvdata -- logical volume "/dev/vg01/var" at offset 4
pvdata -- logical volume struct at offset 5 is empty
pvdata -- logical volume struct at offset 6 is empty
pvdata -- logical volume struct at offset 7 is empty
pvdata -- logical volume struct at offset 8 is empty
pvdata -- logical volume struct at offset 9 is empty
[root@desktop rene]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/scsi/host0/bus0/target0/lun0/part1" is associated
to an unknown VG (run vgscan)
pvscan -- inactive PV "/dev/scsi/host0/bus0/target0/lun0/part2" is associated
to an unknown VG (run vgscan)
pvscan -- ACTIVE PV "/dev/ide/host0/bus0/target0/lun0/part9" of VG "vg"
[28.51 GB / 28.51 GB free]
pvscan -- total: 3 [103.05 GB] / in use: 3 [103.05 GB] / in no VG: 0 [0]
[root@desktop rene]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "vg"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] vgscan cant find my vg
2002-10-04 4:30 [linux-lvm] vgscan cant find my vg Rene Schumann
@ 2002-10-04 5:00 ` Andreas Baier
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Baier @ 2002-10-04 5:00 UTC (permalink / raw)
To: linux-lvm
Hi Rene,
I had such a situation some time ago, too.
I had 2 scsi disks and a scsi-only kernel, with ide just as a loadable
module. I added an ide disk to the running vg and all was ok until I
rebooted. When booting up, my system lacked the ide-module so the hole
vg was not recognized by the kernel.
Then I had two possibilities: compiling a new kernel with the ide-disk
compiled into, or building a new initrd with the ide-module. Now the
system is up perfectly well.
Rene Schumann wrote:
> Hello!
>
> I have a volumegroup with name vg01 (sda1,sda2) since long time wich hold all
> my userdata.
> Since yesterday my OS cant find this vg anymore.
> I remember the last thing was i did add hda9 to vg01.
> I did this while installing Mandrake9.0 for testing.
> I couldnt find a error from LVM but vgscan fails to find my vg.
> Laterly i created a second Volumegroup with name vg (hda9) but vg01 still not
> working.
Best regards
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* [linux-lvm] vgscan cant find my vg
@ 2002-10-06 12:54 Rene Schumann
0 siblings, 0 replies; 3+ messages in thread
From: Rene Schumann @ 2002-10-06 12:54 UTC (permalink / raw)
To: linux-lvm
Hello!
Thanks for your help.
A missing Modul is not my problem.
I do not have a scsi only Kernel and both, Mandrake inst. kernel and my normal
Kernel are standard Mandrake Kernels with all Moduls.
Vgscan still fails to find my vg01
Can someone please tell me how i can safe my data?
thx
--------------------------------
Hi Rene,
I had such a situation some time ago, too.
I had 2 scsi disks and a scsi-only kernel, with ide just as a loadable
module. I added an ide disk to the running vg and all was ok until I
rebooted. When booting up, my system lacked the ide-module so the hole
vg was not recognized by the kernel.
Then I had two possibilities: compiling a new kernel with the ide-disk
compiled into, or building a new initrd with the ide-module. Now the
system is up perfectly well.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-06 12:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-04 4:30 [linux-lvm] vgscan cant find my vg Rene Schumann
2002-10-04 5:00 ` Andreas Baier
-- strict thread matches above, loose matches on Subject: below --
2002-10-06 12:54 Rene Schumann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox