I am trying to find out the best way to add additional storage to VDR 1.4.6-1 over time. Could someone on the list give some advise on how best to config vdr so that I can add additional storage over time as my needs increase?
My current config is as follws /etc/default/vdr is as below;
# /etc/default/vdr
# # See also /usr/share/doc/README.Debian #
# Change to 1 to enable vdr's init-script ENABLED=1
# Change this to 1 if you want vdr to be able to shutdown the # computer ENABLE_SHUTDOWN=0
# Options that will be passed to vdr's commandline # for example: OPTIONS="-w 15" OPTIONS="-w 30 -v /var/lib/video.00"
# Set this to load only plugins with the correct patch level PLUGIN_CHECK_PATCHLEVEL="yes"
My video directory is at /var/lib/video and is a symlink to /var/lib/video.00 which is a symlink to a directory on a partition on one of my mounted partitions. My understanding is that if I add additional storage to my vdr system and then add a new symlink such as /var/lib/video.01 that points to this storage vdr will automatically use it when /var/lib/video.00 becomes full. Is that correct?
I have looked for some documentation on how this aspect of vdr should/could be configured but have not found anything that clearly defines how this should be best achieved.
Thanks in advance for any input on this :-)
On Saturday, 9. Juneta 2007 13:09, Andrew Herron wrote:
I am trying to find out the best way to add additional storage to VDR 1.4.6-1 over time. Could someone on the list give some advise on how best to config vdr so that I can add additional storage over time as my needs increase?
Magic words are evms or lvm. Then you can add as many HDs you need afterward and just extend your video partition to cover whole new HD. Just remember to select right file system (I use reiserfs) and you can do extend even on-line (as hot)
I will look at evms & lvm. Thanks.
But I'd still like to understand how vdr's own managment of multiple video.xx directories works...
Can anyone explain what my options are for using multiple video.xxdirectories?
On 6/9/07, JJussi linux-dvb@jjussi.com wrote:
On Saturday, 9. Juneta 2007 13:09, Andrew Herron wrote:
I am trying to find out the best way to add additional storage to VDR 1.4.6-1 over time. Could someone on the list give some advise on how
best
to config vdr so that I can add additional storage over time as my needs increase?
Magic words are evms or lvm. Then you can add as many HDs you need afterward and just extend your video partition to cover whole new HD. Just remember to select right file system (I use reiserfs) and you can do extend even on-line (as hot)
-- JJussi
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Andrew Herron wrote:
I will look at evms & lvm. Thanks.
But I'd still like to understand how vdr's own managment of multiple video.xx directories works...
Can anyone explain what my options are for using multiple video.xx directories?
The details about handling multiple video directories are explained in VDR's INSTALL file.
Basically, if you specify -v /var/lib/video.00 on command line, VDR will automatically search for .01 and so on, and will use them all for recording.
Disk usage will be split across all disks, even recordings will be split. VDR maintains a complete folder hierarchy in the .00 folder, using symbolic links to mirror files on other disks to the .00 folder.
Cheers,
Udo
On 6/9/07, Udo Richter udo_richter@gmx.de wrote:
The details about handling multiple video directories are explained in VDR's INSTALL file.
Basically, if you specify -v /var/lib/video.00 on command line, VDR will automatically search for .01 and so on, and will use them all for recording.
Disk usage will be split across all disks, even recordings will be split. VDR maintains a complete folder hierarchy in the .00 folder, using symbolic links to mirror files on other disks to the .00 folder.
Cheers,
Udo
Hi Udo,
I had noticed the symlinks to other files in the .00 directory - thanks for explaining the rationale behind that.
If I have some existing vdr recordings on another partition is there a way to include these so that they are visible inside vdr's recording's menu? I have added a partition as .01 for example but only new recordings stored there are visible inside vdr's recordings menu but none of the 'old' recordings are. I guess what I should have done is add the 'old' recording's partition as .00 and the new partitions as .01 etc etc. Other than changing the order of the partitions symlinked to is there any way to correct this problem now?
Many thanks.
Andrew
Andrew Herron wrote:
If I have some existing vdr recordings on another partition is there a way to include these so that they are visible inside vdr's recording's menu?
You can symlink the partition into the first partition as directory. Not very clean, but should work for playback.
(but be aware that VDR's delete-old-recordings strategy expects that deleting a recording /video/symlink/recording results in free space in /video, and VDR may delete everything in /video/symlink/ quickly if this is not part of any recording folder.)
The alternative is to do all the linking of files manually, just as VDR would have done it.
Cheers,
Udo
Udo - thanks for that. Much appreciated.
On 6/10/07, Udo Richter udo_richter@gmx.de wrote:
Andrew Herron wrote:
If I have some existing vdr recordings on another partition is there a way to include these so that they are visible inside vdr's recording's menu?
You can symlink the partition into the first partition as directory. Not very clean, but should work for playback.
(but be aware that VDR's delete-old-recordings strategy expects that deleting a recording /video/symlink/recording results in free space in /video, and VDR may delete everything in /video/symlink/ quickly if this is not part of any recording folder.)
The alternative is to do all the linking of files manually, just as VDR would have done it.
Cheers,
Udo
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr