[linux-lvm] Restore LVM after drive error
LoMp0101 at gmx.net
Sat Jul 7 22:15:35 UTC 2007
thanks for your replay. I have noticed that in your case the "old" disk has faild, but in my case the new disk faild. That means that the disks of the old LVM are all woring ! No bad Blocks or so. But SMART told me that one device will fail in future. So i put that bad disk in (i testet it befor - it showed no error).
My first atempt to get everything back working was to remove the device, throw it out of my hw-array config and boot. Well,i think pvmode tries to access this device , but it is no longer availible !
I have another disk that is bigger than the drive that faild. Does pvmove worke again if i put that drive in its place and start pvmove again ? Perhaps i have to mark the partition on the disk as lvm bevore, but is there a chance that pvmove just continues ? By the way how do i tell pvmove to continue ?
-------- Original-Nachricht --------
Datum: Sat, 07 Jul 2007 13:12:16 -0600
Von: Jim Schatzman <james.schatzman at futurelabusa.com>
An: LVM general discussion and development <linux-lvm at redhat.com>
Betreff: Re: [linux-lvm] Restore LVM after drive error
> Another note:
> Re: Using dd to image a failing hard drive. Ryan Nelson in an earlier
> posting explained how to get your VG back online:
> "vgcfgbackup, edit the backup, edit the ids in the logical_volumes
> sections, check your work carefully, and vgcfgrestore?"
> This will allow you to substitute the new id for the old and LVM should
> then be good to go. Presumably, you will have lost some data, so I would
> recommend mounting the FS readonly and copying files elsewhere. If you don't
> care what may happen, you could mount RW, run fsck and repair the filesystem.
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the linux-lvm