30 pts.
 Can't copy from NFS share to NFS share
Looking for help with a an NFS issue


I have two shares one with zfs filesystem the other with a UFS filesystem shared via NFS. I use the shares as home directories for my users

The ZFS has the following in dfstab running on solaris 10
share -F nfs -o anon=0,log /mypool/home

The UFS has the following in dfstab running on solaris 10
share -F nfs -o rw,root=172.16.51.3:172.16.50.3 /usr/home


THese shares are both mounted to two seperate servers running solaris 8

server A @ --- /usr/home    (/usr/home)
           --- /usr/tester  (/mypool/home)

Server B @ --- /usr/home    (/usr/home)
           --- /usr/tester  (/mypool/home)


The problem I am having is as root user on server A
   
    I can 'touch' a file, cat, cp, vi, and etc in /usr/tester
    I can not do any of the above to my /usr/home

When I go to Server B the problem is just the opposite

    I can 'touch' a file, cat, cp, vi, and etc in /usr/home
    I can not do any of the above to my /usr/tester
   
I was alerted to this problem when I tried to do a usermod -d /usr/tester -m <userid>
    I recieved permissions errors when coping the contents from usr/home to /usr/tester on server A
 

drwxr-xr-x 9603 root     root        9603 Oct  3 19:05 tester
drwxr-xr-x 9602 root     root      185856 Oct  5 12:07 home




Has anyone else experienced this problem before? What did you do to resolve it. Not sure of what other information is needed.


Regards,

Lance Longstreth
   




Software/Hardware used:
Solaris 10 , Believe to be NFS v4
ASKED: Oct 5, 2009  7:42 PM GMT
UPDATED: October 8, 2009  7:04:59 PM GMT
680 pts.

Answer Wiki:
Sounds like a root-squash problem to me; what, specifically is the error?

Try mounting the NFS shares with the "no_root_squash" option, but make sure your root account is secure...

===============================================
I need to amend the above information.

When I go to Server B the problem is

I can 'touch' a file, cat, cp, vi, and etc in /usr/home
I can 'touch' a file, cat,cp, mv and etc... in /usr/tester

But when I try to do a usermod -d /usr/tester/<userid> -m <userid>

I receive UX: usermod: ERROR: There is not sufficient space to move
Last Wiki Answer Submitted:  Oct 7, 2009  1:30 PM (GMT)  by  Sonotsky   680 pts.
Latest Answer Wiki Contributors:  Iowaprogrammer   30 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

I think it could be similar to root-squash, but this parameter does not seem to be valid parameter in solaris NFS

 30 pts.