≡ Menu

raid array

HowTo: Linux Rename a RAID Array From md0 to md2

I am moving a raid array called /dev/md0 from serverA to serverB. On serverB /dev/md0 is already in use. How do I rename a RAID array from /dev/md0 to /dev/md2?
[click to continue…]

FreeBSD Check The Health of Adaptec RAID Array

I‘ve Adaptec RAID 1 set via 5405 PCI card. I know how to get check the health of Adaptec RAID array under Linux, but how do I find information about my RAID card, RAID status, disk failure and other information via command line?
[click to continue…]

Linux Software RAID – Failed to RUN_ARRAY /dev/md0 invalid argument Error and Solution

When I run the following command at shell prompt on Debian or Ubuntu Linux

mdadm -Ac partitions /dev/md0 -m dev

I’m getting the message/warning that read as follows:

Failed to RUN_ARRAY /dev/md0 invalid argument.

How do I fix this issue? How do I rebuild array again on Linux operating system using mdadm command?
[click to continue…]

Linux Check Health of 3ware RAID Array

How do I check the health of my 3ware RAID array under any Linux distribution? How do I access 3ware RAID Array web interface?
[click to continue…]

Linux Check The Health of Adaptec RAID array

How do I check the health of Adaptec RAID array under an Ubuntu/ Fedora / CentOS / Red Hat Enterprise Linux / Debian Linux server from a shell prompt?
[click to continue…]

Linux Recover From A Lost Software RAID device (Rebuild RAID 5 Software Array)

Q. How can I recover from a lost software RAID device in CentOS version 4 / Debian version 3 / Red Hat Enterprise Linux 3 or 4 server system under RAID 5 software configuration?
[click to continue…]

Howto rebuilding a RAID array after a disk fails

Q. I have two disk-mirrored array, suppose if one of my disk in mirrored RAID array fails, then I will replace that disk with new one (I have hot swapping SCSI drives). Now question is how I rebuild a RAID array after a disk fails.

A. A redundant array of inexpensive disks, (redundant array of independent disks) is a system, which uses multiple hard drives to share or replicate data among the drives. You can use both IDE and SCSI disk for mirroring.

If you are not using hot swapping drives then you need to shutdown server. Once hard disk has been replaced to system, you need to use used raidhotadd to add disks from RAID-1, -4 and -5 arrays, while they are active.

Assuming that new SCSI disk is /dev/sdb, type the following command:# raidhotadd /dev/mdX /dev/sdbReplace /dev/mdX with actual raid device name (e.g. /dev/md0). While array is under construction, you can see progress and other information by typing following command:# cat /proc/mdstat

See also: