[linux-lvm] Follow-up 2: Help: lvm 0.9.1_beta3 oops (can't get my data)

Joe Harvell harvell at nortelnetworks.com
Mon Jan 29 02:18:24 UTC 2001


Looks like it didn't work.


[root at btexi0c1 perfect]# vgcfgrestore -n w0 /dev/hda8
vgcfgrestore -- VGDA for "w0" successfully restored to physical volume "/dev/hda8"

[root at btexi0c1 perfect]# vgcfgrestore -n w0 /dev/hdb3
vgcfgrestore -- VGDA for "w0" successfully restored to physical volume "/dev/hdb3"

[root at btexi0c1 perfect]# vgchange -a y
Segmentation fault
[root at btexi0c1 perfect]# tail -30 /var/log/messages
JJan 28 20:15:20 btexi0c1 kernel: LVM version 0.9.1_beta3  by Heinz Mauelshagen  (25/01/2001)
Jan 28 20:15:20 btexi0c1 kernel: lvm -- Module successfully initialized
Jan 28 20:15:35 btexi0c1 kernel: Unable to handle kernel NULL pointer dereference at virtual address 000001b0
Jan 28 20:15:35 btexi0c1 kernel:  printing eip:
Jan 28 20:15:35 btexi0c1 kernel: d88f8e71
Jan 28 20:15:35 btexi0c1 kernel: *pde = 00000000
Jan 28 20:15:35 btexi0c1 kernel: Oops: 0000
Jan 28 20:15:35 btexi0c1 kernel: CPU:    0
Jan 28 20:15:35 btexi0c1 kernel: EIP:    0010:[<d88f8e71>]
Jan 28 20:15:35 btexi0c1 kernel: EFLAGS: 00210246
Jan 28 20:15:35 btexi0c1 kernel: eax: 00000000   ebx: 00000021   ecx: 00000100   edx: 00000100
Jan 28 20:15:35 btexi0c1 kernel: esi: d0dc2000   edi: 00000300   ebp: 00000000   esp: ccaf9b5c
Jan 28 20:15:35 btexi0c1 kernel: ds: 0018   es: 0018   ss: 0018
Jan 28 20:15:35 btexi0c1 kernel: Process vgchange (pid: 31064, stackpage=ccaf9000)
Jan 28 20:15:35 btexi0c1 kernel: Stack: cd609000 d88f90cb d0dc2000 0000ffff 00000000 00000400 ce476200 00000330
Jan 28 20:15:35 btexi0c1 kernel:        00000000 00021c36 d88f77c4 d0dc2000 ce476200 d0dc2000 40239008 00000001
Jan 28 20:15:35 btexi0c1 kernel:        00000100 00000005 ccaf9bdc 00000000 ccaf9d84 d0dc2000 d88f6bda 00000000
Jan 28 20:15:35 btexi0c1 kernel: Call Trace: [<d88f90cb>] [<d88f77c4>] [<d88f6bda>] [af_packet:__insmod_af_packet_O/lib/modules/2.4.0/kernel/net/packet/af+0/96] [<d88f4707>] [do_anonymous_page+50/128] [iget4+194/208]
Jan 28 20:15:35 btexi0c1 kernel:        [update_process_times+32/128] [af_packet:__insmod_af_packet_O/lib/modules/2.4.0/kernel/net/packet/af+-137280/96] [af_packet:__insmod_af_packet_O/lib/modules/2.4.0/kernel/net/packet/af+-137132/96] [timer_bh+531/592] [cached_lookup+16/80] [path_walk+1906/2144] [ret_from_intr+0/32] [chrdev_open+54/64]
Jan 28 20:15:35 btexi0c1 kernel:        [dentry_open+192/336] [filp_open+77/96] [getname+91/160] [sys_ioctl+375/400] [system_call+51/56]
Jan 28 20:15:35 btexi0c1 kernel:
Jan 28 20:15:35 btexi0c1 kernel: Code: 8b 80 b0 01 00 00 5e c3 8d b4 26 00 00 00 00 55 31 d2 57 56


lewis at sistina.com wrote:

> On Sun, Jan 28, 2001 at 12:56:39PM -0600, Joe Harvell wrote:
> > When I do a 'vgdisplay -vD w0', I don't run into any problems.  Does this rule out the possibility of a vgcfgrestore helping?
> >
> > I looked at the man pages for vcfgrestore, but I don't know which destination I should specify.  Is it /dev/w0, or is it 'dev/hda8' and '/dev/hdb3'?
>
> I believe you want to do a 'vgcfgrestore -nw0 /dev/hda8; vgcfgrestore -nw0
> /dev/hdb3'.  Let me know if that fixes things.  And remember, do *not* do a
> vgscan right after your vgcfgrestore because it will revert to the previous
> state.  Simply run the vgcfgrestore command, and then try the 'vgchange -ay'
> to activate the volume group.
>
> Let me know if that fixes things.
>
> Regards,
> --
> AJ Lewis
> Sistina Software Inc.                  Voice:  612-379-3951
> 1313 5th St SE, Suite 111              Fax:    612-379-3952
> Minneapolis, MN 55414                  E-Mail: lewis at 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----------------------------------------
> Programming graphics in X is like finding sqrt(pi) using Roman numerals.
> -----End Obligatory Humorous Quote------------------------------------------
>
>                                                   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature




More information about the linux-lvm mailing list