Operating System - HP-UX
1827451 Members
4515 Online
109965 Solutions
New Discussion

Re: 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
John.i.Cole
Occasional Advisor

Re: How to access NAS under HP-UX

I've check the NAS admin setting and confirmed the correct setting(NFS,FTP,CIFS servers enabled) and port number which I can sucessfully access via MS-Dos but still no luck under C8000 HP-UX
Hakki Aydin Ucar
Honored Contributor
Solution

Re: How to access NAS under HP-UX

As far as I know, NAS has own web interface to configure what method you want to use with.

On the server side that NAS connected need workaround like this:

mkdir /temporary_ext
chmod 777 /temporary_ext

if you have/use CIFS ;

mount.cifs //directory_setup_nas_config /temporary_ext -o user=

Hakki Aydin Ucar
Honored Contributor

Re: How to access NAS under HP-UX

I checked our NAS and it is same with yours; Seagate Black Armour NAS110.

I just want to add ,there is an alternative USB connection if you try to connect locally witout no problems, if your server has USB interface/supported.
V. Nyga
Honored Contributor

Re: How to access NAS under HP-UX

Hi again,

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

You have to use the hostname only:
showmount -e BA-xxxx

If there's still no shared directory shown recheck the export command of the NAS.
You'll have no luck if the directory is not seen with this command.

>Tried to use #Ping BA-xxxx
>it took very long time waiting for response.

Maybe a network configuration problem?
Check with 'lanadmin - lan - dis' for errors and/or collisions at the second page.

HP C8000 should always run with a fixed lan speed, no 'Auto' setting.
Set both - C8000 and switch - at the same speed and duplex mode, autoneg 'off'!

Are both systems (HP and NAS) in the same network range?

V.
*** Say 'Thanks' with Kudos ***
Hakki Aydin Ucar
Honored Contributor

Re: How to access NAS under HP-UX

John,

Correct syntax is: (working on my environment!)
try this:

# cifsmount /Ba-xxxx/Public /Temp -U username
usename''s password on Ba-xxxx

enter password.
John.i.Cole
Occasional Advisor

Re: How to access NAS under HP-UX

Don't know why the C8000 takes a very long time to start up after turning all the server clients on(NIS, NFS,FTP). The machine seems keep trying to connect to this servers.
Hakki Aydin Ucar
Honored Contributor

Re: How to access NAS under HP-UX

John,
Can yo try to use this locally for test purpose? use the server's Ethernet interface directly to be sure if there is any network congestion like bad routing setup OR another bottleneck in your network ?
V. Nyga
Honored Contributor

Re: How to access NAS under HP-UX

Hi again,

>Don't know why the C8000 takes a very long time to start up
Can you specify 'very long'?
Can you see, which step of the boot process takes so long?
Is it 'Start NFS client subsystem'?

Have you added a line in /etc/fstab for the NAS directory?
You can test if it's faster without it if you comment it out (with a # at the beginning of the line).

V.
*** Say 'Thanks' with Kudos ***