03-19-2009 01:07 AM
I have a HP-UX C8000
uname -a :
HP-UX c8000 B.11.11 U 9000/785 4268252796 unlimited-user license
I would like to access an share on my NAS
I have an active directory for the control access
I would like mount the repertory : //entreprise.net/data/proc
It's an access DFS.
with the repertory /entreprise
03-19-2009 01:24 AM
If you need to access it using Microsoft Windows-compatible protocols, you'll need a "CIFS Client" package for HP-UX, available for free from software.hp.com:
Documentation and release notes:
http://www.docs.hp.com/en/netcom.html#CIFS (Common Internet File System) Client
If your NAS supports the NFS protocol, you could use it to access the share without installing any extra software. HP-UX 11.11 supports NFSv2 and NFSv3 as standard. For more information on how to mount NFS shares on HP-UX, type "man mount_nfs" on HP-UX command prompt.
03-19-2009 01:31 AM
Manage CIFS Shares :
The "computer"'s name : FAS2020B
Now, with Windows 2003, I install the DFS
The user can access on network with //entreprise.net/data <--> //fas2020b/qtree_fib$
I would like to mount the repertory in my C8000 /entreprise to //entreprise.net/data
I am going to see your documentation.
03-19-2009 02:40 AM
But I have 2 questions :
How to mount a share directly in a repertory?
See my command :
1)cifsmount -Uuser -Ppassword -Ddomaine //FAS2020B/qtree_ficb$ /entreprise
FAS2020B --> NAS
QTREE_FICB$ --> SHARE CIFS on NAS
It's work !
Now I would like
/entreprise --> \\fas2020b\qtree_ficb$\data\cfao\unix
If i try :
cifsmount -Uuser -Ppassword -Ddomaine //FAS2020B/qtree_ficb$/data/cfao/unix /mecahers
--> SRV: Invalid netname
03-23-2009 05:13 AM
I think for this you have to define the exact path as a share point:
BTW.: Netapp also offers NFS licenses, so you can 'exportfs' directories too, then you can use hp-ux nfs as suggested above.
We are using this for our storage environment.
03-26-2009 01:54 PM
> cifsmount -Uuser -Ppassword -Ddomaine //FAS2020B/qtree_ficb$/data/cfao/unix /mecahers
> --> SRV: Invalid netname
The HP CIFS Client does not support the syntax you have specified:
cifsmount [options] //server/full/path/of/directory
It must be specified as:
cifsmount [options] //server/share_name
So the directory you want to mount will have to be configured as a share on the server.
03-26-2009 02:28 PM
Most real NAS devices permit NFS mount. I would use AutoFS or automounter.
If not available, then you need to install the Samba CIFS client on HP-UX and use that to mount.
The above listed tools are not available, so you will need to use a script or /etc/fstab to mount the shares.
CIFS is intended for mounting Samba shares, not a direct microsoft type DFS connect. It must be a windows share for HP-UX/CIFS to mount it. You will need a user id and password for the HP-UX machine to perform the mount.
Owner of ISN Corporation
03-27-2009 12:04 AM
> CIFS is intended for mounting Samba shares,
> not a direct microsoft type DFS connect. It
> must be a windows share for HP-UX/CIFS to
> mount it. You will need a user id and
> password for the HP-UX machine to perform
> the mount.
Let me try to clear up some of these misconceptions.
The HP CIFS Client interoperates with CIFS servers of all kinds, Windows, Samba, and many proprietary CIFS servers, including those from NetApp, EMC, Apple, IBM and others. We tested this thoroughly at multi-vendor interoperability labs twice a year for several years. CIFS is a networking protocol, so any client/server combination that observes the rules of the protocol will work. The server operating system can be Windows, Linux, Unix, or anything else--if the CIFS server software running on it is implemented correctly, the HP CIFS Client will work with it.
The HP CIFS Client does indeed support DFS. This enhancment became available in HP CIFS Client version A.02.02, released around April, 2006. The implementation does have some limitations. See the release notes at docs.hp.com.
Lastly, you do not need to have a username and password on the server to do the mount. Only 'root' can mount a share at the CIFS Client HP-UX host, but 'root' is not required to have a account on the server. Any user on the CIFS Client host must have an account and password on the CIFS server in order to successfully do cifslogin to access the mount. The username and password options to cifsmount are provided as a convenience, in the case where 'root' has an account on the server, but they are just that--options.
03-31-2009 02:20 AM
Modify the flag to 1
Create the mount :
cifsmount //fas2020b/share$ /mecahers
Associate an login :
cifslogin â s â Uuser â Ppassword â Ddomain //fas2020b/share$