Gemini Dm800 NFS mount of readyNAS

stvy

Regular Member
Joined
Jan 25, 2006
Messages
72
Reaction score
0
Points
0
Age
47
My Satellite Setup
DM7020-s
My Location
norway
Hi,

I am trying to set-up an NFS share on the DM800. The DM800 will be the client and a readyNAS will be the server.

I want the mount to be persistent so I intend to enter it into /etc/fstab. I added the readyNAS IP address into /etc/hosts, and can succesfully ping it. I also created a directory /mnt/readyNAS

At the command line if I type:

mount -t nfs readyNAS:/media /mnt/readyNAS

It works.

Ok so the entry in the /etc/fstab reads:

readyNAS:/backup /mnt/readyNAS nfs defaults,rw,sync,no_subtree_check 0 0

I find that it hangs a lot; a simple "ls" command can hang forever. Any ideas?

Thanks,

Steve
 

shumifan50

Regular Member
Joined
Sep 6, 2007
Messages
521
Reaction score
1
Points
0
Age
75
My Satellite Setup
2xDM7025(DVB-S tuner), DM600SPVR, DM800S, DM500S HD, Triax 90cm with MultiBracket 4 sats.
My Location
Europe
I have not been using NFS recently, but when I last used them on dreamboxes they were very unstable. I started using CIFS mounts, which are slower, but they proved more stable. As far as I am aware readyNAS supports Windows and therefore CIFS mounts. Give it a try. I troublesome NFS mount will most likely perform worse than a reliable CIFS mount.
 

LowNoiseBloke

Member
Joined
Jun 13, 2009
Messages
47
Reaction score
7
Points
8
Age
78
Location
S.Staffs., U.K.
My Satellite Setup
Force Frontier 90,2xEmp-Centauri P168(28.2,23.5,19.2,16,13,9,5E,5W)
Vu+Duo2 & Now TV, Amazon Fire TV & Droidbox X7,
Buffalo Linkstation,
Pace TDS850NB Sky+HD,
Ubuntu/Fedora servers,
Technisat AirStar/Freeview.
My Location
South Staffs. U.K.
I don't know anything about E2 images on DM800 etc but on my DM7000 and DM7020 I don't have any serious problems recording to NFS shares using an ad-hoc mount command such as : mount -t nfs -o nolock 192.168.0.1://mnt/hdb2/Recordings /var/mnt/nfs
However on the whole I do tend to use CIFS more than NFS mainly because I also record to a Buffalo Linkstation.
shumifan50's advice is sound and worth following up. I would only add that a more effective approach than adding the mount info to /etc/fstab (is there also /etc/mtab to consider ?) might be to add the mount command to one of the startup scripts - exactly where depends on the image you're running. You would need though to ensure that the network is up and running first.
 

stvy

Regular Member
Joined
Jan 25, 2006
Messages
72
Reaction score
0
Points
0
Age
47
My Satellite Setup
DM7020-s
My Location
norway
HI,

Ok looks like CIFS is a good idea.

Can anyone show me an example mount command for a CIFS share?

(Btw; I tried tcp nfs and it is hard to tell but maybe a little better but still not very good.)

Thanks,

Stvy
 

LowNoiseBloke

Member
Joined
Jun 13, 2009
Messages
47
Reaction score
7
Points
8
Age
78
Location
S.Staffs., U.K.
My Satellite Setup
Force Frontier 90,2xEmp-Centauri P168(28.2,23.5,19.2,16,13,9,5E,5W)
Vu+Duo2 & Now TV, Amazon Fire TV & Droidbox X7,
Buffalo Linkstation,
Pace TDS850NB Sky+HD,
Ubuntu/Fedora servers,
Technisat AirStar/Freeview.
My Location
South Staffs. U.K.
I mount a Linkstation share as a hard disk replacement with :
mount -t cifs -o username=user,password=mypassword //192.168.0.1/share-name /hdd
Obviously replace 192.168.0.1 with whatever i/p address your server uses.
Hope that helps.
 

shumifan50

Regular Member
Joined
Sep 6, 2007
Messages
521
Reaction score
1
Points
0
Age
75
My Satellite Setup
2xDM7025(DVB-S tuner), DM600SPVR, DM800S, DM500S HD, Triax 90cm with MultiBracket 4 sats.
My Location
Europe
You will most likely have to set up a Windows share on your readyNAS as well.
 

LowNoiseBloke

Member
Joined
Jun 13, 2009
Messages
47
Reaction score
7
Points
8
Age
78
Location
S.Staffs., U.K.
My Satellite Setup
Force Frontier 90,2xEmp-Centauri P168(28.2,23.5,19.2,16,13,9,5E,5W)
Vu+Duo2 & Now TV, Amazon Fire TV & Droidbox X7,
Buffalo Linkstation,
Pace TDS850NB Sky+HD,
Ubuntu/Fedora servers,
Technisat AirStar/Freeview.
My Location
South Staffs. U.K.
BTW : the sequence MENU->Settings->Expert Setup->Communication Setup->Mounts (blue button ?) should allow you to define, test and save for automatic re-mount upto 8 network shares. This might be easier and more effective than typing ad-hoc shell commands.
 
Top