Operating System - HP-UX
1832055 Members
3315 Online
110034 Solutions
New Discussion

Re: How to mount a Unix directory to PC and vice versa?

 
Joshua Goi
Frequent Advisor

How to mount a Unix directory to PC and vice versa?

Hi,

How do I mount a Unix directory to PC and vice versa? I'm using Win2k. Thanks!
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: How to mount a Unix directory to PC and vice versa?

You need to install a product called CIFS aka Samba on the HP-UX. It's a free product. NFS is also available for Windows but CIFS is your better choice.

If it ain't broke, I can fix that.
G. Vrijhoeven
Honored Contributor

Re: How to mount a Unix directory to PC and vice versa?

Hi,

Or you install an nfsclient on windows
and export a file system ( exportfs -i /
. You will be able to mount it on windows. Or install CIFS or SAMBA on unix. this way you can use the explorer to mount a unixdisk on windows.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8725-90061/B8725-90061_top.html&con=/hpux/onlinedocs/B8725-90061/00/00/13-con.html&toc=/hpux/onlinedocs/B8725-90061/00/00/13-toc.html&searchterms=samba&queryid=20040505-125127

HTH,

Gideon
Joshua Goi
Frequent Advisor

Re: How to mount a Unix directory to PC and vice versa?

Does that mean when I install Samba on my hpux box i will be able to export my directories to pc and vice versa?
G. Vrijhoeven
Honored Contributor

Re: How to mount a Unix directory to PC and vice versa?

Hi,

I am not sure about the vice versa part. You will for sure be able to mount the unix disk on the w2k server. If you check the link i provided you will found the info you need to set it uo.

Regards,

Gideon
Mel Burslan
Honored Contributor

Re: How to mount a Unix directory to PC and vice versa?

according to our windows platform support guys, to accomplish the vice versa part of this, you need to enable the unix services for windows, which should be already included in the win2k that you have. As we are all darn XP here, I could not test this idea. But basically to turn on the unix svcs for win, you do this:

right click My network places
select properties
right click Local Area Connection
select properties
click install
select service
click add

at this point unix svcs for windows shouls be given you as an option. if not, you can d/l it from microsoft and choose have disk option

after completing activation of this new service, you should be able to see something like unix nfs service which you need to turn on and configure to make your disks/directories visible to the unix side.

hope this helps
________________________________
UNIX because I majored in cryptology...
Darren Prior
Honored Contributor

Re: How to mount a Unix directory to PC and vice versa?

Hi,

CIFS can provide the functionality for both your ideas.

CIFS server - allows a HP-UX directory to be mounted on a PC as a network share.

CIFS client - allows a shared drive from a PC to be mounted on a HP-UX system.

Both of these products are free from HP and available from http://software.hp.com with documentation from http://docs.hp.com

regards,

Darren.
Calm down. It's only ones and zeros...
Berlene Herren
Honored Contributor

Re: How to mount a Unix directory to PC and vice versa?

Something else you may want to look at is Windows Services for Unix. (BTW, this is supported in the response center by our Windows team)

http://www.microsoft.com/windows/sfu/

Berlene

http://www.mindspring.com/~bkherren/dobes/index.htm
Jairo Campana
Trusted Contributor

Re: How to mount a Unix directory to PC and vice versa?

I use cifsclient for mount of unix a disk un servers windows

Install Cifsclient
see /etc/opt/cifsclient/cifsclient.cfg
file of configuration

to manuals:
/opt/cifsclient/HP_Docs/CIFS9k_Client_Manual.pdf
example
connect from unix to windows usr cifsmount
/opt/cifsclient/bin/cifsmount //whd2k00/c$ /test -U Administrator

test is a directory in Unix

legionx