On Tue, Jan 24, 2012 at 04:00:15AM +0100, Lennert Buytenhek wrote: > The ideal way of doing this would be to take N-1 disks out of your N > disk set, and create separate filesystems on each of the disks, and > store different sets of files on them, while using the last disk, > disk N, as a parity disk of the N-1 data disks. > > This is equivalent to raid4 with the stripe size equal the size of > one disk, and where the data disks get individual /dev/mdX entries > instead of being concatenated into one large /dev/mdX. > > Would this be easy to implement? I think it would be fairly easy. Take the existing RAID4 code, and instead of striping over the data disks use them in a linear, concatenated fashion. Then make sure the filesystem places whole directories on one of them. Using the "filestreams" mount option in XFS, combined with aligning the allocation groups to the data disk boundaries should do that for you. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html