≡ Menu

mdadm command

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…]

JBD: Barrier-based Sync Failed On md0-8 – Disabling Barriers Error and Solution

I've used the mdadm command line utility to setup and manage software RAID 6 under Debian Linux server. However, I get the following message in /var/log/messages file:
[ 14.003707] JBD: barrier-based sync failed on md0-8 - disabling barriers

How do I fix the message 'JBD error message "barrier-based sync failed"'?
[click to continue…]

CentOS / Redhat: Create Software RAID 1 Array

Recently, I've added another 73GB SAS disk to my Linux server after the installation. I've 30GB empty partition on old hard disk. How do I convert old /dev/sda3 and new /dev/sdb1 (both 30GB) into RAID 1 to improve NFS server speed and reliability?
[click to continue…]

Linux Create Software RAID 1 (Mirror) Array

How do I create Software RAID 1 arrays on Linux systems without using GUI tools or installer options? How do I setup RAID 1 array under Linux systems?
[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 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…]