Jump to content


Photo

Impossible to mount NAS Server on my DM8000HD


  • Please log in to reply
18 replies to this topic

#1 Ouistiti

  • Member
  • 4 posts

0
Neutral

Posted 31 January 2014 - 12:59

Hello,

 

I'm tying to mount my local NAS Server on my DM8000HD using OpenPLi. I tried with the Network mount wizzard, but didn't succeed.

Before using OpenPLI, I used Gemini images, and I did this mounting by modifying the  auto.network file like this :

 

The share of my NAS Server is configured for CIFS, FTP and NFS.

NAS-SERVER -fstype=cifs,rw,rsize=8192,wsize=8192,user=Luxrobotic-PC,pass=********* ://192.168.1.**/volume_1
 

 

On the other hand, I have mounted my second Dreambox with the Network Mount wizzard, it works, and I have this result in the etc/enigma2/automounts.xml file :

 

 

<nfs>
<mount>
  <active>True</active>
  <hdd_replacement>False</hdd_replacement>
  <ip>192.168.1.1xx</ip>
  <sharename>DM800HDse</sharename>
  <sharedir>hdd</sharedir>
  <options>rw,nolock,soft</options>
</mount>
</nfs>
 

But for my NAS Server :

<cifs>
<mount>
  <active>True</active>
  <hdd_replacement>False</hdd_replacement>
  <ip>192.168.1.xx</ip>
  <sharename>NASSERVER</sharename>
  <sharedir>volume_1</sharedir>
  <options>rw</options>
  <username>MonUser</username>
  <password>MonMotDePasse</password>
</mount>
</cifs>e partage 
 

 

It doesn't work too !

 

 

Thanks for your help.

 

 

Regards,

 

 

Ouistiti

 

Dreambox 8000 HD PVR HDD 500Go OpenPli en flash
Graveur DVD Samsung CDDVDW SN-T083C
Dreambox 800 HDse HDD 500Go Nemesis 2.5 Release SVN(105r4), 23-02-2012 en flash
Pentium D 2.80GHz-1.00Go XP Media Center Edition 2002 SP2
Serveur NAS D-Link DNS-320L-2x2TB
Ipod Shuffle 1Go __________________ | Ipod Nano 2Go _____________
Ipod Shuffle 2Go ______________________________________________
Ipod Touch 2G 16Go _______________ | Ipod Touch 4G 32Go _________
TomTom GO750L ______________________________________________

 



Re: Impossible to mount NAS Server on my DM8000HD #2 gregoire

  • Senior Member
  • 82 posts

0
Neutral

Posted 31 January 2014 - 20:48

Currently nfs is broken in openpli 4 which is a known problem.



Re: Impossible to mount NAS Server on my DM8000HD #3 macnuts

  • Senior Member
  • 420 posts

+14
Neutral

Posted 31 January 2014 - 21:04

Can you elaborate a little bit more? I have no problem with nfs connection to my NAS (except slight speed issues).



Re: Impossible to mount NAS Server on my DM8000HD #4 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 31 January 2014 - 22:09

@Ouistiti, have you tried to mount the NAS manually from a command line, and then check with dmesg for any error messages?



Re: Impossible to mount NAS Server on my DM8000HD #5 Ouistiti

  • Member
  • 4 posts

0
Neutral

Posted 31 January 2014 - 23:33

Hi,

 

 

@Ouistiti, have you tried to mount the NAS manually from a command line, and then check with dmesg for any error messages?

 

How did you make your mount?

 

I tried in different ways, without success !!

 

@Ouistiti, have you tried to mount the NAS manually from a command line, and then check with dmesg for any error messages?

 

 

I'm not very skilled with commands, which command do I have to use??

 

 

Thanks

 

Ouistiti


Edited by Ouistiti, 31 January 2014 - 23:35.


Re: Impossible to mount NAS Server on my DM8000HD #6 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 1 February 2014 - 10:08

For NFS something like

 

mount -t nfs -o rw,nolock 192.168.1.xxx:/volume_1 /media/net

 

where /media/net is the mount point you want (could be /media/nas or whatever)

 

 

For CIFS something like this

 

mount –t cifs –o username=name,password=password //192.168.1.xxx/dreambox

 

 

To everyone, please correct me if I'm totally wrong..  ;)



Re: Impossible to mount NAS Server on my DM8000HD #7 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 1 February 2014 - 10:26

I correct myself after testing against my NAS

 

This works for me ™ :

 

mount -t cifs -o username=myuser,password=mypassword //192.168.1.xx/sharename /media/nas

 

 

where sharename is the name of the folder i share in my NAS and /media/nas is my mount point



Re: Impossible to mount NAS Server on my DM8000HD #8 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 1 February 2014 - 14:01

For NFS this works for me:

 

mount -t nfs 192.168.1.9:/volume1/VuVideo /media/nas

 

/volume1/VuVideo is on of my shares on my Synology NAS.

 

By the way, local IP addresses do not need to be hidden as 'outside' users (internet users) are unable to directly access them.

 

 

Tested on Vu+ Duo running OpenPLi 3.0.



Re: Impossible to mount NAS Server on my DM8000HD #9 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 1 February 2014 - 20:34

With OpenPLi 4, todays build, mounting the NAS with NFS no longer works, I get error

 

mount.nfs: an incorrect mount option was specified
mount: mounting 192.168.1.9:/volume1/VuVideo on /media/nas failed: Connection refused

 

