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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...