Operating System - HP-UX
1830558 Members
3269 Online
110013 Solutions
New Discussion

How to Mount a Remote Linux System Drive to a HP-UX system

 
Eric Scherer
New Member

How to Mount a Remote Linux System Drive to a HP-UX system

Can anyone assist me in finding the correct command and syntax to mount an external Linux system drive onto a HP-UX system? Thank you.
6 REPLIES 6
Raj D.
Honored Contributor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

Eric,

You can mount using NFS, export the linux drive/filesystem and mount the drive/filesystem on hpux.

Example:

1. Mount the drive in a filesystem on Linux.
# mount /dev/cxtxdx /drive1
2. Export the /drive1 on Linux System.

3. Create a mount directory on hp-ux system:
# mkdir /drive1
4. On hp-ux system:
# mount -F nfs linux:/drive1 /drive1


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Raj D.
Honored Contributor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

Eric,

When you export the drive or filesystem on linux , you need to check in /etc/exports file,

Also check this out,
http://www.unixguide.net/unixguide.shtml

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Steven E. Protter
Exalted Contributor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

Shalom,

Same as any other drive.

You can make a samba share in linux and mount with cifsclient on HP-UX or use NFS.

Just configure the Linux mountpoint in /etc/exports or smb.conf and restart the appropriate service.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dirk dierickx
Honored Contributor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

if your talking about mounting a linux disk directly on an hpux system, that cannot be done.
Ganesh Balraman
Regular Advisor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

Dear Sir,

Possible ways if NfS export on linux server and mount it on hp.

Regds
B.Ganesh
Yogeeraj_1
Honored Contributor

Re: How to Mount a Remote Linux System Drive to a HP-UX system

hi Eric,

you can also enter the following line in your fstab:

:/d01 /mnt/linuxserver nfs rw,suid 0 0


where is the IP address or alternatively the hostname of your linux server - assuming it is already in the /etc/hosts.

/d01 is the file system that you are trying to mount

/mnt/linuxserver is the mount point which should be a valid directory existing before the mount command.

to mount the remote file system you can then just run the following command:
mount /mnt/linuxserver


hope this helps!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)