English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I replaced a bad drive on a server that has four RAID 5 drives + 1 hot swapable drive. It is running centOS 5.0 How do I confirm that the new drive is re-building and when it is finished re-building? Is there a linux command that will show this?

2007-07-26 21:40:23 · 3 answers · asked by samrramsey 1 in Computers & Internet Hardware Other - Hardware

3 answers

Depends very much what version of Linux you are running and what raid card you've got... and how you configured it.

Try pvdisplay -v or lvdisplay -v if you've got the disks under lvm control.

Otherwise you may need to connect to the raid controller to find out what it's up to.

And it also depends how the RAID controller functions. Some of them don't re-build in the way you expect... they rebuild onto the hot spare when the original disk fails and the replacement disk is treated as a hot spare.

2007-07-26 21:56:23 · answer #1 · answered by bambamitsdead 6 · 0 0

Hi,

You can use the mdadm command

# mdadm --query /dev/mdX

Will show you the RAID config

# cat /proc/mdstat

Will show you the status of the RAID, like Rebuilding ....

Have a look at the man-page for command-line options.

R.

2007-07-26 22:24:58 · answer #2 · answered by Anonymous · 0 0

goto the user support group forum for the linux version you have and ask the question there,, now linux support is second to none, so you should get your answers very fast,,,

2007-07-26 21:49:45 · answer #3 · answered by Carling 7 · 0 1

fedest.com, questions and answers