New to mdadm. Can someone interpret my /proc/mdstat?
Hi,
I have Ubuntu Server 11.04 running in Virtualbox on my Mac (this is so I can test setting up the server a thousand times before actually building a physical one). In virtualbox, I have given the server: 8GB drive for the OS 3x4GB drives for a RAID 5 array. after having run mdadm, I check it by looking at /proc/mdstat. Code:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid 5] [raid4] [raid10] My concern is that sdd1 is marked as [3]. I have almost no understanding of mdadm (but I am actively trying to learn). This website http://unthought.net/Software-RAID.H...D.HOWTO-6.html would suggest that - if I am not using a spare - the highest number any drive should be exhibiting would be n-1 (where n is the number of drives in the array). In my case, that should be [2], no? But here is is showing [3]. typing: Code:
mdadm --detail /dev/md0 Code:
/dev/md0: Thanks Ben |
Another quick question on the heels of this one:
I edited my fstab file to include md0, but on reboot it fails to mount. Looking in /dev shows that the array has been renamed to md127. If I edit my fstab to refer to md127, all is well. How do I get it to stay md0 across reboots? Thanks Ben |
Bump. Anyone have any ideas? I'm mostly interested in finding out why md0 becomes md127.
Thanks. |
All times are GMT -5. The time now is 07:12 PM. |