• October 31, 2024, 11:20:06 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Ubuntu Mounting (NFS/Samba CIFS) - Help Required  (Read 6552 times)

ayuen100

  • Level 1 Member
  • *
  • Posts: 2
Ubuntu Mounting (NFS/Samba CIFS) - Help Required
« on: May 21, 2014, 06:12:13 AM »

I have been trying to mount the shares (NFS & CIFS) from my DNS-345 to my Ubuntu server box but not having much luck. This is what I have tried so far:

NFS:
Commands I have tried to mount NFS in /etc/fstab:
192.168.1.254:/mnt/HD/HD_a2 /mnt/nas1 nfs rsize=8192,wsize=8192,timeo=14,intr,bg 0 0
192.168.1.254:/mnt/HD/HD_a2 /mnt/nas1 nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0
192.168.1.254:/mnt/HD/HD_a2 /mnt/nas1 nfs noauto,sync,rw,hard,intr,nfsvers=3,nolock 0 0

This might be why I cannot mount the NFS shares:
showmount -e 192.168.1.254
clnt_create: RPC: Port mapper failure - Unable to receive: errno 111 (Connection refused)

Samba/cifs:
Commands I have tried to mount NFS in /etc/fstab:
192.168.1.254/Volume_1 /mnt/nas1 cifs defaults 0 0

sudo mount -a
mount: wrong fs type, bad option, bad superblock on 192.168.1.254/Volume_1,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Can someone help me please?  :-[
Logged

ayuen100

  • Level 1 Member
  • *
  • Posts: 2
Re: Ubuntu Mounting (NFS/Samba CIFS) - Help Required
« Reply #1 on: May 21, 2014, 09:54:48 AM »

Well I found the problem why NFS share was not working.

I set up the Network Shares under Account Manager and did not realise I had to enable NFS Service under Application Management.

Next to fix samba connection (Not as necessary since NFS share is working but would like to know how).
Logged