- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sharing a FS between Windows - Unix
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:31 PM
тАО03-02-2006 06:31 PM
Is there any way we can mount any Windows directory to our HP-UX box. I have installed SAMBA in our HP-UX box & trying to find if I can mount the same. My Windows server is standalone box, it is not attached with any domain, but my Unix box is attached with Domain.
Can anybody advise me how it can acheive
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:46 PM
тАО03-02-2006 06:46 PM
Re: Sharing a FS between Windows - Unix
You can do this with smbclient
Check the man page
man smbclient
http://www.hmug.org/man/1/smbclient.php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:47 PM
тАО03-02-2006 06:47 PM
Re: Sharing a FS between Windows - Unix
smbfs is linux only feature. No other version of Unix supports that. You need kernel level support for such a thing.
You can install NFS services on windows box and mount windows share as NFS file system.
There is also possibility to use linux box "as a bridge" to do that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:53 PM
тАО03-02-2006 06:53 PM
Re: Sharing a FS between Windows - Unix
I also have a look that smbclient facility but no luck..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 07:20 PM
тАО03-02-2006 07:20 PM
Re: Sharing a FS between Windows - Unix
How to use linux feature?
First mount windows share in some mount point as smbfs (for example /mnt/windisk). Than export that directory as NFS share so HP-UX can mount it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 08:13 PM
тАО03-02-2006 08:13 PM
SolutionYou could use HP's CIFS client software. It's free and supported by HP. There is documentation available from http://docs.hp.com
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 12:23 AM
тАО03-03-2006 12:23 AM
Re: Sharing a FS between Windows - Unix
I think I was looking for this solution. Would appreciate if you can pass me some example configs where dir canbe mounted from WIN to HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 12:41 AM
тАО03-03-2006 12:41 AM
Re: Sharing a FS between Windows - Unix
To make a simple connection between UNIX and Windows you create your samba environment and set up a samba share (that's what you mount to when coming from Windows to UNIX).
To start Samba...it's startsmb; to stop stopsmb; to check status smbstatus.
Make sure you put where these are in your PATH statement (/opt/samba/bin).
Then on the Windows box you just go to Start/Explore and from top toolbar hit Tools/Map Network Drive...then select an open drive, in Folder put: \\UNIX-Box\share-name
Now if Windows is exporting the file system, get that info from Windows on how to do it.
On the UNIX box to import the file system is a simple matter of mounting an NFS fs...
/usr/sbin/mount -F nfs
Rgrds,
Rita
...least that's as far as memory recalls...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 01:15 AM
тАО03-03-2006 01:15 AM
Re: Sharing a FS between Windows - Unix
cifsclient start
mount -F cifs servername:/sharetomount /mountpoint
cifslogin servername accountname
You can then use cifslist to show the connections, and use normal HP-UX commands to move round the share, delete/write files, etc.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 04:22 AM
тАО03-03-2006 04:22 AM
Re: Sharing a FS between Windows - Unix
/usr/bin/cifsmount "//Winserver/Winshare" /mountpoint -U Winuser -P Winpassword -I IPofWinserver
I got this from the forums somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2006 07:21 AM
тАО03-03-2006 07:21 AM
Re: Sharing a FS between Windows - Unix
If you're runing 11.11 or 11.23, you most likely already have CIFS Client installed - which BTW is your best Windows->Unix filesharing solution.
How?
edit /etc/rc.config.d/cifsclient
set RUN_CIFSCLIENT=1
edit /etc/opt/cifsclient/cifsclient.cfg
domain = "YourWindows_workGroup_or_Domain"
guestUser = "root"
Start Cifsclient:
/opt/cifsclient/bin/cifsclient start
Create mount directory on unis - say /winshare
Mount so it is static/survies reboots:
cifsmount \\winserver\fileshare /winshare -s -U windowsusername
man on cifsmount for other options.
Hope this helps.
Another Solution is install Windows SFU (Services for UNIX) on windows and share to UNIX via NFS.