Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: What to do with a new big hard disk?
Guy Roussin wrote:
...
I use vdr with one disc using a partition /video which
contains the vdr recordings as well as some other files.
(dvd, audio, photo).
You already know that this is not recommended.
See below for one way to fix it.
I have just bought a new hard disk which I wish to use
like second vdr partition.
How do I have to configure it? must i re-elect /video
as /video0 and name the new one /video1 ?
It is possible to let vdr spread your recordings over
multiple disks by naming them /videoN.
I have suggested that feature a long time ago and I no
longer like it, as it puts the segments of one recording
on different disks (unless that has been fixed in the
meantime and I did not notice it). With all your recordings
spread over all your disks, you loose (parts of) all your
recordings when one disk dies.
I personally prefer an arrangement where I (as opposed to vdr)
determine where a recording goes.
So, I have a /video disk (the only one vdr knows about) and
a number of other disks (mount point name does not matter).
In the top-level /video directory, I only keep top-level
genre directories. Some of them actually lie on /video,
others are symbolic links to other disks.
Of course, load-leveling is not automatic with this technique,
but after a while it gets balanced well enough, so I never
have to move genres to other disks any more.
I use epg2timers, which automatically puts my recordings into
the approriate genre directories.
Here is a current ls -l of my /video:
total 5288
lrwxrwxrwx 1 cko users 14 2003-04-05 05:22 Action -> /video2/Action
drwxr-xr-x 29 cko users 4096 2003-06-14 12:50 Comedy
lrwxrwxrwx 1 cko users 19 2003-04-15 22:05 Fantasy -> /video4/vdr/Fantasy
lrwxrwxrwx 1 cko users 14 2003-04-05 05:22 Horror -> /video3/Horror
lrwxrwxrwx 1 cko users 12 2003-04-05 05:22 Kids -> /video3/Kids
drwxr-xr-x 6 cko users 93 2003-05-03 02:18 Misc
lrwxrwxrwx 1 cko users 13 2003-04-05 05:22 Music -> /video3/Music
drwxr-xr-x 13 cko users 4096 2003-06-14 00:35 SciFi
lrwxrwxrwx 1 cko users 15 2003-04-05 05:22 Science -> /video2/Science
lrwxrwxrwx 1 cko users 16 2003-04-05 05:22 Thriller -> /video3/Thriller
-rw-r--r-- 1 cko users 5404207 2003-06-14 12:47 epg.data
and here is a df -hTl of my vdr machine:
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda2 xfs 114G 80G 35G 70% /
/dev/hdb1 xfs 153G 145G 8.3G 95% /video2
/dev/hdc1 xfs 153G 131G 23G 86% /video
/dev/hdd1 xfs 153G 138G 16G 90% /video3
shmfs shm 252M 0 252M 0% /dev/shm
Carsten.
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index