More geekery.
Jul. 21st, 2007 02:15 amHaving been bitten by LVM2 lately more than I ever care to, I got an idea thanks to a SIPB undergrad who asked the right question at the right time. If instead of merging drives with LVM, you merge filesystems using a variant of UnionFS, you can use the disk space on all the drives, but only lose the data on that drive if it goes *poof*, and not the whole filesystem.
It would be a UnionFS mount over ext3 systems on all the drives. Reads would do the obvious things. Write operations would be a little trickier. Writes on existing files would work on the drive that has them, unless that drive fills up, in which case the whole file gets copied elsewhere and the write proceeds there. File creation operations would get stored in the first member filesystem listed which has space available.
Would not take that much of a mod to UnionFS or AUFS. I'm tempted to make this my first attempt at kernel hacking.
It would be a UnionFS mount over ext3 systems on all the drives. Reads would do the obvious things. Write operations would be a little trickier. Writes on existing files would work on the drive that has them, unless that drive fills up, in which case the whole file gets copied elsewhere and the write proceeds there. File creation operations would get stored in the first member filesystem listed which has space available.
Would not take that much of a mod to UnionFS or AUFS. I'm tempted to make this my first attempt at kernel hacking.