linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM Down After Disk Failure
@ 2006-04-03 12:15 Sebastian Walter
  2006-04-03 13:10 ` Sebastian Walter
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Walter @ 2006-04-03 12:15 UTC (permalink / raw)
  To: linux-lvm

Dear list,

after a power failure we had troubles with a hard drive, it went down
unrecoverably. So I removed the LV's wich had PE's on this disk by
executing, and I got this error:

[root@xxx root]# lvremove /dev/xxx/data5
lvremove -- do you really want to remove "/dev/vghrsc/data5"? [y/n]: y
lvremove -- ERROR "vg_write(): write" storing data of volume group
"vghrsc" on disks

then I got another strange error:

Message from syslogd@xxx at Mon Apr  3 12:14:39 2006 ...
xxx kernel: journal commit I/O error

therefore I decided to reboot the system. After the reboot, I couldn't
manage to get the system up and running again, I got error messages
about vgchange not finding any VG's.

I even ran vgcfgrestore, but it succeeded without giving me a hint about
errors.

vgscan now gives me:

[root@xxx root]# 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 "vghrsc" 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 gives me (I had to remove the scsi disk, before I got some sense
key errors here):

[root@mex root]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sdb1"  is associated to unknown VG "vghrsc"
(run vgscan)
pvscan -- inactive PV "/dev/sdc1"  is associated to unknown VG "vghrsc"
(run vgscan)
pvscan -- inactive PV "/dev/sdd1"  is associated to unknown VG "vghrsc"
(run vgscan)
pvscan -- inactive PV "/dev/sde1"  is associated to unknown VG "vghrsc"
(run vgscan)
pvscan -- inactive PV "/dev/sdf1"  is associated to unknown VG "vghrsc"
(run vgscan)
pvscan -- total: 5 [6.84 TB] / in use: 5 [6.84 TB] / in no VG: 0 [0]

/dev/sdf1 is the scsi drive I removed in the meanwhile and which is not
present anymore.

I would really appreciate any help! Thanks in advance,
Sebastian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] LVM Down After Disk Failure
  2006-04-03 12:15 [linux-lvm] LVM Down After Disk Failure Sebastian Walter
@ 2006-04-03 13:10 ` Sebastian Walter
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Walter @ 2006-04-03 13:10 UTC (permalink / raw)
  To: LVM general discussion and development

Does anybody know how to force lvm to remove a PV or a LV from a PV
(even if the VG is not accessible)? Probably it still is present somehow
in the  vgda and lvm tries to access it.... thanks!


Sebastian Walter wrote:
> Dear list,
>
> after a power failure we had troubles with a hard drive, it went down
> unrecoverably. So I removed the LV's wich had PE's on this disk by
> executing, and I got this error:
>
> [root@xxx root]# lvremove /dev/xxx/data5
> lvremove -- do you really want to remove "/dev/vghrsc/data5"? [y/n]: y
> lvremove -- ERROR "vg_write(): write" storing data of volume group
> "vghrsc" on disks
>
> then I got another strange error:
>
> Message from syslogd@xxx at Mon Apr  3 12:14:39 2006 ...
> xxx kernel: journal commit I/O error
>
> therefore I decided to reboot the system. After the reboot, I couldn't
> manage to get the system up and running again, I got error messages
> about vgchange not finding any VG's.
>
> I even ran vgcfgrestore, but it succeeded without giving me a hint about
> errors.
>
> vgscan now gives me:
>
> [root@xxx root]# 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 "vghrsc" 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 gives me (I had to remove the scsi disk, before I got some sense
> key errors here):
>
> [root@mex root]# pvscan
> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- inactive PV "/dev/sdb1"  is associated to unknown VG "vghrsc"
> (run vgscan)
> pvscan -- inactive PV "/dev/sdc1"  is associated to unknown VG "vghrsc"
> (run vgscan)
> pvscan -- inactive PV "/dev/sdd1"  is associated to unknown VG "vghrsc"
> (run vgscan)
> pvscan -- inactive PV "/dev/sde1"  is associated to unknown VG "vghrsc"
> (run vgscan)
> pvscan -- inactive PV "/dev/sdf1"  is associated to unknown VG "vghrsc"
> (run vgscan)
> pvscan -- total: 5 [6.84 TB] / in use: 5 [6.84 TB] / in no VG: 0 [0]
>
> /dev/sdf1 is the scsi drive I removed in the meanwhile and which is not
> present anymore.
>
> I would really appreciate any help! Thanks in advance,
> Sebastian
>
>
> _______________________________________________
> 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/
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-03 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03 12:15 [linux-lvm] LVM Down After Disk Failure Sebastian Walter
2006-04-03 13:10 ` Sebastian Walter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).