I found that adding the option -o nolock made mounting NFS work again, the reason for this is

apparently that package (command) portmap is missing. https://forum.openwr...ic.php?id=36263

 

I am unable to find portmap with 'opkg list'.



Re: Impossible to mount NAS Server on my DM8000HD #10 gregoire

  • Senior Member
  • 82 posts

0
Neutral

Posted 2 February 2014 - 12:00

Great finding mattiL !!!



Re: Impossible to mount NAS Server on my DM8000HD #11 ims

  • PLi® Core member
  • 13,785 posts

+214
Excellent

Posted 2 February 2014 - 13:07

Network mount wizard is for nothing...

- when is server down and enigma is restarted, then enigma is waiting some time for each "active" mount.

- hdd's of NAS are still waking up

 

Install and use Autofs instead it and remove all items from Network mount. I am using it succesfuly long time.

Here you can read, how it set:  http://openpli.org/f...gy/#entry392214

Then you can mount hdd from PC easy and you are not bother, when PC is not in net or is down.


Kdo nic nedělá, nic nezkazí!

Re: Impossible to mount NAS Server on my DM8000HD #12 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 2 February 2014 - 13:12

My main point is that mounting NFS works in OpenPLi 3 but not in OpenPLi 4 because package portmap is missing, and

I can not find it with opkg list.

 

So someone have to add it to the package repository for OpenPLi 4.



Re: Impossible to mount NAS Server on my DM8000HD #13 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 4 February 2014 - 19:28

It does not seem to be much interest in this thread, should I start a new thread about adding portmap to OpenPLi 4?

Or is the current behaviour expected?



Re: Impossible to mount NAS Server on my DM8000HD #14 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 6 February 2014 - 14:48

Hi,

 

Just my two cents are you sure that you can mount directly volume_1 don't you have to refer to a lower share. If i remember well I had a similar issue and fix it by specifying the folder.

 

Exemple:  volume1/video

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Impossible to mount NAS Server on my DM8000HD #15 mattiL

  • Senior Member
  • 268 posts

+5
Neutral

Posted 6 February 2014 - 20:57

Hi,

 

Just my two cents are you sure that you can mount directly volume_1 don't you have to refer to a lower share. If i remember well I had a similar issue and fix it by specifying the folder.

 

Exemple:  volume1/video

 

Pr2

You are quite right there, but I think you have been looking at one of my first post in this thread, later I tested mounting myself

and the command line changed slightly (later posts).

 

 

This works on OpenPLi 3.0

 

mount -t nfs 192.168.1.9:/volume1/VuVideo /media/nas

 

but not on OpenPLi 4.0..

 

 

Please look at post #9 for more info.

 

 

Regards



Re: Impossible to mount NAS Server on my DM8000HD #16 Taraman

  • Member
  • 2 posts

0
Neutral

Posted 16 February 2014 - 20:40

Hi all,

 

I would very much appreciate a fix for this issue.

For performance reasons I prefer NFS (less overhead).

 

Taraman



Re: Impossible to mount NAS Server on my DM8000HD #17 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 24 March 2014 - 01:58

Still Broken right??

I am unable to mount a nfs share in openpli 4 despite i can mount it in another box with openpli 3.



Re: Impossible to mount NAS Server on my DM8000HD #18 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 24 March 2014 - 02:53

Still Broken right??

I am unable to mount a nfs share in openpli 4 despite i can mount it in another box with openpli 3.

 

 

Strange.

My et-6x00 with openpli 4 can mount another et-9200 openpli 3 nfs share but can not mount a nfs in a debian server., not even adding the -o nolock option.

 

root@et6x00:~# mount -t nfs 192.168.9.10:/media/movies/Filmes /media/Filmes -o nolock
mount.nfs: Protocol not supported
mount: mounting 192.168.9.10:/media/movies/Filmes on /media/Filmes failed: Protocol not supported

 

root@et6x00:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=145264k,nr_inodes=36316,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sda1 on /media/usb type ext4 (rw,relatime,data=ordered)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
192.168.9.14:/media/hdd on /media/hdd type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,nolock,proto=tcp,timeo=30,retrans=2,sec=sys,mountaddr=192.168.9.14,mountvers=3,mountproto=tcp,local_lock=all,addr=192.168.9.14)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

 

 

The et-9200 openpli 3 box can mount the debian server nfs share with no problem. 

 

 

 

root@et9x00:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=145264k,nr_inodes=36316,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sda1 on /media/hdd type ext4 (rw,relatime,data=ordered)
/dev/sdb1 on /media/usb type ext4 (rw,relatime,data=ordered)
tmpfs on /var/volatile type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
192.168.9.10:/media/movies/Filmes on /media/Filmes type nfs (rw,relatime,vers=2,rsize=8192,wsize=8192,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=30,retrans=3,sec=sys,local_lock=all,addr=192.168.9.10)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
djmount on /media/upnp type fuse.djmount (ro,nosuid,nodev,relatime,user_id=0,group_id=0)


Re: Impossible to mount NAS Server on my DM8000HD #19 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 24 March 2014 - 03:22

find a workaround

 

mount -t nfs 192.168.9.10:/media/movies/Filmes /media/Filmes -o nolock -o nfsvers=2

 

or in /etc/fstab

192.168.9.10:/media/movies/Filmes       /media/Filmes      nfs   rw,timeo=30,nolock,nfsvers=2       0 0 


Edited by mocho, 24 March 2014 - 03:22.



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users