Skip to main content

Thread: NFS not working properly


hi all,

i'm fighting nfs4 , can't work properly.
server runs ubuntu 12.04, in /etc/exports have:
code:
 /media/pictures 192.168.1.0/255.255.255.0(sync,no_subtree_check,rw,nohide)
with can mount on laptop (ubuntu 10.04) with
code:
 sudo mount 192.168.1.200:/media/pictures /mnt/sharedfiles/pictures -o nolock
have type every time start laptop.
if omit -o nolock
code:
 mount.nfs: rpc.statd not running required remote locking. mount.nfs: either use '-o nolock' keep locks local, or start statd.
, can't statd run.

in /etc/fstab on laptop have
code:
 192.168.1.200:/media/pictures        /mnt/sharedfiles/pictures       nfs4 rw,user,noauto     0       0
since use wireless connection hook laptop network know not work automatically.
type
code:
 mount 192.168.1.200:/media/pictures
or
code:
 mount /mnt/sharedfiles/pictures
,
code:
 no such file or directory
.

adding -v mount command gives
code:
mount.nfs4: timeout set sat sep  1 23:19:01 2012 mount.nfs4: text-based options: 'clientaddr=192.168.1.13,addr=192.168.1.200' mount.nfs4: mount(2): no such file or directory mount.nfs4: mounting outerrim:/media/pictures failed, reason given server:   no such file or directory
the nfs share exists:
code:
showmount -e 192.168.1.200 export list 192.168.1.200: /media/pictures 192.168.1.0/255.255.255.0
and permissions 777 directory.

i've read should add fsid=0 /etc/exports on server , mount 192.168.1.200:/pictures on client in case.
if don't see files on laptop.

appreciated.

regards,

michael

i followed tutorial https://help.ubuntu.com/community/settingupnfshowto , works.
need mount them automatically using wifi.

regards,

michael


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] NFS not working properly


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues