PDA

View Full Version : How do I mount an external harddisk (NAS)



hansham
02-08-10, 19:17
Hello, I have connected my VU+SOLO to a ethernet network wit a Synology NAS.
I have installed a network mount utility, but I do not know what to fill-in the parameters.

this is what I tried:
activate:......................activate (I do not know what they mean?? my harddisk is working)
Local shared map:..............hdd
type of connection:............NFS share (my NAS is NFS enabled)
Server IP:.....................192.168.1.11 (that is my NAS)
Server share:..................export/hdd
HDD replacement?...............Yes
connection options:............rw,nolock

...this does not work.
should I make more montings for different paths?

Help!!

please help!

hansham
03-08-10, 09:47
Hi, I am having the same problem.
My NAS, a Synology DS-109 is enabled for NFS, so I do not use CIFS. Then It does not need any password. The public drive should be accessible.

Help!

Sicilian
03-08-10, 10:03
Hi, I am having the same problem.
My NAS, a Synology DS-109 is enabled for NFS, so I do not use CIFS. Then It does not need any password. The public drive should be accessible.

Help!

I moved your post into the Solo section and started your own topic for you.

hansham
03-08-10, 11:15
But Sicilian... I guess you are the guy who can help me. You have solved many mounting issues.
Mounting a NAS is allmost the same as mounting a PC.
I have been told that NFS is faster then CIFS. My NAS is NFS enabled. To approach my NAS, a password is not needed, because it has a \public directory.
I use the wizard that is available for VU+.
Can you help me to find out what I fill in the network configuration wizard to mount my network drive?

regards,

Hans

OldSkulRide
03-08-10, 12:32
i suggest that you use CIFS. I was using CIFS with my synology 110j (now i have intel d510 based home server with amahi) and it was working ok!
NFS isnt always faster than CIFS. It depends on devices that you use. CIFS is enough for VU+ DUO ;) I was recording HD to NAS without problems. I have internal HDD now though.

hansham
03-08-10, 12:39
i suggest that you use CIFS. I was using CIFS with my synology 110j (now i have intel d510 based home server with amahi) and it was working ok!
NFS isnt always faster than CIFS. It depends on devices that you use. CIFS is enough for VU+ DUO ;) I was recording HD to NAS without problems. I have internal HDD now though.

OK! that sounds promising.
Would you be so kind to help me with this then?
My Synology is NFS enabled.

What parameters should I fill in the wizard to get it to work???
what is a sharename? what is the local drive?? do they mean local on the NAS or local on the VU+?
it is all sooo confusing.

hansham
03-08-10, 13:25
activate:......................activate
Local shared map:...........what is local? local on my VU+ or local on my NAS harddisk??
type of connection:..........NFS share (my NAS is NFS enabled)
Server IP:.....................is this the IP address of my NAS?
Server share:.................is this the shared directory in my VU+ (is that /hdd?) or on my NAS? (/public) should I include the ip adress again here?
HDD replacement?............Yes
connection options:............rw,nolock <-- are these the right parameters?

Sicilian
03-08-10, 13:40
Local shared map: is the folder on your receiver where the map will be mounted too. Call this share

Server IP is the IP of your NAS

Server share is the shared folder name on your NAS

The rest looks ok.

Can you not set the NAS to CIFS as Oldskullride suggested?

hansham
03-08-10, 14:00
tonight when I am back home, I wil try this. Ofcourse I can experiment with CIFS and NFS and see.
Thank you for your help

OldSkulRide
03-08-10, 15:05
CIFS is easier to set.

hansham
03-08-10, 21:02
it still does not work. In an other forum I saw that they mounted the VU /hdd to the NAS /volume1/<shared directory>

I am going to try to add /volume1 in it
and do it manually to put the text

192.168.1.11:/volume1/tv /hdd nfs rsize=8192,wsize=8192,rw,nolock 0 1

in /etc/fstab

@sicilian: it makes no sense to me that I mount my nas to /share if the recording path is /hdd/media
what is the logic behind that?

