Operating System - HP-UX
1830616 Members
2659 Online
110015 Solutions
New Discussion

hpvmhost unable to asign tape to VMGUEST

 
Johnson Punniyalingam
Honored Contributor

hpvmhost unable to asign tape to VMGUEST

Hi ,

Could any help on this below issue.

hpvmmodify: Unable to dynamically create device tape:scsi:0,0,2:attach:/dev/rscsi/c2t5d0 - File exists

hpvmost --> ioscan -> output
# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/6/1/0.1.0 stape CLAIMED DEVICE HP C5683A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c1t1d0BESTn /dev/rmt/c1t1d0DDSb
/dev/rmt/0mb /dev/rmt/c1t1d0BEST /dev/rmt/c1t1d0BESTnb /dev/rmt/c1t1d0DDSn
/dev/rmt/0mn /dev/rmt/c1t1d0BESTb /dev/rmt/c1t1d0DDS /dev/rmt/c1t1d0DDSnb
tape 1 0/6/1/1.5.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/1m /dev/rmt/1mn /dev/rmt/c2t5d0BEST /dev/rmt/c2t5d0BESTn
/dev/rmt/1mb /dev/rmt/1mnb /dev/rmt/c2t5d0BESTb /dev/rmt/c2t5d0BESTnb


# /opt/hpvm/bin/hpvmmodify -P hudt05 -a tape:scsi::attach:/dev/rscsi/c2t5d0
hpvmmodify: Unable to dynamically create device tape:scsi:0,0,2:attach:/dev/rscsi/c2t5d0 - File exists.
hpvmmodify: Guest needs to be restarted for all changes to take effect.

Thanks,
Best Regards,
Johnson
Problems are common to all, but attitude makes the difference
3 REPLIES 3
Johnson Punniyalingam
Honored Contributor

Re: hpvmhost unable to asign tape to VMGUEST

after the reboot "was able to see the tape driver" very weird ..:)

Problems are common to all, but attitude makes the difference

Re: hpvmhost unable to asign tape to VMGUEST

Can you post:

ll /dev/rmt/c2t5d0BESTn
ll /dev/rscsi/c2t5d0

hpvmdevmgmt -l all:depend:hudt05

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Johnson Punniyalingam
Honored Contributor

Re: hpvmhost unable to asign tape to VMGUEST

After rebooting the VMGUEST, was able to see the tape ..:)

# hpvmdevmgmt -l all:depend:hudt05
vsqa:CONFIG=gdev,EXIST=YES,DEVTYPE=SWITCH,SHARE=YES:hudt04,hudt06,hudt05:WWID_NULL
/dev/rdsk/c4t5d0:CONFIG=gdev,EXIST=YES,DEVTYPE=DISK,SHARE=NO:hudt05:6005-08e0-0000-0000-94be-4a37-a603-b307
/dev/rscsi/c1t1d0:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hudt05:WWID_NULL
/dev/rscsi/c2t5d1:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hudt05:WWID_NULL
/dev/rscsi/c2t5d0:CONFIG=gdev,EXIST=YES,DEVTYPE=ATTACH,SHARE=NO:hudt05:WWID_NULL


# ll /dev/rmt/c2t5d0BESTn
crw-rw-rw- 2 bin bin 205 0x025040 Aug 27 2007 /dev/rmt/c2t5d0BESTn

root@hpvmhost [/dev/rscsi]
# ll /dev/rscsi/c2t5d0
crw-r----- 1 root hpvmsys 203 0x025002 Aug 27 2007 /dev/rscsi/c2t5d0

root@hpvmhost [/dev/rscsi]
#
Problems are common to all, but attitude makes the difference