1834050 Members
2143 Online
110063 Solutions
New Discussion

nfs mount problem

 
Norman Dignard
Regular Advisor

nfs mount problem

2 hosts both running 11.11.
On host 1 (L3000) nfs export /rd3.
/rd3 file system is enabled to support large files.
Host 1 also running samba share /rd3/data.

On host 2 (J5600) nfs automount /rd3/data as /dumps.

From a windows host copied a 5 mb and 9GB file to the /rd3/data dir.

Now the problem:
On host 1 can access all the files and ll reports the file sizes fine.

On host 2 ls works but doing a ll returns
" not found" on the 9GB file.

This file is an oracle dump that we are trying to import but for whatever reason it is reporting that it cannot access the file. We can't copy the file to the local host as there is not enough disk space on the local host.

What gives?

9 REPLIES 9
Aneesh Mohan
Honored Contributor

Re: nfs mount problem

Modify the /etc/exports entry for /rd3 on host1

/rd3 -access=host2,root=host2


Re-export /rd3 on host1

# exportfs -av


Verify that /arch is exported correctly ( do on host1)

# cat /etc/xtab
/rd3 -access=host2,root=host2


Do NFS mount on host2

host2# mount -F nfs host1:/rd3 /mountpoint


Aneesh
Norman Dignard
Regular Advisor

Re: nfs mount problem

Tried as you suggested but now I get a "permission denined" when trying to mount /rd3 on host2.

Aneesh Mohan
Honored Contributor

Re: nfs mount problem

Can you pls post the output

# cat /etc/xtab -- on host1

Aneesh
OldSchool
Honored Contributor

Re: nfs mount problem

you said: nfs export /rd3

nfs automount /rd3/data as /dumps


that's not going to work. given the above, you either export /rd3/data or mount /rd3.

.....unless you trimmed something out of the posting.....
Norman Dignard
Regular Advisor

Re: nfs mount problem

/rd1 -anon=65534
/apps -anon=65534,ro
/ -anon=65534,ro
/xfr/rdpsr_xfr -anon=65534
/xfr/sass_xfr -anon=65534
/xfr/fims_xfr -anon=65534
/xfr/dms_xfr -anon=65534
/xfr/saats_xfr -anon=65534
/xfr/rse_xfr -anon=65534
/sf1 -anon=65534
/rd2 -anon=65534
/rd3 -access=nesatst,root=nesatst
Dave Olker
Neighborhood Moderator

Re: nfs mount problem

Hi Norman,

So is it only this one file in the directory that shows up with "not found" or other files as well? Can you provide an ll listing of the directory from the NFS server system so I can see all the attributes of the file and then an ll of the NFS mounted directory from the client?

Thanks,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Aneesh Mohan
Honored Contributor

Re: nfs mount problem

Hi ,

Pls do mount on host2

host2# mount -F nfs -o rsize=32768,wsize=32768 host1:/rd3 /mountpoint

(Pls take care to add host1 ip address in /etc/hosts file of host2)


Aneesh
Norman Dignard
Regular Advisor

Re: nfs mount problem

Go figure - after letting the system sit for the weekend I unmounted/unexported everything and started fresh.

My export on host 1 was set back to
/rd3 -anon=65534 the way it was originally.

On host 2 I remounted using NFS /dumps to /rd3/nesa_data (a subdir of /rd3 on host 1) and all works fine.

ll on host 2 now reports the proper file size.

Don't you just love these magicall fixes....


Norman Dignard
Regular Advisor

Re: nfs mount problem

see previous post