Operating System - HP-UX
1833381 Members
3506 Online
110052 Solutions
New Discussion

Re: exportfs and mount problem.

 

exportfs and mount problem.

I created an exports file as follows on server ab_o3 running 11.00 and exported the directory to ab_01. The exportfs file as follows;

//dev/vg_nd01/data110 -access=ab_01
(Note //dev/vg_nd01/data110 is 1GB size with no data)

After using the command exportfs -a on ab_03, it reported no error.

On server ab_01, I tried to mount the exported file to /a and the result is shown as

ab_03:/dev/vg_nd01/data110
143360 69582 69184 50% /a

You can see that 143360KB is used.
Also when you try to umount it, it says

umount: cannot unmount /a : Invalid argument.

What do I do? urgent!

Thank you.

6 REPLIES 6
G. Vrijhoeven
Honored Contributor

Re: exportfs and mount problem.

Hi,

Did you try:
umount ab_03:/dev/vg_nd01/data


If so do did you make sure that the mountpoint is not busy. * fuser command?

can you provide the output of
cat /etc/mnttab | grep /a


HTH,

Gideon
Patrick Wallek
Honored Contributor

Re: exportfs and mount problem.

You normally do not export the LV itself. You should export the filesystem name as it is mounted on the ab_03 system.

Say /dev/vg_nd01/data110 is mounted to /abc123

Your exports file should be:

/abc123 -access=ab_01

Then run 'exportfs -av' and try mounting.

Is this the only NFS mount you have?

If so, try:

umount -a -F nfs

That will attempt to unmount ALL mounted NFS filesystems.
Jan Sladky
Trusted Contributor

Re: exportfs and mount problem.

Hi David,

Patrick is right, mount points are normally exported

if you trying it like root from ab_01
add -root=ab_01 to exportfs file

if you want better security, add anon=-2
and unknown users gonna have access like nobody

rgds Jan
GSM, Intelligent Networks, UNIX

Re: exportfs and mount problem.

The result of umount ab_03:/dev/vg_nd01/data

umount: cannot unmount /a : Invalid argument

The result of cat /etc/mnttab |grep /a
ab_01:/ # cat /etc/mnttab |grep /a

/dev/vg_filesys/arbor /opt/arbor vxfs log,nodatainlog 0 0 1110624472
/dev/vg_filesys/archive /var/archive vxfs log,nodatainlog 0 0 1110624474
ab_s_03a:/dev/vg_nd01/data110 /a nfs defaults 0 0 1110986335


The result of umount -a -F nfs:
umount: cannot unmount /a : Invalid argument

What do I do next?

Re: exportfs and mount problem.

I want to add that the /dev/vg_nd01/data110 was created on a DS2300 disk system attached to ab_03 with two controllers in split mode.

Please assist urgently!
Thank you.
V. Nyga
Honored Contributor

Re: exportfs and mount problem.

Hi,

reboot ab_01 and retry with the settings Patrick mentioned.

Volkmar
*** Say 'Thanks' with Kudos ***