<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Attaching a Tape device to a HPVM guest in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503545#M524903</link>
    <description>You are trying to attach the Initiator *scsi controller) as a tape, and not the tape itself&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Sep 2009 16:14:02 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2009-09-25T16:14:02Z</dc:date>
    <item>
      <title>Attaching a Tape device to a HPVM guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503544#M524902</link>
      <description>I am trying to assign a tape device to a HPVM guest and get errors. I am using the correct format for the HPVM resource.&lt;BR /&gt;&lt;BR /&gt;#root@iclhpvmh01 /root:hpvmmodify -P metagen1 -a tape:scsi:0,2,0:attach:/dev/rscsi/c5t7d0&lt;BR /&gt;hpvmmodify: ERROR (metagen1): Incorrect backing device type.&lt;BR /&gt;hpvmmodify: Unable to create device tape:scsi:0,2,0:attach:/dev/rscsi/c5t7d0.&lt;BR /&gt;hpvmmodify: Unable to modify the guest.&lt;BR /&gt;&lt;BR /&gt;Here is my ioscan output showing the SCSI initiator and tape device:&lt;BR /&gt;&lt;BR /&gt;#root@iclhpvmh01 /root:ioscan -fnCtape -H 0/0/10&lt;BR /&gt;Class     I  H/W Path        Driver   S/W State   H/W Type     Description&lt;BR /&gt;===========================================================================&lt;BR /&gt;tape      3  0/0/10/1/0/4/1.2.0  stape    CLAIMED     DEVICE       HP      Ultrium 2-SCSI&lt;BR /&gt;                            /dev/rmt/3m            /dev/rmt/3mn           /dev/rmt/c5t2d0BEST    /dev/rmt/c5t2d0BESTn&lt;BR /&gt;                            /dev/rmt/3mb           /dev/rmt/3mnb          /dev/rmt/c5t2d0BESTb   /dev/rmt/c5t2d0BESTnb&lt;BR /&gt;&lt;BR /&gt;#root@iclhpvmh01 /root:ioscan -fnCctl -H 0/0/10&lt;BR /&gt;Class     I  H/W Path        Driver   S/W State   H/W Type     Description&lt;BR /&gt;===========================================================================&lt;BR /&gt;ctl       1  0/0/10/1/0/4/0.7.0  sctl     CLAIMED     DEVICE       Initiator&lt;BR /&gt;                            /dev/rscsi/c4t7d0&lt;BR /&gt;ctl       3  0/0/10/1/0/4/1.7.0  sctl     CLAIMED     DEVICE       Initiator&lt;BR /&gt;                            /dev/rscsi/c5t7d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas ?</description>
      <pubDate>Fri, 25 Sep 2009 15:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503544#M524902</guid>
      <dc:creator>KAUSTAV BOSE</dc:creator>
      <dc:date>2009-09-25T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching a Tape device to a HPVM guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503545#M524903</link>
      <description>You are trying to attach the Initiator *scsi controller) as a tape, and not the tape itself&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Sep 2009 16:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503545#M524903</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2009-09-25T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching a Tape device to a HPVM guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503546#M524904</link>
      <description>You need to create the rscsi devices for the tapes.&lt;BR /&gt;As you do not state which version you are using, I quote from the Installing and Managing Integrity Virtual Machines 3.5 manual. section 7.2.2.3.7 Attachable Devices:&lt;BR /&gt;The resource statements for attached devices take the following forms depending upon device&lt;BR /&gt;type:&lt;BR /&gt;For magnetic tape, use:&lt;BR /&gt;tape:scsi::attach:/dev/rscsi/cXtYdZ&lt;BR /&gt;For media changers, use:&lt;BR /&gt;changer:scsi::attach:/dev/rscsi/cXtYdZ&lt;BR /&gt;For CD/DVD burners, use:&lt;BR /&gt;burner:scsi::attach:/dev/rscsi/cXtYdZ&lt;BR /&gt;Where /dev/rscsi/cXtYdZ is an HP-UX sctl device file to the device type specified.&lt;BR /&gt;To create an HP-UX sctl device file, follow these steps:&lt;BR /&gt;1. Run ioscan to pick up any new devices that may have just been connected:&lt;BR /&gt;# ioscan&lt;BR /&gt;2. Locate the device designated for attachment.&lt;BR /&gt;2a. Install any device special files for these new devices:&lt;BR /&gt;# insf -e&lt;BR /&gt;2b. Check to see if the new devices were claimed by VM Host:&lt;BR /&gt;# ioscan -fun&lt;BR /&gt;The following is an example of a claimed tape device:&lt;BR /&gt;tape 1 0/2/1/0.5.0 stape CLAIMED DEVICE HP C7438A&lt;BR /&gt;/dev/rmt/1m /dev/rmt/c6t5d0BESTn&lt;BR /&gt;/dev/rmt/1mb /dev/rmt/c6t5d0BESTnb&lt;BR /&gt;/dev/rmt/1mn /dev/rmt/c6t5d0DDS&lt;BR /&gt;/dev/rmt/1mnb /dev/rmt/c6t5d0DDSb&lt;BR /&gt;/dev/rmt/c6t5d0BEST /dev/rmt/c6t5d0DDSn&lt;BR /&gt;/dev/rmt/c6t5d0BESTb /dev/rmt/c6t5d0DDSnb&lt;BR /&gt;If the device is not seen in ioscan -fun, proceed to step 2c. Otherwise, go to step 3.&lt;BR /&gt;&lt;BR /&gt;....&lt;BR /&gt;3. Install sctl device files under the /dev/rscsi/ directory using the hpvmdevmgmt&lt;BR /&gt;command. For example:&lt;BR /&gt;# hpvmdevmgmt -I&lt;BR /&gt;4. Locate a /dev/rscsi sctl device file that corresponds to the device slated for attachment.&lt;BR /&gt;4a. If the device was claimed, the /dev/rscsi file ends with the same cXtYdZ numbers.&lt;BR /&gt;The following is an example of a tape device:&lt;BR /&gt;Claimed = /dev/rmt/c6t5d0BEST&lt;BR /&gt;SCTL = /dev/rscsi/c6t5d0&lt;BR /&gt;The following is an example of media changer device:&lt;BR /&gt;Claimed = /dev/rac/c6t0d0&lt;BR /&gt;SCTL = /dev/rscsi/c6t0d0&lt;BR /&gt;The following is an example of CD/DVD burner device:&lt;BR /&gt;Claimed = /dev/rdsk/c4t3d2&lt;BR /&gt;SCTL = /dev/rscsi/c4t3d2&lt;BR /&gt;Once the /dev/rscsi file has been located, proceed to step 5.&lt;BR /&gt;.......&lt;BR /&gt;The following shows how the hardware address is broken down into controller, target and&lt;BR /&gt;device numbers:&lt;BR /&gt;c is the instance of 0/2/1/0&lt;BR /&gt;ext_bus is 6&lt;BR /&gt;t is 5&lt;BR /&gt;d is 0&lt;BR /&gt;The sctl file to create is /dev/rscsi/c6t5d0&lt;BR /&gt;To create the sctl device file, see scsi_ctl(1M).&lt;BR /&gt;Use the mknod command, substituting the values in the minor number as noted:&lt;BR /&gt;# /usr/sbin/mknod /dev/rscsi/devname c 203 0xCCTL02</description>
      <pubDate>Fri, 25 Sep 2009 16:24:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503546#M524904</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2009-09-25T16:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attaching a Tape device to a HPVM guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503547#M524905</link>
      <description>thanks for the info. as you pointed out i wasn't using the sctl device for the tape but the scsi initiator.&lt;BR /&gt;&lt;BR /&gt;also i noticed that the device file for the tape was stale as the tape device had been moved. it would not have worked anyway.&lt;BR /&gt;&lt;BR /&gt;i used a different tape device and the procedure worked.</description>
      <pubDate>Fri, 02 Oct 2009 18:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/attaching-a-tape-device-to-a-hpvm-guest/m-p/4503547#M524905</guid>
      <dc:creator>KAUSTAV BOSE</dc:creator>
      <dc:date>2009-10-02T18:52:42Z</dc:date>
    </item>
  </channel>
</rss>

