linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] How to remove crashed inaccessible harddrive from LVM2.
@ 2007-05-03 11:48 Damir Hasakovic
  2007-05-03 12:28 ` Bryn M. Reeves
  0 siblings, 1 reply; 3+ messages in thread
From: Damir Hasakovic @ 2007-05-03 11:48 UTC (permalink / raw)
  To: linux-lvm

Hi everyone,

I have a big big issue with my LVM2 system. Im running Debian 3.1 with
6 harddrives and no RAID. Last drive that i added have now crashed.
When i boot the machine, during the bootproecess fsck starts to check
LVM and after 50 % terminal gets filled with I/O error. I have tracked
down wich HDD is the crashed one.

The problem is i cant't type anything in terminal because it spits I/O
error every 5 secs. What i can do is to connect via SSH and than i can
navigate through the system but as soon i type for example "lvdisplay"
or anything that have to do with LVM the SSH session hangs.

Im very desperate to get this system upp and running.

Other drives are full and working. Is there any way to just remove the
last hardrive. I don't care about the information that is on the last
driver because it's just couple of movies and some pics.

Please help if u can :)


Thanx in advanced

Kind regards

//damir

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

* Re: [linux-lvm] How to remove crashed inaccessible harddrive from LVM2.
  2007-05-03 11:48 [linux-lvm] How to remove crashed inaccessible harddrive from LVM2 Damir Hasakovic
@ 2007-05-03 12:28 ` Bryn M. Reeves
  2007-05-10 19:59   ` Damir Hasakovic
  0 siblings, 1 reply; 3+ messages in thread
From: Bryn M. Reeves @ 2007-05-03 12:28 UTC (permalink / raw)
  To: LVM general discussion and development

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damir Hasakovic wrote:
> Hi everyone,
> 
> I have a big big issue with my LVM2 system. Im running Debian 3.1 with
> 6 harddrives and no RAID. Last drive that i added have now crashed.
> When i boot the machine, during the bootproecess fsck starts to check
> LVM and after 50 % terminal gets filled with I/O error. I have tracked
> down wich HDD is the crashed one.
> 
> The problem is i cant't type anything in terminal because it spits I/O
> error every 5 secs. What i can do is to connect via SSH and than i can
> navigate through the system but as soon i type for example "lvdisplay"
> or anything that have to do with LVM the SSH session hangs.
> 
> Im very desperate to get this system upp and running.
> 
> Other drives are full and working. Is there any way to just remove the
> last hardrive. I don't care about the information that is on the last
> driver because it's just couple of movies and some pics.
> 
> Please help if u can :)
> 

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-----

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

* Re: [linux-lvm] How to remove crashed inaccessible harddrive from LVM2.
  2007-05-03 12:28 ` Bryn M. Reeves
@ 2007-05-10 19:59   ` Damir Hasakovic
  0 siblings, 0 replies; 3+ messages in thread
From: Damir Hasakovic @ 2007-05-10 19:59 UTC (permalink / raw)
  To: LVM general discussion and development

On 5/3/07, Bryn M. Reeves <breeves@redhat.com> 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

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

end of thread, other threads:[~2007-05-10 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-03 11:48 [linux-lvm] How to remove crashed inaccessible harddrive from LVM2 Damir Hasakovic
2007-05-03 12:28 ` Bryn M. Reeves
2007-05-10 19:59   ` Damir Hasakovic

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).