NFS sharing across platforms


 
Thread Tools Search this Thread
Operating Systems Solaris NFS sharing across platforms
# 1  
Old 01-05-2011
NFS sharing across platforms

Hi,

Not sure where to post this, I'm sorry and need suggestion if this is wrong section.

we are running NFS Server on Solaris 10 and client box is HP-UX 11.11 (Can't apply latest patches/upgrades as in-house appln. doesn't allow)

I am able to mount NFS shares from this Solaris box onto all other Solaris boxes and also able to mount NFS shares of other HP-UX boxes onto this HP-UX Box.

But the problem comes when i try to mount NFS share from Solaris on HP-UX box, it says "Permission denied". It actaully works perfectly when i export/share as below on SUN box:

Code:
share -F nfs -o rw /exp1

But this is not acceptable as there's no access-list so i tried below:

Code:
share -F nfs -o rw=hpux1.xyz.com /exp1

but it shows error saying "Permission denied" on HP Box. Interesting "showmount -e" on HP box does NOT show any errors and gives correct output.

My findings:

1. Able to ping in both directions with hostnames, FQDNs and IP addresses.

2. They are in 2 different subnets

3. I checked NFS versions and found NFS2,3&4 are supported on Solaris and only 2&3 are on HPUX box.

Please advise.

Thanks in advance,
Prvn
# 2  
Old 01-05-2011
What is in /etc/exports on your nfs server for this share?
Whats is the /etc/fstab entry for this share on the hpux system?
# 3  
Old 01-05-2011
Hi

On Solaris box(NFS Server), it's /etc/dfs/dfstab (not /etc/exports) and the entry is#
Code:
share -F nfs -o rw=hpux1.xyz.com /exp1


On HP-UX (NFS client), I didn't setup fstab yet as mount command still throwing error. The command i tried is
Code:
mount -F nfs sun1.xyz.com:/exp1 /sunexp

# 4  
Old 01-05-2011
Does the "hpux1.xyz.com" resolve to the same IP address on each host? Try using just the IP address of the HPUX host on your dfstab. You might have to prepend an "@" in front of the IP address.

Which version of NFS are you trying? Try mounting as vers=2 and vers=3. Cross-platform NFSv4 can be very unreliable in my experience.
# 5  
Old 01-06-2011
Quote:
Originally Posted by achenle
Does the "hpux1.xyz.com" resolve to the same IP address on each host? Try using just the IP address of the HPUX host on your dfstab. You might have to prepend an "@" in front of the IP address.
Yep, both hostnames are perfectly being resolved on both systems, eventhough i tried with IP address but same error.

Quote:
Originally Posted by achenle
Which version of NFS are you trying? Try mounting as vers=2 and vers=3. Cross-platform NFSv4 can be very unreliable in my experience.
I tried both Ver.2 and Ver.3 (as no support of NFS.4 on HP-UX Box 11.11) but same error.

-Prvn
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Single LUN or multiple smaller LUNs for NFS sharing

We are using Solaris 11 Logical Domains. We NFS share a disk backup area from one LDom to other servers. The share is on a single 1.5 Tb LUN presented to the Control Domain, and as a virtual disk on the NFS server LDom. A 1.5 Tb zpool has been created on the LDom. We now need to provide more disk... (2 Replies)
Discussion started by: SallyB
2 Replies

2. UNIX for Dummies Questions & Answers

Sharing a network mount preferably with NFS

Hello, I would like to share a 9p (Plan 9) passthrough/share to a VM via NFS (using a guest as an NFS server to share a directory from the host) At the moment I am getting the error message: 'exportfs: /share does not support NFS export'... (2 Replies)
Discussion started by: Scratch
2 Replies

3. UNIX for Dummies Questions & Answers

Program sharing on NFS

I am not sure is this plausible... I have just built a NFS master server on a solaris box (secured by NIS) And I have a dozen of virtual machines running 32 and 64 bits linux and windows, running different types of servers. I am not sure is it possible to move most of the programs to the... (6 Replies)
Discussion started by: xstaci
6 Replies

4. UNIX for Dummies Questions & Answers

ACL (POSIX and NFSv4) Support over NFS shared drives on different Unix platforms

Hello, I have a question regarding ACLs and their availability across different Unix platforms via NFS share. If I have an AIX/FreeBSD/Solaris/HP-UX client that has an nfs share from a different system mounted on it, will the ACLs on the nfs share be processed properly? My guess is that as... (2 Replies)
Discussion started by: bstring
2 Replies

5. Solaris

Problem with nfs sharing, permission denied for writing.

Hi I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 : on machine 1 (10.10.10.32) : share -F nfs -o rw /u01/portalrepository/ on machine 2 (10.10.10.31) : mount -F nfs... (35 Replies)
Discussion started by: Al-Mothafar
35 Replies

6. High Performance Computing

sharing web files via NFS mount

I'm planning to load balance 2 web servers. I'm considering mounting an NFS share between the 2 servers so they can share the data. My question is: does this setup offset some of the benefits of load balancing? although there are 2 web servers, they both still access a single NFS server. Wouldn't... (2 Replies)
Discussion started by: gaspol
2 Replies

7. Web Development

NFS file sharing among web servers

I'm exploring the possibility of load balancing 2 web servers and have both access an NFS share on an NFS server. I'm wondering which types of data would need to reside on the webservers and the NFS server. Would the entire web directory (HTML, CSS, images, documents) all reside in the NFS server... (1 Reply)
Discussion started by: gaspol
1 Replies

8. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

9. Linux

Problem in sharing Symlink via NFS

Hi, I have created symlink under /. It is /latest Pointing to /home/users/neel_prog_V1.0. (Note: I have created this symlink so that when version get changed I will need to change only symlink instead of doing changes in /etc/exports.) I have shared this symlink with NFS. in /etc/exports I... (0 Replies)
Discussion started by: neel.gurjar
0 Replies

10. Filesystems, Disks and Memory

Sharing ISO images over NFS

I've got a bunch of application CDs that I use here at home under Wine. They are Windows applications and as such, some of them want to see the volume label in order for the application to run. So... just copying the CD-ROM contents to a directory doesn't work. With that in mind, what I've done... (1 Reply)
Discussion started by: deckard
1 Replies
Login or Register to Ask a Question