Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I have a funny question. I have been playing with a 3 disk raid 5 setup for my desktop. I guess I don't fully understand how the "stripe" is managed or even what it is. I know the stripe is made up of a chunk from each disk. Now I always thought of the stripe in raid the same as a block in ext3 or a cluster in ntfs. Meaning if I have a 1k file that I write to an ext3 filesystem with 4k blocks, my 1 k file will take up one block thus wasting 3k of space.
Now I thought the stripe in raid followed the same principle. Meaning if I have a 3 disk array with 64k chunks then my data stripe is the number of disks minus one drive because of parity so in this 3 disk array I would have a data stripe of 128k. So how much of that space would my 1k file take up? Would it take up the whole 128k stripe or just one chunk leaving the other chunk free for something else?
When I migrated my root drive over to the raid5 array I made, I was afraid that it would use alot more space on the raid array since it is full of very small files but to my surprise df -h reported the same values for / on the array and / on the single disk that I had copied the data from. So what is going on here?