I have a RAID-5 array with four SATA disks in it. Apparently, two are going bad, so I want to replace them. But, I'm not sure which physical drives to pull. Given the following:
cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sda[0] sdd[3] sdc[2] sdb[1] 735351936 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
Any suggestions?
vamythguy wrote:
I have a RAID-5 array with four SATA disks in it. Apparently, two are going bad, so I want to replace them. But, I'm not sure which physical drives to pull. Given the following:
cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sda[0] sdd[3] sdc[2] sdb[1] 735351936 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
Any suggestions?
Odd that you have the raid4 and raid6 modules loaded, but still unfamiliar with /proc/mdstat...
Anyways, you are showing an array with four working disks; none failed. If you had a failed drive, it might look like [U_UU] which would mean the second disk had failed.
../C
On 1/1/07, Curtis Doty Curtis@greenkey.net wrote:
vamythguy wrote:
I have a RAID-5 array with four SATA disks in it. Apparently, two are going bad, so I want to replace them. But, I'm not sure which physical drives to pull. Given the following:
cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sda[0] sdd[3] sdc[2] sdb[1] 735351936 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
Any suggestions?
Odd that you have the raid4 and raid6 modules loaded, but still unfamiliar with /proc/mdstat...
Anyways, you are showing an array with four working disks; none failed. If you had a failed drive, it might look like [U_UU] which would mean the second disk had failed.
../C
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
I know how /proc/mdstat works, so I know the drives haven't failed *yet*.
However my system log is reporting:
Dec 31 17:04:38 tibeaux smartd[2384]: Device: /dev/sda, 3 Offline uncorrectable sectors Dec 31 17:04:39 tibeaux smartd[2384]: Device: /dev/sdd, 48 Currently unreadable (pending) sectors
over and over again.
And another list member (Pedro Fernandes Macedo < webmaster@margo.bijoux.nom.br>) says this means the two disks are in danger of failing. So, unless I can safely prevent against that, I want to replace the disks before they do. I would just add a hot spare and let mdadm do it, but there is no room in the case. So, back to the original question...
vamythguy wrote:
On 1/1/07, Curtis Doty Curtis@greenkey.net wrote:
vamythguy wrote:
I have a RAID-5 array with four SATA disks in it. Apparently, two are going bad, so I want to replace them. But, I'm not sure which physical drives to pull. Given the following:
cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sda[0] sdd[3] sdc[2] sdb[1] 735351936 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
Any suggestions?
Odd that you have the raid4 and raid6 modules loaded, but still unfamiliar with /proc/mdstat...
Anyways, you are showing an array with four working disks; none failed. If you had a failed drive, it might look like [U_UU] which would mean the second disk had failed.
I know how /proc/mdstat works, so I know the drives haven't failed *yet*.
However my system log is reporting:
Dec 31 17:04:38 tibeaux smartd[2384]: Device: /dev/sda, 3 Offline uncorrectable sectors Dec 31 17:04:39 tibeaux smartd[2384]: Device: /dev/sdd, 48 Currently unreadable (pending) sectors
over and over again.
And another list member (Pedro Fernandes Macedo < webmaster@margo.bijoux.nom.br>) says this means the two disks are in danger of failing. So, unless I can safely prevent against that, I want to replace the disks before they do. I would just add a hot spare and let mdadm do it, but there is no room in the case. So, back to the original question...
Those log entries are coming from smartd, not mdadm. You can always fail one disk out of the array with mdadm /dev/md0 -f /dev/sde and then hot add another one back later. However, smartd is throwing errors on two disks and multi-disk failure with raid5 means catastrophe. Since mdadm hasn't already failed one automatically, I'd first look more closely at smartd and what preemptive information in can report.
Is your original question simply how to identify /dev/sda and /dev/sdd?
../C
On Sun, Dec 31, 2006 at 23:50:56 -0800, Curtis Doty Curtis@GreenKey.net wrote:
Is your original question simply how to identify /dev/sda and /dev/sdd?
If so, /dev/drive/by-id will have a list of sym links named by serial number that point back to the /dev/sd? entries that you should be able to use to identify which physical drives you want to pull.
On 1/1/07, Bruno Wolff III bruno@wolff.to wrote:
On Sun, Dec 31, 2006 at 23:50:56 -0800, Curtis Doty Curtis@GreenKey.net wrote:
Is your original question simply how to identify /dev/sda and /dev/sdd?
If so, /dev/drive/by-id will have a list of sym links named by serial number that point back to the /dev/sd? entries that you should be able to use to identify which physical drives you want to pull.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Thanks. Yes, that's what I want to know.
12:17pm vamythguy said:
On 1/1/07, Bruno Wolff III bruno@wolff.to wrote:
On Sun, Dec 31, 2006 at 23:50:56 -0800, Curtis Doty Curtis@GreenKey.net wrote:
Is your original question simply how to identify /dev/sda and /dev/sdd?
If so, /dev/drive/by-id will have a list of sym links named by serial number that point back to the /dev/sd? entries that you should be able to use to identify which physical drives you want to pull.
Thanks. Yes, that's what I want to know.
To be pedantic, it's /dev/disk/ and you probably want to inspect all by-*/ subdirs. Some controllers may not report a disk by-id, but you would probably still see it in by-path/.
../C
On 1/1/07, Curtis Doty Curtis@greenkey.net wrote:
12:17pm vamythguy said:
On 1/1/07, Bruno Wolff III bruno@wolff.to wrote:
On Sun, Dec 31, 2006 at 23:50:56 -0800, Curtis Doty Curtis@GreenKey.net wrote:
Is your original question simply how to identify /dev/sda and
/dev/sdd?
If so, /dev/drive/by-id will have a list of sym links named by serial number that point back to the /dev/sd? entries that you should be able
to
use to identify which physical drives you want to pull.
Thanks. Yes, that's what I want to know.
To be pedantic, it's /dev/disk/ and you probably want to inspect all by-*/ subdirs. Some controllers may not report a disk by-id, but you would probably still see it in by-path/.
../C
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Yes, I did find all I needed in /dev/disk/by-id
On Mon, Jan 01, 2007 at 15:08:28 -0500, vamythguy vamythguy@gmail.com wrote:
Yes, I did find all I needed in /dev/disk/by-id
It was a thinko; yes it should have been "disk" not "drive".