1753922 Members
7158 Online
108810 Solutions
New Discussion юеВ

NFS with Windows.

 
SOLVED
Go to solution
Suren Selva
Advisor

NFS with Windows.

Hello All,

We have a need for a Windows server to be able to share certain files with an HP filesystem.

How can this be done?

Thanks in advance to all replies.

Regards,
Suren Selva
Unix Administrator
Experience is worth nothing if not gained from!
4 REPLIES 4
harry d brown jr
Honored Contributor
Solution

Re: NFS with Windows.

I'd suggest getting SAMBA, which in the HP world is called CIFS9000.

http://www.hp.com/products1/unix/operating/hpuxcifs9000/


live free or die
harry
Live Free or Die
Hai Nguyen_1
Honored Contributor

Re: NFS with Windows.

Suren,

You should look into using the CIFS server/client bundle. They are free, optional HP software which enables file sharing between HP and Windows.

Hai
Bill Hassell
Honored Contributor

Re: NFS with Windows.

Just a note about sharing files between unrelated operating systems: If the files are in binary format and the applications in both computers don't expect anything special about record sizes, all should be well. ASCII files will be a problem. In fact, plain ASCII files are stored very differently in most major operating systems (mainframes and commercial systems like MPE, the HP3000) have many different ways to store ASCII files.

The problem with PC and HP-UXis that PC ASCII files (and we're not talking about .doc files as these aren't usable in HP-UX) have each line terminated with CR+LF, while HP-UX files have just LF at the end of each line. So, if you look at a PC ASCII file with vi, you'll see ^M (CTRL-M or the CR character) at the end of each line. And on the PC side, you'll see HP-UX ASCII files (using Notepad) are all one long line with black splotches at the end of each line.

So, HP-UX can fix the files but not automatically. You convert from PC to HP-UX with dos2ux and convert the other way with ux2dos. Note that ftp can do this also by using the ASCII option when transferring either direction.


Bill Hassell, sysadmin
Stefan Schulz
Honored Contributor

Re: NFS with Windows.

Hi Suren,

if you have HP-UX 11 and up you can use Samba which comes with a command smbmount. This lets you mount any windows share and use it like any other NFS mount.

CIFS/9000 is basically Samba and has some HP-UX specific modifications. Also smbmount was renamed to cifsmount. Make sure to download the CIFS/9000 client from http://software.hp.com . The CIFS/9000 server has no smbmount/cifsmount.

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.