Operating System - HP-UX
1751800 Members
5162 Online
108781 Solutions
New Discussion юеВ

How to access NAS under HP-UX

 
SOLVED
Go to solution
John.i.Cole
Occasional Advisor

How to access NAS under HP-UX

I have a C8000 HP workstation running HPUX B.11.11 and now to access a Seagate NAS110.
I have the cifsclient installed on my C8000 but still not sure how to access the NAS.

The name of the NAS is Ba-XXXX and I am using the default setting. There is a Public directory in the NAS which I can access under all my window machines


IтАЩve tried:

#cifsclient start
#cifsmount //Ba-xxxx/Public /Temp

This seems ok,however, when tried to go to Temp

#cd /Temp

It gave :Temp :Permission Denies


When trying

#cifsmount тАУUusername тАУPpassword //Ba-xxxxx/Public /Temp

Results:

Time Out


Does anyone has any ideas to my problem. I am quite sure the C8000 is able to read/write file to NAS or is there a better way to do so? Thanks a lot.
17 REPLIES 17
V. Nyga
Honored Contributor

Re: How to access NAS under HP-UX

Hi,

from some threads I read it seems like you need a 'space' between -U and username and -P and password.

Since the NAS also supports NFS, it probably better to use this protocoll for ux.

HTH
V.
*** Say 'Thanks' with Kudos ***
Steven E. Protter
Exalted Contributor

Re: How to access NAS under HP-UX

Shalom,

It depends on the NAS.

showmount -e hostname_of_NAS

This will show you NFS shares set up and public.

A NAS device normally has two access modes, cifs and NFS. You may have to ask someone.

On the CIFS side, do you have a current CIFS/9000 client installed? swlist -l product | grep -i cifs

Are you using active directory? If so, is the C8000 workstation a member of the domain?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
John.i.Cole
Occasional Advisor

Re: How to access NAS under HP-UX

I've check the NAS and it does support NFS.

I'll try to use nfs mount.so it comes another questiong....how to use the nfs mount commond?
Steven E. Protter
Exalted Contributor

Re: How to access NAS under HP-UX

Shalom,

You can set it up in fstab or do it on the command line.

See this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1243609

Syntax:- mount -F nfs server:/shared_directory /mount_directory

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
V. Nyga
Honored Contributor

Re: How to access NAS under HP-UX

Hi again,

as Steven posted:
showmount -e hostname_of_NAS
to see the exported directories.
If none is exported, you have to check the manual of the NAS to export a directory.

Then:
mount Ba-xxxx:/ /Temp

To make it permanent add it to /etc/fstab like:
Ba-xxxx:/ /Temp nfs rw,bg,hard 0 0

HTH
V.
*** Say 'Thanks' with Kudos ***
John.i.Cole
Occasional Advisor

Re: How to access NAS under HP-UX

Thanks for the replys.
Still no success so far.

I used
# showmount ├в e BA-xxxx/Public
But no shared directory shown.

I have configured the NAS to export the share folder in NFS server.

Tried to use #Ping BA-xxxx

it took very long time waiting for response.

Also tried
# mount ├в F nfs //Ba-xxxx/Public /Temp

Time out then giving up ├в ┬ж.

Any more idea on this ?
Aneesh Mohan
Honored Contributor

Re: How to access NAS under HP-UX


Are you able to do telnet the NAS NFS service port ?. Do you have any firewall in between Workstation & NAS ?

from your workstation
#telnet NASIP 2049



Aneesh

John.i.Cole
Occasional Advisor

Re: How to access NAS under HP-UX

Don't have any firewall between.

Tried #telnet Ipaddress 2049

Unable to connect to remote host : Time out.

any idea?
Aneesh Mohan
Honored Contributor

Re: How to access NAS under HP-UX



Check with your NAS admin how they are sharing the disk and which port is used for that ?

Aneesh