Operating System - HP-UX
1752785 Members
6156 Online
108789 Solutions
New Discussion

Using HPVM 3.5 -adding another disk device

 
SOLVED
Go to solution
Tom Haddad
Super Advisor

Using HPVM 3.5 -adding another disk device

I have one guest where i have 10 devices 0,0,0 thru 0,0,9 assigned and 15 more with  0,1.0 thru 0,1,14.

0,1,x controller is maxd' at 15 devices but I can add another devices at 0.0,10 right? 

I know thet total number that a guest can have is 30 devices. Im getting close!

 

Command would be...

 

hpvmodify -p vmguest -a disk:scsi:0,0,10:disk:/dev/dsk/cxtxdx

3 REPLIES 3
Torsten.
Acclaimed Contributor
Solution

Re: Using HPVM 3.5 -adding another disk device

From manual:

A VM Host administrator specifies this SCSI MPT adapter using the following:

device :scsi:pcibus ,pcislot ,scsitgt

where:
• device is one of the following: disk, dvd, tape, changer, or burner
• pcibus is an integer from 0-6.

The virtual AVIO and MPT adapters are supported only on PCI buses 0-7.

• pcislot is an integer from 0-7.

A PCI function number is not specified. It is implicitly zero because the virtual MPT storage
adapter supports only a single channel.

• scsitgt is an integer from 0-14 for virtual SCSI (15 is reserved for the virtual SCSI adapter)
and 0–127 for AVIO. All supported storage device types can share the same virtual SCSI
MPT or AVIO adapter by specifying the same PCI bus and slot numbers. A virtual SCSI
MPT or AVIO adapter can be added only to a virtual machine if it has a device connected
to it.




But you can also do

hpvmodify -p vmguest -a disk:scsi::disk:/dev/dsk/cxtxdx

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tom Haddad
Super Advisor

Re: Using HPVM 3.5 -adding another disk device

Thanks.. I understand the SCSI MPT, etc.

 

At  pcislot  1 all 15 slots are in use (0-14) but only using 0-9 assigned to controller 0.

(see hpvmstatus below...)

 

Im code the values (pcibus, pcislot, scsitgt) in the hpvmodify. I want to assign the next device with the command I specified earlier in the post (to 0,0.10)

 

Guest                                 Physical

Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device

======= ========== === === === === === ========= =========================

disk    scsi         0   0   0   0   0 disk      /dev/rdsk/c22t1d2

tape    scsi         0   0   0   1   0 attach    /dev/rscsi/c2t3d0

disk    scsi         0   0   0   2   0 disk      /dev/rdsk/c22t1d3

disk    scsi         0   0   0   4   0 disk      /dev/rdsk/c22t3d0

disk    scsi         0   0   0   5   0 disk      /dev/rdsk/c22t3d1

disk    scsi         0   0   0   6   0 disk      /dev/rdsk/c22t3d2

disk    scsi         0   0   0   7   0 disk      /dev/rdsk/c22t3d3

disk    scsi         0   0   0   8   0 disk      /dev/rdsk/c22t3d4

disk    scsi         0   0   0   9   0 disk      /dev/rdsk/c22t3d5

disk    scsi         0   1   0   0   0 disk      /dev/rdsk/c22t3d6

disk    scsi         0   1   0   1   0 disk      /dev/rdsk/c22t2d7

disk    scsi         0   1   0   2   0 disk      /dev/rdsk/c22t1d4

disk    scsi         0   1   0   3   0 disk      /dev/rdsk/c22t4d4

disk    scsi         0   1   0   4   0 disk      /dev/rdsk/c22t4d0

disk    scsi         0   1   0   5   0 disk      /dev/rdsk/c22t4d1

disk    scsi         0   1   0   6   0 disk      /dev/rdsk/c22t4d2

disk    scsi         0   1   0   7   0 disk      /dev/rdsk/c22t4d3

disk    scsi         0   1   0   8   0 disk      /dev/rdsk/c22t4d5

disk    scsi         0   1   0   9   0 disk      /dev/rdsk/c22t4d6

disk    scsi         0   1   0  10   0 disk      /dev/rdsk/c22t2d5

disk    scsi         0   1   0  11   0 disk      /dev/rdsk/c22t2d6

disk    scsi         0   1   0  12   0 disk      /dev/rdsk/c22t2d4

disk    scsi         0   1   0  13   0 disk      /dev/rdsk/c22t3d7

disk    scsi         0   1   0  14   0 disk      /dev/rdsk/c22t5d3

 

Torsten.
Acclaimed Contributor

Re: Using HPVM 3.5 -adding another disk device

if you want do it thi way, why not?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!