Operating System - HP-UX
1748180 Members
4312 Online
108759 Solutions
New Discussion

parent agile-named device: '/dev/pt/pt_tape7' is already in use by that guest

 

parent agile-named device: '/dev/pt/pt_tape7' is already in use by that guest

Good day

We have a tape that we want to present to a VSE guest.

On the host, it looks like this ;

root@escons20 [/root]# ioscan -m lun /dev/rtape/tape7_BEST
Class I Lun H/W Path Driver S/W State H/W Type Health Description
======================================================================
tape 7 64000/0xfa00/0x23 estape CLAIMED DEVICE online STK T9840C
0/3/0/0/0/0.0x500104f000a2bc1b.0x0
/dev/rtape/tape7_BEST /dev/rtape/tape7_BESTn /dev/tape/tape-500104f000a2bc1b
/dev/rtape/tape7_BESTb /dev/rtape/tape7_BESTnb

hpvmstatus -P hqlad230 shows ;

hpvmstatus -P hqlad230 | grep tape
tape avio_stor 0 0 0 2 0 attach_path 0/3/0/0/0/0.0x500104f000a2bc30.0x0
tape avio_stor 0 0 0 3 0 attach_path 0/3/0/0/0/0.0x500104f000a2bc24.0x0
tape avio_stor 0 0 0 4 0 attach_path 0/3/0/0/0/0.0x500104f000a2bbf7.0x0


hpvmmodify -P hqlad230 -a tape:avio_stor::attach_path:0/3/0/0/0/0.0x500104f000a2bc1b.0x0

Returns:

hpvmmodify: ERROR (hqlad230): Lunpath: '0/3/0/0/0/0.0x500104f000a2bc1b.0x0' cannot be added to guest: 'hqlad230' since the parent agile-named device: '/dev/pt/pt_tape7' is already in use by that guest.
hpvmmodify: ERROR (hqlad230): Duplicate backing device '/dev/pt/pt_tape7'.
hpvmmodify: ERROR (hqlad230): Unable to add device '0/3/0/0/0/0.0x500104f000a2bc1b.0x0'.
hpvmmodify: Unable to create device tape:avio_stor::attach_path:0/3/0/0/0/0.0x500104f000a2bc1b.0x0.
hpvmmodify: Unable to modify the guest.

I'm quite confused with this one...

Please help

Regards,


1 REPLY 1
Chandrahasa s
Valued Contributor

Re: parent agile-named device: '/dev/pt/pt_tape7' is already in use by that guest

HI,

The tape which you trying to add is already added to other vmguest.

In this case you need to share this tape first and then try to add to other guest.

Tape can be shared as like:

hpvmdevmgmt -m gdev:0/3/0/0/0/0.0x500104f000a2bc30.0x0
:attr:SHARE=YES

Chandra