I am about to reinitialise my (SW) raid array.
Previously the array was raid5 with 4 disks. I've removed one disk in order to install a new additional (larger) drive.
What I'd ideally like to do is mix types of raid across the 3 disks. Having 1 section of 3 way mirrored raid1, a section of raid5 and a section of raid0 offering various levels of protection for my more and less important files, while wasting as little space as possible.
I can do this by creating 3 separate raid partitions on each disk and assembling 3 arrays from this, but this has a number of downsides:
- The size of each section would be fixed from the outset and changing this would be rather tricky
- I would be limiting my directory layout options and probably end up resorting to symlinks to retain a logical layout
What I would really like is a single filesystem, where I can set a property on individual files/directories, indicating the level of protection required for those files, resulting in the file being mirrored as appropriate.
Is there any way to achieve this on SUSE, perhaps with an esoteric filesystem format?