From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4AJxJJU016644 for ; Thu, 10 May 2007 15:59:19 -0400 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l4AJxHQD014161 for ; Thu, 10 May 2007 15:59:18 -0400 Received: by wx-out-0506.google.com with SMTP id s11so655191wxc for ; Thu, 10 May 2007 12:59:17 -0700 (PDT) Message-ID: Date: Thu, 10 May 2007 21:59:17 +0200 From: "Damir Hasakovic" Subject: Re: [linux-lvm] How to remove crashed inaccessible harddrive from LVM2. In-Reply-To: <4639D56F.9070802@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4639D56F.9070802@redhat.com> Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development On 5/3/07, Bryn M. Reeves wrote: > > LVM2 allows you to activate partial volume groups and to remove missing > physical volumes via the --partial and --removemissing options to > vgchange and vgreduce. See the manual pages for full details. > > It sounds like your failed drive has not 'gone away' but is throwing I/O > errors for some sectors and maybe causing system hangs. You might be > better off disconnecting it and booting the system into a rescue > environment to perform the recovery of the volume group since it does > not contain important data you want to recover. > > Kind regards, > Bryn. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFGOdVv6YSQoMYUY94RAkmJAJ9V2faGbFKgpH5CIHLDrzFJL7lazgCfcpfm > nz6q3j33RKyQuNKzWgPRAC0= > =OAqy > -----END PGP SIGNATURE----- > > _______________________________________________ > 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/ > Do u mean rescue env like booting with the rescue cd? I tried to do like u said but when i disconnect the drive, some other device take /dev/sdc from the failed drive but LVM complains that UID is missing and when i check /etc/backup/VG i can see the missing UID and that is the drive that have failed /dev/sdc Now i'm afraird to remove the /dev/sdc from the volume group beacuse some other drive took over /dev/sdc. Can u please provide some useful commands that i can begin with? Kind regards //damir