Unionfs for Linux?
Lukey Boy asks: "A machine in my network is currently a large fileserver, and holds many hard disks full of media (namely my music and what not). Each drive is running a standard EXT3 filesystem with the same layout (/media, /media/mp3, and so on). My problem and question is how do I join these drives to look like a single hierarchy? I would like to, when I check /all/mp3, view the contents of each drive in this combined directory. FreeBSD has a unionfs filesystem type which supports the unioning of two drives - but only two is a fairly bad limitation, especially when I add a new drive. It appears that Al Viro is working on a unionfs for Linux 2.5, with again only two mount points supported. I was also considering using the Linux Volume Manager system, or possibly a software RAID striping arrangement; does anyone have any experiences doing anything similiar? Is there any decent inheritable filesystem (IFS) available for Unix machines?"
This is *exactly* what LVM is designed to do. Multiple physical volumes comprising one logical volume. Follow up on your own suggestion. :-)
May we never see th
You could always go the ghetto booty route and just make symbolic links under the /all directory.
/media/mp3 /all/mp3
/media/audio has a subdirectory for each artist, but what if I want to browse by genre? I have /media/audio/genre/[classical,rap,jazz,rock,etc], and each subdirectory has symbolic links back to the artist directories in /media/audio.
cd
cp -Rl *
Do this for each drive. Or write a cronjob to do it once a day. This may or may not work depending on your directory structure.
I do a similar thing to make my music more "browsable".
Of course, once iTunes has Vorbis support, it won't really matter how the stuff is organized on disk.
Need Free Juniper/NetScreen Support? JuniperForum