Operating System - HP-UX
1855239 Members
4945 Online
104109 Solutions
New Discussion

SHARE tape devices (Ultrium) IVM

 
Fernando Jose P de Souz
Regular Advisor

SHARE tape devices (Ultrium) IVM

Hi,

 

How can i sharing these devices in my VMs:

 

 # hpvmdevmgmt -l all 

/dev/pt/pt_tape9,/dev/rtape/tape9_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0008a2e7c
/dev/pt/pt_tape39,/dev/rtape/tape39_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0005ac009
/dev/pt/pt_tape18,/dev/rtape/tape18_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0008a2e7f
/dev/pt/pt_tape19,/dev/rtape/tape19_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0008a2e85
/dev/pt/pt_tape36,/dev/rtape/tape36_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0005ac00f
/dev/pt/pt_tape37,/dev/rtape/tape37_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0005ac00c
/dev/pt/pt_tape38,/dev/rtape/tape38_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51,hpxjf52:0x01.0x00.0x03.0x500110a0005ac012
/dev/pt/pt_tape8,/dev/rtape/tape8_BESTnb:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hpxjf51:0x01.0x00.0x03.0x500110a0008a2e82

# hpvmdevmgmt -m gdev:/dev/rtape/tape9:attr:SHARE=YES
Failed to modify device '/dev/rtape/tape9' attribute 'SHARE' to value 'YES'.
hpvmdevmgmt: Unable to continue.

 

# hpvmdevmgmt -m gdev:/dev/rtape/tape9:attr:SHARE_LUNPATHS=YES
Failed to modify device '/dev/rtape/tape9' attribute 'SHARE_LUNPATHS' to value 'YES'.
hpvmdevmgmt: Unable to continue.

 

Wait

2 REPLIES 2
Stan_M
HPE Pro

Re: SHARE tape devices (Ultrium) IVM

Tape sharing is available only with the AVIO/attach_path combination. See HPVM Install&Admin manual

www.hp.com/go/hpux-hpvm-docs

I work for HPE

Re: SHARE tape devices (Ultrium) IVM

Fo some reason I seem to recall you had to specify the tape by its lunpath for this to work... so for example:

 

# ioscan -m lun /dev/rtape/tape5_BEST 
Class     I  Lun H/W Path  Driver  S/W State   H/W Type     Health  Description 
====================================================================== 
tape      5  64000/0xfa00/0x1   estape  CLAIMED     DEVICE       online  HP      Ultrium 3-SCSI 
             0/5/0/0/0/0.0x500110a0008b9de2.0x0 
                       /dev/rtape/tape5_BEST    /dev/rtape/tape5_BESTn 
                       /dev/rtape/tape5_BESTb   /dev/rtape/tape5_BESTnb 


# # Lunpath for /dev/rtape/tape5_BEST is 0/5/0/0/0/0.0x500110a0008b9de2.0x0 


# hpvmdevmgmt -m gdev:0/5/0/0/0/0.0x500110a0008b9de2.0x0:attr:SHARE=YES

 

Give that a try...


I am an HPE Employee
Accept or Kudo