Operating System - HP-UX
1752781 Members
5817 Online
108789 Solutions
New Discussion юеВ

Re: Mounting NTFS on HPUX machine

 
SOLVED
Go to solution
vas_3
Advisor

Mounting NTFS on HPUX machine

Hi ALL,

I have two questions.

1.Is it possible to mount windows filesystem(NTFS) to HPUX machine?.
2.If we mount that any problem will come in future?.

This is project requirement.


Thanks in advance...


Regards,
Sri.
9 REPLIES 9
Eric SAUBIGNAC
Honored Contributor

Re: Mounting NTFS on HPUX machine

Bonjour vas,


Use CIFS Client. It is an HP-UX Product, free of charge. Got not problem with it.

See http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

Eric
Avinash20
Honored Contributor
Solution

Re: Mounting NTFS on HPUX machine


SAMBA server configuration:

Install samba server bundle

1.edit the samba startup configuration file.

#vi /etc/rc.config.d/samba

RUN_SAMBA=1

2.edit the samba application configuration file.

#vi /etc/opt/samba/smb.conf

(Global)
netbios name = hostname (local host name)
workgroup = workgroup (workgroup name)
server string = "samba server" (will be shown for windows clients)
host allow = 128.1 or give the allowed host names
security = user
encrypt password = yes



comment = homes directories
writable = yes
browsable = yes

3./opt/samba/bin/testparm

4. create a password file

#touch /var/opt/samba/private/smbpasswd
#chmod 500 /var/opt/samba/private
#chmod 600 /var/opt/samba/private/smbpasswd

5./opt/samba/bin/smbpasswd -a username

6./sbin/init.d/samba start

7.use the samba client utility to veriry that your windows domain/workgroup configured properly.

/opt/samba/bin/smbclient -L localhost -U%


Client configuration for windows:

Install client bundle

1./etc/opt/cifsclient/cifsclient.cfg

Domain="workgroup"

2./etc/rc.config.d/cifsclient
RUN_CLIENT=1

3./sbin/init.d/cifsclient start

4.create mount directory

5.edit /etc/fstab

server:/home /home cifs defaults 0 0

6. Mount -aF cifs

7./opt/cifsclient/bin/cifslogin server username

8.cifslist -A --> list the cifs shares.

9./opt/cifsclient/bin/cifslogout server

10.umount -aF cifs

Also please refer to the following links for detailed information on configuring samba server.

http://docs.hp.com/en/B8725-90021/ch01s05.html

http://www.docs.hp.com/en/B8725-90021/index.html
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Mounting NTFS on HPUX machine

Mounting Windows directories into unix system:

1. Share the directories in windows system.
2. Install the ├в CIFS CLIENT├в bundle into the hpunix system.
3. configure client part as explained above
4. use the following command to mount the windows directories into hpunix system.
#cifsmount //windows system name/shared directory mountpoint -U administrator -P password
#cifsmount //windows system name/shared directory mountpoint -U administrator -S
#cifsmount //windows_server/sharename /unix/mount -U windows_username
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Mounting NTFS on HPUX machine

"I have assigned points to 10 of 28 responses to my questions."

Please assign point to your thread..
The way of telling thanks for the answers
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Eric SAUBIGNAC
Honored Contributor

Re: Mounting NTFS on HPUX machine

A little thing to add to the complete "howto" from Avinash : you can also administer samba (formly CIFS), through a browser by pointing tcp port 901. This http interface is known as SWAT (Samba Web Administration Tool)

Eric
Laurent Menase
Honored Contributor

Re: Mounting NTFS on HPUX machine

if your goal is to use ntfs disks directly mounted on hpux , no it is not possible.
An other solutions could be using IntegrityVM,
and have a linux VM which mounts the FS and share it using samba.
vas_3
Advisor

Re: Mounting NTFS on HPUX machine

Hi,

Thanks for your quick reply..

I have tried with above configuration.gettting below error...


#cifsmount //165.114.39.193/d/ /cifs -U administrator
administrator's password on 165.114.39.193:
LOC: Netbios name lookup failure
LOC: Netbios name lookup failure

Regards
Srinu.
Johnson Punniyalingam
Honored Contributor

Re: Mounting NTFS on HPUX machine

Hi Sri,

This is a different problem, a name-to-ipaddress resolution problem. The easiest was to work around this (without having to analyze the problem), would be to specify the server's ipaddress on the command line with either "cifsmount" or "mount" (this requires at least cifs client A.02.02, so if you have not updated to this version, there's your incentive; this version also has manpages, which you may find easier to use than the Admin Guide).

If you want to get a bit deeper into how name resolution works with the cifs client (so you can set things up so you don't have to specify the ipaddress as suggested above), have a look at pp. 37-38 here:

http://www.docs.hp.com/en/B8724-90079/B8724-90079.pdf

Please post your results.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
vas_3
Advisor

Re: Mounting NTFS on HPUX machine

it's working now..Thanks to all for your quick responce.

Regards
srinu.