System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

config and share external SCSI hard drive b/t hp ux WSs

 
Ken T Tran
Occasional Advisor

config and share external SCSI hard drive b/t hp ux WSs

Hi,
I have 2 hp ux Work Stations (HP C3600) in the same network. I have an Sun external harddrive for data; i connected it to one hpux WS called A1, mount it (/dev/dsk/c3t2d0 to /home1) and could access data from it.
Is there anyway for me to mount that harddrive to the second WS called A2 without unplug it from A1 WS, so user can access the data wherever they are on A1 or A2.
FYI, I could telnet, ftp b/t 2 WSs

thanks for your help.

Ken
7 REPLIES
Bill Hassell
Honored Contributor

Re: config and share external SCSI hard drive b/t hp ux WSs

You can't have two systems connected to the same disk at the same time. With specialized hardware (multi-ported SCSI disk controllers), it's possible to connect two or more computers to the same disk but there is no HP-UX software to make sense of independent workstations mounting and using the same filesystems. However, you can share both local and external disks using NFS. Just enable NFS server on the system with the external disk and NFS client on the other system.


Bill Hassell, sysadmin
Ken T Tran
Occasional Advisor

Re: config and share external SCSI hard drive b/t hp ux WSs

Hi Bill,
Thank you for your prompt response.
I have 2 questions after enable nfs server on A1 WS and nfs client on A2 WS:
- Do i need to change anything in the fstab file in the WS with external harddrive connected?
- On the other WS, in the fsatab, i only need type
A1:/home1 /home1 nfs .......??


thanks.
Ken
Ken T Tran
Occasional Advisor

Re: config and share external SCSI hard drive b/t hp ux WSs

Hi All,
After starting the nfs server and client on 2 hp ux WSs. on the fstab of nsf client WS, i added
A1:/dev/vg00/vol4 /home5 VxFS rw 0 0

or
A1:/dev/vg00/vol4 /home5 nfs rw 0 0

or
A1:/ /home5 nfs rw 0 0

However, when i mount it, it gave me an error:
Permission denied or VxFS not support by the kernel (VxFS is the mounting type of external harddrive)
Please advise.
Thanks.
Ken.
Dennis Handly
Acclaimed Contributor

Re: config and share external SCSI hard drive b/t hp ux WSs

>A1:/dev/vg00/vol4 /home5 VxFS rw 0 0

This needs to be nfs, not VxFS.
V. Nyga
Honored Contributor

Re: config and share external SCSI hard drive b/t hp ux WSs

Hi,

you have to export it at A1.
Add for example:
/home1 -anon=0
to /etc/exports.
Then run 'exportfs' (see also 'man exportfs')

V.
*** Say 'Thanks' with Kudos ***
Ken T Tran
Occasional Advisor

Re: config and share external SCSI hard drive b/t hp ux WSs

Hi All,
Thank you for your help especially Bill and Nyga. It works now.

Ken.
Ken T Tran
Occasional Advisor

Re: config and share external SCSI hard drive b/t hp ux WSs

thank you again.