PDA

View Full Version : Recording to a network drive with Elite model



happyhammer
18-05-2010, 11:53 AM
I've never gotten this to work properly and was wondering if its even possible? given that there are Priorty scripts to optimise cpu usage etc, maybe they can be tweaked?

At present, i have a small usb stick ( 1 GB) attached to the Elite. I then have some nfs mounts to a shared drive on another PC.
I not only mount the Movie folder to watch avi's etc, , i also mount the usb stick, the pvr folder and the recording folder. This had been suggested a long time ago as a way to record to a network drive.

I didn't want to have to get an external USB drive but looks like i will unless someone has a few suggestions?

buyukbang
18-05-2010, 12:39 PM
there is a "how to record to a network drive" thread written by a user in azbox official forum. It was submitted 2-3 weeks ago.

FME_fta
18-05-2010, 01:55 PM
Writing to NFS or CIFS is not very reliable, the best thing is an external USB HDD, I use a 2.5", its quiet and low power, I also leave it always on.

happyhammer
18-05-2010, 02:11 PM
there is a "how to record to a network drive" thread written by a user in azbox official forum. It was submitted 2-3 weeks ago.

OK, i read that they use a mount ****** plugin, then have something like this
192.168.1.11: / Qrecordings / DATA/usb1/sda1 1 1 0

so i assume the 1 1 0 are options in the plugin. I'm not at my box for a few days to actually test, but looking inside plugin, i see this

OPTION="-o"
if [ $SYNC == '0' ];then
OPTION="$echo $OPTION async"
else
OPTION="$echo $OPTION sync"
fi
if [ $WDELAY == '1' ];then
OPTION="$echo $OPTION wdelay"
fi
if [ $NOLOCK == '1' ];then
OPTION="$echo $OPTION nolock"
fi

so, 1 1 0 may mean sync, wdelay,lock

i presently do all my mounts like this:

mount -t nfs 192.168.1.201:/e/dreambox /DATA/movie -o nolock,rsize=32768,wsize=32768

So it will be worth changing some values, sync, lock etc and see if there is a change.

happyhammer
29-05-2010, 02:54 PM
got a little further on this so would like to keep this thread open with other Elite owners who may be trying the same thing.

There are a lot of possible alternatives so i will try to summarize whats working for me at the moment, basically i can record SD channels OK.
BBC HD has pixellations, other HD channels using Multicas dont really work properly and can cause the box to hang.

i originally tried setting up a swapfile manually so not sure how that works with the swap setting of Priority mgr, but pretty sure you need a swap file active to get any recording to work on the shared drive.



my setup:

Elite model, latest software, Multicas to a cccam server watching NDS on 28.2

A 1gb usb stick, formatted on a PC as FAT, connected to rear of azbox.
PC is always on , has a shared drive with HANEwin NFS server.

my Priority mgr 1.3 settings:

NFS[1]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/movie -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[2]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/usb1/sda1 -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[3]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/picture -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[4]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/music -o nolock,rsize=32768,wsize=32768int r 0 0"
NFS[5]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/recording -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[6]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/pvrfile -o nolock,rsize=32768,wsize=32768,in tr 0 0"



SWAPSIZE=204800
SWAPDEVICE=/DATA/usb1/sda1

buyukbang
29-05-2010, 04:39 PM
Happy to see you solved your problem with Priority Manager :) Wait v1.4. It'll be very a major update with new features and enhancements on current features...


got a little further on this so would like to keep this thread open with other Elite owners who may be trying the same thing.

There are a lot of possible alternatives so i will try to summarize whats working for me at the moment, basically i can record SD channels OK.
BBC HD has pixellations, other HD channels using Multicas dont really work properly and can cause the box to hang.

i originally tried setting up a swapfile manually so not sure how that works with the swap setting of Priority mgr, but pretty sure you need a swap file active to get any recording to work on the shared drive.



my setup:

Elite model, latest software, Multicas to a cccam server watching NDS on 28.2

A 1gb usb stick, formatted on a PC as FAT, connected to rear of azbox.
PC is always on , has a shared drive with HANEwin NFS server.

my Priority mgr 1.3 settings:

NFS[1]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/movie -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[2]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/usb1/sda1 -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[3]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/picture -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[4]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/music -o nolock,rsize=32768,wsize=32768int r 0 0"
NFS[5]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/recording -o nolock,rsize=32768,wsize=32768,in tr 0 0"
NFS[6]="mount -t nfs 192.168.1.201:/e/dreambox /DATA/pvrfile -o nolock,rsize=32768,wsize=32768,in tr 0 0"



SWAPSIZE=204800
SWAPDEVICE=/DATA/usb1/sda1

happyhammer
31-05-2010, 09:14 AM
When trying to record HD content, there are very often freezes, say 20 secs, but it continues to record in 2GB ts files, so at least its not crashing. Since i assume the Elite box can record HD content to a USB HDD, i'm looking into what can be causing the HD content to freeze but the SD to work.

My assumption is that its most likely the LAN speed throttling that Opensat put in for stabilization? Does anyone know of a firmware release that does NOT have the LAN speed throttled?

My other assumption is that the HD content has much more data to store than SD and perhaps some buffers/cache/processes may be able to be tweaked to get around it. Unfortunatly, the Hardware acceleration does not work on the Elite model.
When running the TOP command during HD recording, pdflush process occurs when the freezes occur.

This is probably as technical as i can get on this, all i can try is google and trial and error with various settings to see if it has any affect.

If anyone has recording HD content over LAN working, can they provide some details?

FME_fta
31-05-2010, 12:15 PM
Yes, I think the main reason why you can't record HD contend through LAN is the speed limitation that might be on the drivers.
I don't usually try to record HD content but when I do I don't have problems with using an external HDD 2.5" through USB.

This is really the best option to record, specially with Elite.

happyhammer
04-06-2010, 01:22 PM
Yes, I think the main reason why you can't record HD contend through LAN is the speed limitation that might be on the drivers.
I don't usually try to record HD content but when I do I don't have problems with using an external HDD 2.5" through USB.

This is really the best option to record, specially with Elite.


Pity, the mrs dont wanna have another box under the TV, I'll have to stick to recording SD for now, i suppose.
Someone suggested its the kernel thats the problem (lan driver), someone else suggested the DOM could be an issue too.

buyukbang
04-06-2010, 10:38 PM
Not related with DOM, and AFAIU not related with driver. Because The_Ripper reported that his Enigma 2 port has slow network speed, too.


Pity, the mrs dont wanna have another box under the TV, I'll have to stick to recording SD for now, i suppose.
Someone suggested its the kernel thats the problem (lan driver), someone else suggested the DOM could be an issue too.