Operating System - HP-UX
1753931 Members
9501 Online
108810 Solutions
New Discussion юеВ

NAS mounting to hpux 10.20

 
SOLVED
Go to solution
Eugene Klaus
Frequent Advisor

NAS mounting to hpux 10.20

We have 50gb of NAS and have tried to mount it to a k460 with hpux 10.20.
19.5.152.37:/proj/ /proj nfs rw,nosuid,hard,nointr,bg,retry=4 0 0
is the fstab entry.
the mount proceded without error and bdf registers the mount clearly.
19.5.152.37:/proj/ 51628784 584 51628200 0% /proj
showmount -a reports nothing
netstat does not show the connection anywhere
and if i try to create a directory undet /proj
i get the message that this is a read only filesystem.

HELPPP!
PLease!!
Thanks in advance
I have promises to keep and miles to go before I sleep and miles to go before I sleep
12 REPLIES 12
Jeff_Traigle
Honored Contributor
Solution

Re: NAS mounting to hpux 10.20

showmount only shows what clients have the host's exported file systems mounted.

Not sure how an NFS connection would show up in netstat offhand. What options did you use?

The error seems to indicate that the problem is permissions on the NAS. You mounted it rw on the 10.20 server, but is the NAS configured to allow rw to the exported file system?
--
Jeff Traigle
Eugene Klaus
Frequent Advisor

Re: NAS mounting to hpux 10.20

Yes it is, they mounted to another server and
were able to create a directory w/o prblm
if i do just a plain nfs mount to my server no prblm
i believe it is related to the fact that were are dealing with nas not simply and exported filesystem
is there some patch or software necessary to establish a usable mount for nas?
I have promises to keep and miles to go before I sleep and miles to go before I sleep
Silver_1
Regular Advisor

Re: NAS mounting to hpux 10.20

We have nas mounts and these are the option used for mounting.


cart-d2db:/vol/oracle/test /nas01 nfs rw,soft 0 0

it is perfectly working fine.
Eugene Klaus
Frequent Advisor

Re: NAS mounting to hpux 10.20

Thanks to all who have replied so far.
Nair I tried you setting and the result was the same. I a searching for a patch for NFS which may help.

I suspect it is either a missing patch or HPUX does not like EMC's setting for large files. I have found a document which alludes to HPUX 10.20 not working with setting for files larger than 2GB.

I have promises to keep and miles to go before I sleep and miles to go before I sleep
Muthukumar_5
Honored Contributor

Re: NAS mounting to hpux 10.20

Your /etc/mnttab setting is having the problem. You have to put *rw,* setting in /etc/mnttab.

Or Remove that entry in /etc/fstab and try manually mounting as,

# umount /proj
# mount 19.5.152.37:/proj /proj

what is happenning now.

--
Muthu
Easy to suggest when don't know about the problem!
Eugene Klaus
Frequent Advisor

Re: NAS mounting to hpux 10.20

Muthu,

I have the rw setting in the fstab and still after mounting it says
/etc # mkdir /proj/mine
mkdir: cannot create /proj/mine: Read-only file system
even attempting to copy a small text file gets the same message.
I have promises to keep and miles to go before I sleep and miles to go before I sleep
Muthukumar_5
Honored Contributor

Re: NAS mounting to hpux 10.20

Do this:

# umount /proj

Remove the entries in /etc/fstab and /etc/mnttab for /proj.

Try to mount now as,

# mount 19.5.152.37:/proj /proj
# mkdir /proj/testdir

If you are getting same error then the problem is in file system exporting end. They may be exported as RO file system. Check as,

# showmount -e 19.5.152.37

what are you getting for this?

--
Muthu
Easy to suggest when don't know about the problem!
Eugene Klaus
Frequent Advisor

Re: NAS mounting to hpux 10.20

Muthu,

I removed the entries in fstab.
Then
/etc # mount 19.5.152.37:/proj /proj
/etc # mkdir /proj/mine
mkdir: cannot create /proj/mine: Read-only file system
I have promises to keep and miles to go before I sleep and miles to go before I sleep
Muthukumar_5
Honored Contributor

Re: NAS mounting to hpux 10.20

hm. Problem is from NFS exporting side. They were exporting as RO file system. You have to have rw or root permission to your machine.

Check this:

# showmount -e 19.5.152.37

--
Muthu
Easy to suggest when don't know about the problem!