LinuxMCE Forums
General => Users => Topic started by: Viking on February 12, 2009, 11:48:59 am
-
Hi,
I am just installing my core and looking into the place where VDR stores it recordings. Well at the moment it is /home/public/data/VDRTV/video - that is the system drive on my core. So now I have a RAID 5 drive with three disks and that has the Pluto structure. Would I then create a new directory and give it the same rights/owners as the other dirs and then link
/home/public/data/VDRTV/video
to (in my example)
/mnt/device/31/public/data/VDRTV/video
and put the video files on device 31 ?
Or how is this supposed to be ?
BTW. As one can have several video dirs with VDR, we can also use video.00 video.01 and so on to put recordings on different discs.
Greetings
Viking
-
I will then reply myself ;) but still no solution :(
If I link /home/public/data/VDRTV/video to /mnt/device/31/public/data/VDRTV/video or video.00 it is removed on shutdown, so next time there is no recordings there !?
What is the trick ?
Where do I have to put the Recordings ? On the System disk they are not really well placed ...
Greetings
Viking
-
Hi again,
Do I have to add the links myself, like :
ln -s /home/public/data/VDRTV/video/movies to /mnt/device/31/public/data/VDRTV/video
Who knows ?
Greetings
Viking
-
Hi again,
Do I have to add the links myself, like :
ln -s /home/public/data/VDRTV/video/movies to /mnt/device/31/public/data/VDRTV/video
Who knows ?
Greetings
Viking
Currently the auto-detection & setup of storage does not understand how to configure vdr's extendable storage mechanism ie video.00, video.01, video.02 etc etc etc. Manually creating symlinks to other partitions etc will cause major problems with LinuxMCE's automatic drive/partition management.
Configuring vdr storage automatically via updated storage management scripts is what is needed... hopefully for 810 we will have this in place.
All the best
Andrew
-
hi Andrew,
thanks for your answer :)
So what does this mean ? I can not use the 2 TB RAID5 for VDR recordings ?
I will have to put them on the system disk ?
That would practically mean that VDR is not usable at all as I only can record what I have space on the system disk :( and VDR will kill the server wenn ity fills up the system disk. Or I would have to move everything (except /boot) to the RAID 5 - which again is not possible because it is not detected at boottime, but first after finishing start of linuxmce!?
I just can't belive this - what are you doing with your customers ?
Greetings
Viking
-
hi Andrew,
thanks for your answer :)
So what does this mean ? I can not use the 2 TB RAID5 for VDR recordings ?
I will have to put them on the system disk ?
That would practically mean that VDR is not usable at all as I only can record what I have space on the system disk :( and VDR will kill the server wenn ity fills up the system disk. Or I would have to move everything (except /boot) to the RAID 5 - which again is not possible because it is not detected at boottime, but first after finishing start of linuxmce!?
I just can't belive this - what are you doing with your customers ?
Greetings
Viking
Its currently a limitation and I agree its not ideal - but we generally install 1tb drives as for the boot partition so there is space available for a large amount of TV recordings... and if the drive becomes full then the system will warn the user in plenty of time to delete some recordings.
For 810 we will have a more intelligent auto detection of storage so that recordings can be spread of as many partitions as you have available. This should be in an early Beta I would expect.
All the best
Andrew
-
Hallo Andrew,
OK, it would have been nice to know this a bit earlyer ;) Maybe I should add this to the wiki...
One problem ist that VDR normalyy records in its /video, it also supports /video.00, /video.01, /video.02 for using severla recording dirs. BUT linuxmce will not mount the video device before it starts VDR, so how are you planning to "fix" that ?
I will have a look at a temporaru solution then. I will have to tweak VDR to use another video path (vdr.settings) - something like /home/public/vdr/video and then link /home/public/vdr/video/video to /mnt/device/31/vdr-video (or something like that) - have anybody tried that ? With epgsearch - also replacing the normal schedule menu item - I could setup vdr to allways record in the video subfolder (the link to device 31).
Or maybe put the whole system on the RAID5 disk with /boot on standard ext2/3 (or RAID1).
The quiestion is how I get the RAID5 out of the hands of linuxmce without deleting it !?
Greetings
Viking
-
Viking,
I have modified the VDR startup script to wait for the video dir to become active, before trying to start VDR. I am pretty confident that change will end up in 0810
-
Viking,
I have modified the VDR startup script to wait for the video dir to become active, before trying to start VDR. I am pretty confident that change will end up in 0810
We are working on updating "StorageDevices_Symlinks.sh" and some of the other "StorageDevices" scripts to automanage the creation of video.00, video.01, video.02 etc etc symlinks.
After some more testing we'll upload them to the svn.
All the best
Andrew
-
Viking,
I have modified the VDR startup script to wait for the video dir to become active, before trying to start VDR. I am pretty confident that change will end up in 0810
We are working on updating "StorageDevices_Symlinks.sh" and some of the other "StorageDevices" scripts to automanage the creation of video.00, video.01, video.02 etc etc symlinks.
Nice. Make sure that VDR does not get started before the symlinks and storage devices exist ;)
-
Viking,
I have modified the VDR startup script to wait for the video dir to become active, before trying to start VDR. I am pretty confident that change will end up in 0810
We are working on updating "StorageDevices_Symlinks.sh" and some of the other "StorageDevices" scripts to automanage the creation of video.00, video.01, video.02 etc etc symlinks.
Nice. Make sure that VDR does not get started before the symlinks and storage devices exist ;)
Already done ;-)
Andrew
-
Hallo Andrew, Hallo Posde,
Andrew, can you post something wenn you have submitted the changes to svn - that would be nice :)
Thanks for your input both of you :) I have now modified the runvdr script to wait for the mount of device 31. So far so good :)
Now I have trouble replaying the recordings and trouble importing them - see http://forum.linuxmce.org/index.php?topic=7433.msg47683#msg47683
Thanks :)
Greetings
Viking