Can write to my fileshare in one host but not the other

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let's say I have two centos hosts, vmhost and vmhost2, which both have
the homedirs mounted using autofs:

[root@vmhost2 ~]# cat /etc/auto.home
/etc/auto.home
#
# File: /etc/auto.home
#
*   -fstype=nfs4,hard,intr,rsize=8192,wsize=8192 fileserver.in.example.com:/home
/&

[root@vmhost2 ~]#
[root@vmhost ~]$ cat /etc/auto.home
/etc/auto.home
#
# File: /etc/auto.home
#
*   -fstype=nfs4,hard,intr,rsize=8192,wsize=8192 fileserver.in.example.com:/home
/&

[root@vmhost ~]$

I am logged into both hosts and /rpoc/mount shows my homedir mounted.
Note the options listed are slightly different

[root@vmhost2 ~]# fgrep raub /proc/mounts
fileserver.in.example.com:/home/raub /home/raub nfs4 rw,relatime,vers=4.0,rsize=
8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr
=192.168.15.20,local_lock=none,addr=192.168.1518 0 0
[root@vmhost2 ~]#

[root@vmhost ~]$ fgrep raub /proc/mounts
fileserver.in.example.com:/home/raub /home/raub nfs4 rw,relatime,vers=4,rsize=81
92,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clien
taddr=192.168.15.19,minorversion=0,local_lock=none,addr=192.168.15.18 0 0
[root@vmhost ~]$

I am not able to write to my homedir in vmhost2. I do not see anything
in /var/log/messages, /var/log/audit/audit.log, or /var/log/secure

[raub@vmhost2 ~]$ touch me
touch: cannot touch 'me': Permission denied
[raub@vmhost2 ~]$

It does show the right uid/gid though

[raub@vmhost2 ~]$ ls -lh bogus
-rw-r--r--. 1 raub raub 408 Jun 23  2008 bogus
[raub@vmhost2 ~]$

Where else should I be looking for clues? It feels like I missed
something on vmhost2... but can't figure out what. Suggestions?



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux