1833738 Members
2509 Online
110063 Solutions
New Discussion

nfs mount

 
Anthony khan
Frequent Advisor

nfs mount

Hi,

I am exporting filesystem from HP-UX 11 with this line in /etc/exports

/devl/ec_apps/shared -rw=server2
/accp/ec_apps/shared -rw=server2

Now i am mounting it on server2 which has HP-UX 10.20

mount server1:/devl/ec_apps/shared /usr/local/shared/devl/ec_apps

which mounted but if I want to remove a file its give me error that the file system is read only, is there any issue between HP-UX 11 and 10.20, can some one put a light on it.

Thanks
10 REPLIES 10
Christopher McCray_1
Honored Contributor

Re: nfs mount

Hello,

Check out this link:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc4e1f841489fd4118fef0090279cd0f9,00.html

In you fstab do you have the rw option?

Hope this helps

Chris
It wasn't me!!!!
Christopher McCray_1
Honored Contributor

Re: nfs mount

Jean-Louis Phelix
Honored Contributor

Re: nfs mount

Hello,

The only restriction concerns root. In your exports file if you need to have root access on server2 for the nfs mounted fs, you have to add ",root=server2".

Regards,

Jean-Louis.
It works for me (© Bill McNAMARA ...)
Ashwani Kashyap
Honored Contributor

Re: nfs mount

By default , on the client NFS mount root have no write access .

TO get that access export your filesystem with root=server1,server2 .. option .
MANOJ SRIVASTAVA
Honored Contributor

Re: nfs mount

Yes ther are issues if you do a nfs across 10.02 and 11.00 but it should be able to make you mount proeprly and you should anto ahve issues invloving permissions . Please look at this thread :


http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb37942308663d611abdb0090277a778c,00.html


Manoj Srivastava
Rob Fisher
Advisor

Re: nfs mount

Try adding anon=65534, so it would be:

/devl/ec_apps/shared -rw=server2,anon=65534

There are a couple of other things that I have tried to make this work. So, let me know if this does not work.
May the winds of life keep you on the right tack
Anthony khan
Frequent Advisor

Re: nfs mount

Rob,

I have tried your suggestion but it doesn't work any other solution.

Thanks
S.K. Chan
Honored Contributor

Re: nfs mount

Maybe hostname resolution problem here. Try it with full the full domain name. For instance server2.abc.com instead of just server2.
Anthony khan
Frequent Advisor

Re: nfs mount

Hi,

Can some one help me out to resolve this problem,

I exported filesystem from HP-UX11 (Server1) and mounted on HP-UX 10.20 (Server2)and i cannot remove files from HP-UX 10.20 (Server2) its says the filesystem is read only.This is a line I used in /etc/exports

/devl/ec_apps/shared -rw=server2
Robert-Jan Goossens
Honored Contributor

Re: nfs mount

Hi,

Just mounted a dir from a HP-ux 11.0 to a Sun. It is not the same situation as your case but it may give you a hint.

Look at:
/etc/exports

db001:/etc# cat /etc/exports
/var/opt/ignite/clients -anon=2
/home -anon=65534,root=db017,access=db017

exportfs
db001:/etc# exportfs
/var/opt/ignite/clients -anon=2
/home -anon=65534,root=db017,access=db017


on the remote server
mount db001:/home /mnt

/home is mounted and i can read / remove / add all files.

Regards and i hope it helps.

Robert-Jan.