nfs



I'm trying to use nfs; the sever's ip is 192.168.0.1;

in the /etc/exports file i put the following line:

/home/share/movies
192.168.0.0/24(ro,sync,insecure,all_squash)

so now I though i could mount the share on any computer of the sub-net
as follows:

mount 192.168.0.1:/movies /mnt

but it doesn't work!

I have to mount it as follows:

mount 192.168.0.1:/home/share/movies /mnt

for it to work.

BTW, does anyone know how to define the name (i think DNS).
say for example "my.lan" the name i would like.
what should i set to make any user in the sub-net to be able to mount
as follows:

mount my.lan:/home/share/movies /mnt

.



Relevant Pages

  • Re: NFS mounts at Boot
    ... It is also in the NIS host tables and is defined in DNS. ... The rc.nfs runs a mount -t nfs to mount all nfs type filesystems ...
    (AIX-L)
  • Re: nfs
    ... On 2008-08-01 00:30, heavytull wrote: ... so now I though i could mount the share on any computer of the sub-net ... my.lan in /etc/hosts on your clients. ...
    (alt.os.linux)
  • Re: nfs
    ... heavytull wrote: ... so now I though i could mount the share on any computer of the sub-net ... The alternative 'proper' way would be to install and configure a DNS server for your LAN, but this will likely be overkill for your requirements. ...
    (alt.os.linux)
  • nfs warning: mount version older than kernel ?
    ... I use nfs mount it in Debian sarge ... # Common options for cpio and tar ... # Bourne Shell Options ...
    (Ubuntu)
  • Re: Linux On-Demand Network Access (LODNA)
    ... >>differs from NFS. ... >mount an NFS partition other than listing it in the ... >then changing fstab still requires root access. ... >3) No need for root privileges when choosing what to ...
    (Linux-Kernel)