RAID1 is DEGRADED, but which disk is faulty?

jesse reynolds jesse at va.com.au
Wed Sep 3 14:19:50 PDT 2003


At 18:26 +0200 3/9/2003, Ruben de Groot wrote:
>On Wed, Sep 03, 2003 at 10:45:05PM +1000, jesse reynolds typed:
>>  Hi
>>
>  > How do you tell which disk has problems in a hardware RAID1 array?
...

>You can try this:
>
>umount /dev/ar0
>fsck -f -n /dev/ad4
>fsck -f -n /dev/ad6
>
>This way (hopefully) you'll be able to establish which one of the disks
>in the array has developed problems. Then reboot and rebuild the array
>from the other disk using the controllers firmware.

Thanks Ruben.

Unfortunately there are only these two disks in the machine, with /, 
/usr, /var, and swap all slices of ar0. Thus, I cannot unmount ar0!!!

Surely there must be a way of finding out which disk is being used 
and which is idle? Doesn't "degraded" mean that it's only using one 
of the two disks???

Thankyou

Jesse




>Ruben
>
>>  Cheers
>>
>>  Jesse
>>
>>  PS:
>>
>>  FreeBSD 4.6.2-RELEASE
>>
>>  atapci1: <Promise ATA100 controller> port
>>  0xdc00-0xdc3f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07
>>  mem 0xdffe0000-0xdfffffff irq 11 at device 16.0 on pci0
>>
>>  ar0: 76293MB <ATA RAID1 array> [9726/255/63] status: READY subdisks:
>>   0 READY ad4: 76319MB <ST380021A> [155061/16/63] at ata2-master UDMA100
>>   1 READY ad6: 76319MB <ST380021A> [155061/16/63] at ata3-master UDMA100
>>
>>
>>  # atacontrol list
>>  ATA channel 0:
>>      Master:      no device present
>>      Slave:       no device present
>>  ATA channel 1:
>>      Master: acd0 <LG DVD-ROM DRD-8160B/1.01> ATA/ATAPI rev 0
>>      Slave:       no device present
>>  ATA channel 2:
>>      Master:  ad4 <ST380021A/3.19> ATA/ATAPI rev 5
>>      Slave:       no device present
>>  ATA channel 3:
>>      Master:  ad6 <ST380021A/3.19> ATA/ATAPI rev 5
>>      Slave:       no device present
>>
>>  _______________________________________________
>>  freebsd-questions at freebsd.org mailing list
>>  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>  To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


-- 

   ::: Jesse Reynolds +61 (0)414 669 790 ::: AIM - jessedreynolds :::
   ::: Virtual Artists Pty Ltd, Adelaide ::: http://www.va.com.au :::


More information about the freebsd-questions mailing list