Operating System - HP-UX
1751693 Members
5044 Online
108781 Solutions
New Discussion юеВ

rp7420 and share device between npars

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

rp7420 and share device between npars

Hi folks,

We have an rp7420 with two npars. Each npar has 3 vpars running hp-ux 11i. The 7420 also has a cdrom device that is only accessible from one of the vpars. I can only access it from the other vpars with pfs_mount. Is it possible to share the cdrom device between vpars using something other than pfs, or at the very least - share the device betweent the npars?

Thanks,
S.
5 REPLIES 5
harry d brown jr
Honored Contributor
Solution

Re: rp7420 and share device between npars


npars and vpars can not share devices - nor bus'es.

live free or die
harry d brown jr
Live Free or Die
Steven E. Protter
Exalted Contributor

Re: rp7420 and share device between npars

I would not use pfs_mount.

My theoretical understanding of vpars is that a device can not be part of two vpars at the same time. Thats why each vpar needs a cpu, some memory allocated and a network device and something to boot off of.

I would suggest since they all have network cards you could share the cd-rom drive with nfs

if the mount folder is called /cdrom

add /cdrom to /etc/exports limit access by hostname.

exportfs -av

To export the cd.

It may be kludgy, because you have to mount the cd before you share, but it will work.

If its oracle rock ridge for example, you would mount it differently, but it might work as an install point.

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
Steven E. Protter
Exalted Contributor

Re: rp7420 and share device between npars

attaching a mount command to replace pfs_mount.

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
Tim D Fulford
Honored Contributor

Re: rp7420 and share device between npars

I think the point is being lost... yes you can NFS export cdrom from xPar to yPar over the network... no xPar & yPar cann both jhave the bus that holed the cdrom..

1 - make sure NFS is up & running (including drivers in tke kernel)
2 - edit /etc/exports
/cdrom -ro
3 - mount cdrom on xPar
# mount /dev/dsk/c2t2d0 /cdrom
4 - export device
# exportfs -va
5 on yPar import device
# mount xPar:/cdrom /cdrom

Job done... You are not actually "sharing" any busses using the partitioning capabilities, merely exporting the device over the network as one might from one system to another.

Regards

Tim
-
Mark Nieuwboer
Esteemed Contributor

Re: rp7420 and share device between npars

Hi Sally,

Dispite al the answers it is not possible.
I Had the same problem. I needed to rebild npar1 from CD_ROm but i had to get a scsi cabel tp put a cd-rom to the npar.
I have told this also to HP and the say that it was a known problem. It comes because the rp7410 was the bases of the rp7420.

grtz Mark