General
cancel
Showing results for 
Search instead for 
Did you mean: 

hpvmmodify a tape device to vm via host OS

Paul Molony
Advisor

hpvmmodify a tape device to vm via host OS

anyone think of any reason why I cant present the tape drive through to vm from host via hpvmmodify ?

here is command line overview of the issue


ioscan -funC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/6/1/0.6.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/0m /dev/rmt/0mn /dev/rmt/c1t6d0BEST /dev/rmt/c1t6d0BESTn
/dev/rmt/0mb /dev/rmt/0mnb /dev/rmt/c1t6d0BESTb /dev/rmt/c1t6d0BESTnb




hpvmmodify -p 4 -a tape:scsi::attach:/dev/rmt/c1t6d0BEST
hpvmmodify: ERROR (SERV3443): Incorrect backing device type.
hpvmmodify: Unable to create device tape:scsi::attach:/dev/rmt/c1t6d0BEST.
hpvmmodify: Unable to modify the guest.


It is probably something small I am overlooking
2 REPLIES
Paul Molony
Advisor

Re: hpvmmodify a tape device to vm via host OS

I've spotted my first mistake !!

I've replaced /dev/rmt with /dev/scsi and now get the following error



hpvmmodify -p 4 -a tape:scsi::attach:/dev/rscsi/c1t6d0BEST
hpvmmodify: ERROR (SERV3443): Duplicate backing device '/dev/rscsi/c1t6d0BEST'.
hpvmmodify: ERROR (SERV3443): Unable to add device '/dev/rscsi/c1t6d0BEST'.
hpvmmodify: Unable to create device tape:scsi::attach:/dev/rscsi/c1t6d0BEST.
hpvmmodify: Unable to modify the guest.
Paul Molony
Advisor

Re: hpvmmodify a tape device to vm via host OS

fixed it myself :)