Hard drive weirdness.
    David Vincent 
    dvincent at sleepdeprived.ca
       
    Wed Jul 23 18:42:48 UTC 2008
    
    
  
-----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-----
    
    
More information about the ubuntu-users
mailing list