Operating System - HP-UX
1837655 Members
2879 Online
110117 Solutions
New Discussion

Re: How do i mount Windows NT file system on HP-UX server.

 
pap
Respected Contributor

How do i mount Windows NT file system on HP-UX server.

Hi,
I want to mount windows NT file system /abcd on HP-UX server on a directory /hp-abcd

Can anybody tell me for sucessful mounting what needs to be done on NT side and on HP side.

Thanks,
-Piyush.
"Winners don't do different things , they do things differently"
9 REPLIES 9
harry d brown jr
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

Get CIFS9000 from HP - its free, and it's really samba! You want the CLIENT module.

live free or die
harry
Live Free or Die
pap
Respected Contributor

Re: How do i mount Windows NT file system on HP-UX server.

Thanks for that,
I need to know the commands for mounting NT filke system on HP.

Not the packages.

Thanks,
-Piyush.
"Winners don't do different things , they do things differently"
Patrick Wallek
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

What version of HP-UX? If you are on 10.20, download SAMBA and install it.

If you are on 11.X have a look at HPs CIFS9000 products:

CIFS9000 Client (allows mounting of NT shares):
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8724AA

CIFS9000 Server (allows NT to mount HP-UX shares):
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8725AA
pap
Respected Contributor

Re: How do i mount Windows NT file system on HP-UX server.

Let me know the command I have NFS maestro.

Thanks,
-Piyush.
"Winners don't do different things , they do things differently"
Patrick Wallek
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

CIFS9000 Client manual is available here:

http://www.docs.hp.com/hpux/onlinedocs/B8724-90011/B8724-90011.html

In the section "Installing and Configuring the CIFS/9000 Client" go to the sub-section "More on Mounting CIFS Filesystems" and it will give instructions on how to mount the filesystems.
Helen French
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

Hi Piyush,

Once you install the CIFS/9000, you will get access to all shares from NT.

OR check this thread for command lines:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x366c37f45ef7d4118fef0090279cd0f9,00.html

HTH,
Shiju

Life is a promise, fulfill it!
Patrick Wallek
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

The NFS Maestro information would have been helpful in the original question!!!!!

If the filesystem on the NT is exported, then you just use the 'mount' command to mount. Something like:

# mount nt_machine:/abcd /hp_abcd

Do a man on mount_nfs for NFS specific mount options.
harry d brown jr
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

pap,

On your NT, if you are mounting an HP drive, then on the HP you have to export your mount point:

man exportfs

add entry to /etc/exports

On your HP, if you are mounting an NT drive, then you have to export your mount point from your NT, and then on your HP mount -F nfs hostname:path localdir


live free or die
harry
Live Free or Die
Jeff Schussele
Honored Contributor

Re: How do i mount Windows NT file system on HP-UX server.

Hi pap,

First ensure you have the NFS client started on the HP-UX system.
Run #ps -ef | grep rpc
You should see rpcbind rpc.statd & rpc.lockd
If running 10.20 you're looking for portmap
If none are running then you need to start the NFS client:
#/sbin/init.d/nfs.core start then run
#/sibn/init.d/nfs.client start

Your /etc/rc.config.d/nfsconf should contain (prior to running above)
NFS_CLIENT=1
NFS_SERVER=0 ( if not serving NFS)
NUM_NFSD=0
NUM_NFSIOD=4
PCNFS_SERVER=0
START_MOUNTD=0

At this point you can try to mount the NFS dir the NT is exporting.
#mount ntservername:/abcd /hp-abcd
Provided you've created the mount point & the NT server is in DNS (or NIS)or at least in /etc/hosts and is exporting that file-system
You can verify that the NT server is exporting FSs with the showmount command:
#showmount -e ntservername
If no file systems appear - you'll have to set them up on the NT server - before you can mount them on the HP system.
If not sure if NT server is set to serve NFS you can run
#rpcinfo -u ntservername nfs (for UDP) or for TCP use:
#rpcinfo -t ntservername nfs

If the NT server returns nothing then it's not setup as a NFS server.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!