Jump to content

NFS what's wrong?


Gowator
 Share

Recommended Posts

My /etc/exports

[root@shuttlex removable]# cat /etc/exports
/home                    192.168.2.*(insecure,no_root_squash,rw)
/mnt/media2              192.168.2.*(insecure,no_root_squash,rw)
/mnt/removable/Movies    192.168.2.*(insecure,no_root_squash,rw)
/mnt/removable/Music     192.168.2.*(insecure,no_root_squash,rw)
/mnt/removable/Pictures  192.168.2.*(insecure,no_root_squash,rw)
/mnt/removable/downloads 192.168.2.*(insecure,no_root_squash,rw)
/mnt/removable/          192.168.2.*(insecure,no_root_squash,rw)

the directories being exported

drwxrwxrwx  2 root root 4096 Nov 27 21:45 media/
drwxrwxrwx  2 root root 4096 Dec  2 21:57 media2/
drwxrwxrwx  7 root root 4096 Nov 27 17:50 removable/
drwxr-xr-x    3 root root 4096 Nov 27 21:50 home/

 

[root@shuttlex removable]# exportfs -ra
exportfs: /etc/exports [1]: No 'sync' or 'async' option specified for export "192.168.2.*:/home".
 Assuming default behaviour ('sync').
 NOTE: this default has changed from previous versions

All the errors are soft (warning on sync changing default)

 

but when I try and mount from the other PC

/home mounts fine

all other mounts give Permission denied....

 

They are all mountred with

[root@shuttlex removable]# cat /etc/fstab
/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda5 /home ext3 defaults 1 2
/dev/hdb1 /mnt/media2 ext3 user,defaults 1 2
none /proc proc defaults 0 0
/dev/sda1 /mnt/removable ext2 defaults 1 2
#/dev/sda1 /mnt/removable auto umask=0,user,iocharset=iso8859-15,sync,codepage=850,noauto,exec,kudzu,users 0 0
/dev/hda6 swap swap defaults 0 0

 

I know this is something stupid...

any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...