From: Sebastian Walter <swalter@zedat.fu-berlin.de>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM Down After Disk Failure
Date: Mon, 03 Apr 2006 15:10:41 +0200 [thread overview]
Message-ID: <44311ED1.9020800@zedat.fu-berlin.de> (raw)
In-Reply-To: <443111EF.5040103@zedat.fu-berlin.de>
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/
>
prev parent reply other threads:[~2006-04-03 13:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-03 12:15 [linux-lvm] LVM Down After Disk Failure Sebastian Walter
2006-04-03 13:10 ` Sebastian Walter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44311ED1.9020800@zedat.fu-berlin.de \
--to=swalter@zedat.fu-berlin.de \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.