How to mount a windows share on HP-UX

sexta-feira, 4 de janeiro de 2013

After some time away... here is a new post :-)
and by the way... Happy New Year!!

Requirements:

- User account on Windows box
- Root access on HP-UX box
- cifs patch installed on HP-UX
- Network communication between them (client and server)
- Directory shared on Windows

Check if cifs is running:
# cifsclient status

If it is not running..
# cifsclient start

Create a directory to be used for your mount point and use the bellow command to mount:
# cifsmount //WINDOWSserverHostname/DirectoryShared /YourMountpoint -U username

Check the man pages for more flags to be used with cifsmount command.