* [linux-lvm] Data loss - vg gone
@ 2001-06-05 19:47 Michael S. Fischer
[not found] ` <20010606010707.N30880@jensbenecke.de>
0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Fischer @ 2001-06-05 19:47 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Hello,
We presently have 10 systems, each of which is configured according to the
specs at the bottom (vgdisplay -v output included). One of the systems had
a common mode failure in which the RAID controller was not present to the
system on reboot; when we discovered this, we rebooted the system. The RAID
controller and its virtual disk came back but the volume did not.
vgscan found no volumes (and vgdisplay reports none), but according to
pvscan the physical volume signature is still there. If I try to recreate
the volume I get the error message that the physical volume already belongs
to the volume group.
Is there any way I can recover the volume? Any help would be sincerely
appreciated.
Thanks,
--Michael
Hardware:
- 2 x PIII processor
- 1GB RAM
- IDE boot disk
- 4 x 75GB IBM IDE drives, attached to a 3Ware Escalade 6410 RAID controller
in RAID 10 (stripe of mirrors) mode
LVM:
--- Volume group ---
VG Name vg0
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 1
Open LV 1
MAX LV Size 255.99 GB
Max PV 256
Cur PV 1
Act PV 1
VG Size 143.17 GB
PE Size 4 MB
Total PE 36652
Alloc PE / Size 30720 / 120 GB
Free PE / Size 5932 / 23.17 GB
VG UUID CQIxou-PFxE-pJbv-bslk-tkjy-BARP-c2toQB
--- Logical volume ---
LV Name /dev/vg0/lv0
VG Name vg0
LV Write Access read/write
LV Status available
LV # 1
# open 1
LV Size 120 GB
Current LE 30720
Allocated LE 30720
Allocation next free
Read ahead sectors 120
Block device 58:0
--- Physical volumes ---
PV Name (#) /dev/scsi/host2/bus0/target0/lun0/part1 (1)
PV Status available / allocatable
Total PE / Free PE 36652 / 5932
--
Michael S. Fischer / michael at auctionwatch.com /
http://www.auctionwatch.com
Systems Engineer, AuctionWatch.com Inc. / Phone: +1 650 808 5842
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [linux-lvm] Data loss - vg gone
@ 2001-06-06 3:44 Michael S. Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Fischer @ 2001-06-06 3:44 UTC (permalink / raw)
To: 'Jens Benecke ',
''linux-lvm@sistina.com' '
Jens,
Actually, I managed to recover the volume by using vgcfgrestore. After I
restored the VGDA the filesystem came right back up.
Many thanks to he LVM team for making sure the metadata is backed up! :-)
--Michael
-----Original Message-----
From: Jens Benecke
To: 'linux-lvm@sistina.com'
Sent: 6/5/01 4:07 PM
Subject: Re: [linux-lvm] Data loss - vg gone
On Tue, Jun 05, 2001 at 12:47:37PM -0700, Michael S. Fischer wrote:
> Hello,
>
> vgscan found no volumes (and vgdisplay reports none), but according to
> pvscan the physical volume signature is still there. If I try to
> recreate the volume I get the error message that the physical volume
> already belongs to the volume group.
Possible solution (worked here):
You need to edit the disk signatures and for each PV, insert all the
_other_ PV signatures in the right place. Go to #lvm on
irc.openprojects.org and bug 'roadrunner', he walked me through this and
it
worked. ;)
--
Jens Benecke No Linux user has a 'Microsoft free system'. 'make
config'
in the kernel configuration was originally written by a
MS
employee.
http://www.hitchhikers.de/ - Die kostenlose Mitfahrzentrale für ganz
Europa
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Data loss - vg gone
[not found] ` <20010606010707.N30880@jensbenecke.de>
@ 2001-06-06 3:44 ` AJ Lewis
2001-06-06 3:54 ` Herman Knief
0 siblings, 1 reply; 4+ messages in thread
From: AJ Lewis @ 2001-06-06 3:44 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1474 bytes --]
On Wed, Jun 06, 2001 at 01:07:07AM +0200, Jens Benecke wrote:
> On Tue, Jun 05, 2001 at 12:47:37PM -0700, Michael S. Fischer wrote:
> > Hello,
> >
> > vgscan found no volumes (and vgdisplay reports none), but according to
> > pvscan the physical volume signature is still there. If I try to
> > recreate the volume I get the error message that the physical volume
> > already belongs to the volume group.
>
> Possible solution (worked here):
>
> You need to edit the disk signatures and for each PV, insert all the
> _other_ PV signatures in the right place. Go to #lvm on
> irc.openprojects.org and bug 'roadrunner', he walked me through this and it
> worked. ;)
Yeah, do that. We should be able to fix you up. I should be on the channel
by 0900 CDT tomorrow (June 6).
Regards,
--
AJ Lewis (aka, roadrunner)
Sistina Software Inc. Voice: 612-638-0500
1313 5th St SE, Suite 111 Fax: 612-638-0500
Minneapolis, MN 55414 E-Mail: lewis@sistina.com
http://www.sistina.com
Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B 52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
(Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)
-----Begin Obligatory Humorous Quote----------------------------------------
Error: Keyboard not attached. Press F1 to continue.
-----End Obligatory Humorous Quote------------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Data loss - vg gone
2001-06-06 3:44 ` AJ Lewis
@ 2001-06-06 3:54 ` Herman Knief
0 siblings, 0 replies; 4+ messages in thread
From: Herman Knief @ 2001-06-06 3:54 UTC (permalink / raw)
To: linux-lvm
Actually, I think vgcfgrestore fixed his problem. :-)
- Herman
AJ Lewis wrote:
> On Wed, Jun 06, 2001 at 01:07:07AM +0200, Jens Benecke wrote:
> > On Tue, Jun 05, 2001 at 12:47:37PM -0700, Michael S. Fischer wrote:
> > > Hello,
> > >
> > > vgscan found no volumes (and vgdisplay reports none), but according to
> > > pvscan the physical volume signature is still there. If I try to
> > > recreate the volume I get the error message that the physical volume
> > > already belongs to the volume group.
> >
> > Possible solution (worked here):
> >
> > You need to edit the disk signatures and for each PV, insert all the
> > _other_ PV signatures in the right place. Go to #lvm on
> > irc.openprojects.org and bug 'roadrunner', he walked me through this and it
> > worked. ;)
>
> Yeah, do that. We should be able to fix you up. I should be on the channel
> by 0900 CDT tomorrow (June 6).
>
> Regards,
> --
> AJ Lewis (aka, roadrunner)
> Sistina Software Inc. Voice: 612-638-0500
> 1313 5th St SE, Suite 111 Fax: 612-638-0500
> Minneapolis, MN 55414 E-Mail: lewis@sistina.com
> http://www.sistina.com
>
> Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B 52A0 941E 1261 0029 2648
> Get my key at: http://www.sistina.com/~lewis/gpgkey
> (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)
>
> -----Begin Obligatory Humorous Quote----------------------------------------
> Error: Keyboard not attached. Press F1 to continue.
> -----End Obligatory Humorous Quote------------------------------------------
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-06 3:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 19:47 [linux-lvm] Data loss - vg gone Michael S. Fischer
[not found] ` <20010606010707.N30880@jensbenecke.de>
2001-06-06 3:44 ` AJ Lewis
2001-06-06 3:54 ` Herman Knief
-- strict thread matches above, loose matches on Subject: below --
2001-06-06 3:44 Michael S. Fischer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.