You are not logged in.

#1 2012-11-01 15:36:18

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

How do I figure out which drive has failed?

My computer has 3 hard drives - one of which has now completely failed.  Because I'm using them all in a logical volume, this now means that my computer can't boot.

All of which is fine -  I can easily replace the drive and rebuild the computer.  Except for one thing: how do I figure out which physical drive is the one which died? I can see the errors referring to sdc (although I'm aware that the letter might change between boots), but how can I tell which actual hard drive that's referring to?

Offline

#2 2012-11-01 15:42:46

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How do I figure out which drive has failed?

In Linux, you can use hdparm/sdparm to get its serial number.

hdparm is the most straightforward to me as I'm less familair with sdparm:

# hdparm -I /dev/sdc
/dev/sdc:

ATA device, with non-removable media
	Model Number:       WDC WD2502ABYS-02B7A0                   
	Serial Number:      WD-WCAT1H255551
...

Last edited by alphaniner (2012-11-01 15:44:44)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2012-11-01 15:45:45

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: How do I figure out which drive has failed?

Thanks - are those commands available when booted into the installer as a rescue disc?

Offline

#4 2012-11-01 15:52:09

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: How do I figure out which drive has failed?

Both of those are available in the core repo, you can easily install them even in the live environment.

Offline

#5 2012-11-01 16:03:42

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: How do I figure out which drive has failed?

You might also consider a 'proper' rescue distro, such as System Rescue CD.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#6 2012-11-01 17:01:07

aking9
Member
Registered: 2009-03-30
Posts: 65

Re: How do I figure out which drive has failed?

you could try smartmontools to do a check of each disk.
https://wiki.archlinux.org/index.php/SMART

Offline

Board footer

Powered by FluxBB