• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question about Linux Software RAID 1

GigaCluster

Golden Member
I am referring to this document.
Pertinent information from that webpage:
Ok, let's create the array. Run the command
mkraid /dev/md0
This will initialize your array, write the persistent superblocks, and start the array.
Have a look in /proc/mdstat. You should see that the array is running.
Now, you can create a filesystem, just like you would on any other device, mount it, include it in your fstab and so on.


Here is my list of mounts:
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

As you see, I have two partitions on my master hard drive, root (/) and /boot, not to mention swap, which doesn't appear in this list. My other hard drive has an ext3 partition with my backups on it. It's usually unmounted.

Let's say I wish to set up software RAID level 1 on it today. Can I set it up with existing data, or will my RAIDed partitions have to be formatted?
 
Back
Top