I have a network storage server running Debian, containing multiple hard drives. These drives are all mounted into subdirectories of a samba-shared folder. All members of the network have full read and write access.
The problem in this setup is the lack of flexibility. The files are stored directly in one folder, and once a drive is full users have to create a new folder on another HDD.
What is possibly the best solution to get the space distributed dynamically? This is with what I've come up this far:
- RAID 0: since every failure of a single HDD would result in massive loss of data, striping is not an option
- RAID 1: my intention is to re-use old HDDs of different sizes, so this is not working either
- RAID 5: same as above, won't work because of different HDD sizes
- LVM: quite cool, since it is extensible, but is there an option to prevent striping? If not, the failure of a single disk would lead to the loss off all files stored partially on this particular disk...
- btrfs: subvolume management is nice, but can a single folder span multiple volumes?
Basically, I am looking for an LVM-like system with no striping, or at least the possibility to move all multi-volume-files manually (cron job, etc.) back to a single volume.