hansham
03-08-10, 22:07
ok in the menu I did this:
activate:......................activate
Local shared map:...........hdd (I also tried share)
type of connection:..........CIFS share
Server IP:.....................is this the IP address of my NAS?
Server share:.................tv (that is a public directory on my NAS)
HDD replacement?............Yes
connection options:............rw
username.............. the admin username of my NAS
password............... the admin password of my NAS

this did not work.
I am out of options.

By the way: when I do it manually with telnet:

root@vusolo:/etc# mount -t nfs -o rw 192.168.1.11:/tv /hdd

then I get the error message:

mount: 192.168.1.11:/tv failed, reason given by server: permission denied
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.11:/tv on /hdd failed: Invalid argument

if I ping from my VUSOLO to 192.168.1.11 I get a ping. If I ping to 192.168.1.11:/tv it says Unknown host


HELP!

Sicilian
04-08-10, 07:39
Try the following: -

activate:......................activate
Local shared map:...........share
type of connection:..........CIFS share
Server IP:.....................IP OF YOUR NAS
Server share:.................tv (that is a public directory on my NAS)
HDD replacement?............Yes
connection options:............rw
username.............. the admin username of my NAS <<< Can you assign a username/password to the tv directory?
password............... the admin password of my NAS

Heres a mount I setup from on my PC this morning.

The shared folder on my pc is called share. I setup a user called VUDuo: -

http://www.vuplus-support.co.uk/attachment.php?attachmentid=1117

hansham
04-08-10, 15:21
Thank you for doing all this trouble for me, but I managed to get it working.
What I did was giving specific read and write rights to my tv directory on my NAS for the IP address of my VU+SOLO <- cause 1
My NAS management software showed me that I have to address the directory as /volume1/tv and not /tv only <- cause 2
I have enabled my NAS for NFS.

activate:......................activate
Local shared map:...........share
type of connection:..........NFS share
Server IP:.....................192.168.1.11
Server share:.................volume1/tv
HDD replacement?............Yes
connection options:............rw

NFS does not require username and password.

so:
1) mount gave an error because the VUDUO did not have rw rights
2) mount gave an error because the path is 192.168.1.11:/volume1/tv and not 192.168.1.11:/tv

Problem solved.

Sicilian
04-08-10, 15:34
EXcellent Hansham, glad you got it sorted :)

arthurmfritz
10-01-14, 22:54
Hi,
I have a similar problem, I am trying to mount a CIFS share from my IOMega NAS. As I don't see anything in the net dir, I checked the /etc/fstab. performing mount -a gave me an error first that no username is specified, noticed that there was a space btw. username= //workroup/username, corrected this, and now I am getting permission denied. I ran cmod 777 on the dir but it didn't help.
//192.168.0.1/Movies /media/net/MoviesSTORCENTER cifs username=//workgroup/username,password=pw,rw,iocharset=utf8 0 0
any parameters I missed?

arthurmfritz
12-01-14, 20:23
OK I got it sorted for those of you who have issues and want to get it manually sorted with VU+ solo2 Openvix 3.0.808 (There seems to be a bug for network mounts on that build).

- On my NAS (IOMEGA) I created a new user only for the VU+ eg: username:user Pw: password.
- delete all the network mounts you had from the menu
- check the /etc/fstab is any network mounts are still listed, if there are any left, remove the lines
- delete the /etc/enigma2/automounts.xml file (don't worry it will be recreated)
- init 0 and switch off and on the box (I am not a big fan of this, as this is more windows like, but it helped)
- create a new mount from the menu:
activate:......................activate
Local shared map:...........iomegabox
type of connection:..........CIFS share
Server IP:.....................IP OF YOUR NAS
Server share:.................movies (directory/share name on your NAS Share)
HDD replacement?............no
connection options:............rw, utf8
- save
- check the /etc/fstab, you should see a line like
//192.168.1.10/Movies /media/net/iomegabox cifs username= user,password=password,_netdev,rw,iocharset=utf8 0 0
- if you look at the line you will notice there is a space after "username" username= user ->remove that space and save your file
- run mount -a and check if there are any error messages. if there are no error messages type mount to see if your directory is listed under the mounts. It should be there now and you should see your files under the net directory of you VU+. enjoy. :thumbsup: