Results 1 to 4 of 4
Hi - I've got a big ol media server with multiple drives and because the machine has grown with me, each hard drive has a similar mix of content. Is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-31-2006 #1
Combining Directories across Multiple Drives
So basically getting the contents of /mnt/bravo/music and /mnt/charlie/music and having the files listed in /music while letting the files reside in their original locations.
I was thinking maybe if there was a symbolic link tool out there that would let me massively create/update symbolic links... I don't think file/directory name collisions would be an issue for me. Does anyone have any ideas or know about any tools I could use? Thanks in advance.
- 07-31-2006 #2
- 07-31-2006 #3
Thanks - I think I just might go that route. I'm a little uncertain how LVM handles hard drive failure and if a single file could potentially be split between two hard drives in the same volume group. It might be a big nightmare trying to do damage control in the case of a catastrophic drive failure, if I understand it correctly. However, I really like the idea of being able to grow a volume just by adding drives to the group.
- 08-01-2006 #4
hehe... I started pricing some raid equipment and got discouraged. Then I got really lazy and instead of going LVM, I created a perl script (i'm not a big fan of perl, but it was already installed) that goes through a source directory and creates symbolic links in the destination directory. If a symlink with the same name already exists, it shows a warning so the user can reconcile the file names afterwards. For my purposes, I have a batch file where I delete all symbolic links out of the destination directory and then start generating the links from all my source directories into one destination directory so I can run this batch file over and over again to bring the master directory up to date. I'm lazy and this saves me the time of having to move things around and reformat. So now I have this directory mapped as a samba share so all the content from the various drives is now unified.