Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
In lab environment, I create /dev/md0, consisted of 3 partitions.
Each partition has 128MB.
Because the type is RAID5, there are about 256MB available for data.
After mounting /dev/md0 to /var/share/, "df -h" shows the correct size (259MB Free). But the output of "mdadm --detail /dev/md0" shows the following:
...
Array Size : 272896 (266.54 MiB 279.45 MB)
Used Dev Size : 136448 (133.27 MiB 139.73 MB)
...
Look at your first post. You state that you have three partitions, that 256M is free.
What happened to the other 128M?
I am not good with RAID.
If you can, try mounting /dev/md0
with a graphical partition tool and see what the result is.
I don't see any options in the man page for reading RAID.
Hmm, yes, on a second thought, I think I understand the real meaning of "Used Dev Size". It refers to "disk size that are not for data".
For RAID0, "Used Dev Size" does not exist.
For RAID1, "Used Dev Size" equals to half of total disks' size.
For RAID5, "Used Dev Size" equals to size that are used for parity.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.