On 2010-12-25 15:06, LostChild1 wrote:
> Would there be any way to transparently add storage to the existing
> HDMovies folder (And/or the TV folder, I could always buy a tb4 and tb5
> if necessary) using another harddrive? Somehow I don’t THINK this is
> possible, but I figure it’s worth asking the experts.
Via raid 0 or lvm (better lvm), after a reformat. However, both options are
less safe than a single disk, or several separate disks.
I would have a tree like:
where each directory can be on a different disk, mixing them as you like.
There is no way that I know of to join the contents of two directories in a
single one. Perhaps with one of those enterprise level storage solutions,
in several layers (fast disk, big slow disk, tapes, offsite storage, etc).
It is transparent, and expensive.
There is a way to mix the contents of two directories into one, by
symlinking every single file
/data/allmovies/movie_0001 → /data/HDmovies/1/movie_0001
/data/allmovies/movie_0002 → /data/HDmovies/1/movie_0002
/data/allmovies/movie_0003 → /data/HDmovies/2/movie_0003
/data/allmovies/movie_0004 → /data/HDmovies/2/movie_0004
/data/allmovies/movie_0005 → /data/HDmovies/2/movie_0005
which you can create that with a script. However, when writing you have to
select write to one of the real destinations, not to the joined space. Or
write directly to /data/allmovies/ and have another script move the files
to the final destination and create the link.
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)