Hard drive weirdness.

David Gibb degibb at gmail.com
Wed Jul 23 18:52:17 UTC 2008


Yeah, I know about

sudo mdadm --detail /dev/md0

but my problem is interpreting the results: if it tells me that
/dev/sda has failed, then do I replace the top hard drive, or the
bottom?

David


On Wed, Jul 23, 2008 at 2:42 PM, David Vincent
<dvincent at sleepdeprived.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David Gibb wrote:
>>> mdadm is not getting confused by the changing drive letters.  By
>>> default, mdadm scans all devices to find members of it's raid array,,
>>> but it may need a bit of convincing to start a degraded array if one of
>>> the drives is simply missing out of the blue..
>>
>> Good to know! But my impression from what you said was that simply
>> pulling the drive might not be the greatest idea. I suppose I could
>> simulate a failure using one of the software tools, but that somehow
>> isn't quite as satisfying to me as seeing the raid array continue
>> working without a drive.
>>
>> Another thing I was hoping to find out is which physical sata drive is
>> sda and which physical drive is sdb. When mdadm tells me /dev/sda has
>> failed, for example, I'd really like to replace the right drive.
>
>
> sudo mdadm --detail /dev/md0
>
> ...will tell you which is which and which one has failed when the time
> comes.  are they on the same sata channel?  the master would be a and
> the slave would be b.  unless the master was completely failed at boot
> time and then i'd guess that the slave would become a.  :)  confused
> yet?  :P
>
> - -d
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIh3unfpRzWFIV0XMRAsrqAJ4/vWANacPsnA0e7usnTnW6V1+xgACfScfP
> soEx5O0OX7djzdlo3fxsRuA=
> =YkYH
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list