Operating System - HP-UX
1833914 Members
2085 Online
110063 Solutions
New Discussion

ioscan unable to see dvd device on vmguest ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

ioscan unable to see dvd device on vmguest ?

Hello All,
Can someons assit me with figuring out why I am unable to see my dvd drive on my vmguest?

From my vm server ( hohp244 ) I can display the vmguest ( hovm230 ) with :

disk /dev/rdsk/c0t0d0

but from vmguest I cannot see the dvd from ioscan ?

##################################
root@hohp244[/root]
# uname -a ; model
HP-UX hohp244 B.11.23 U ia64 hp server rx6600

###################################
root@hohp244[/root]
# hpvmstatus -P hovm230
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
hovm230 6 HPUX On (OS)

[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:

[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
4 10.0% 100.0%

[Memory Details]
Total Reserved
Memory Memory
======= ========
8 GB 64 MB

[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
dvd scsi 0 0 0 0 0 disk /dev/rdsk/c0t0d0
disk scsi 0 0 0 1 0 disk /dev/rdsk/c1t0d2
disk scsi 0 0 0 2 0 disk /dev/rdsk/c1t0d1
disk scsi 0 0 0 3 0 disk /dev/rdsk/c1t0d4

###################################
root@hovm230[/root]
# uname -a ; model
HP-UX hovm230 B.11.31 U ia64 hp server Integrity Virtual Machine
root@hovm230[/root]
# /etc/ioscan -nfC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s3
disk 4 0/0/0/0.2.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t2d0 /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s1 /dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s1 /dev/rdsk/c0t2d0s3
disk 6 0/0/0/0.3.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
###################################
7 REPLIES 7
Tim Nelson
Honored Contributor
Solution

Re: ioscan unable to see dvd device on vmguest ?

1) How did you preset the DVD to the guest ( please provide command line

2) Was there a DVD in the drive when you presented it ?

I would present the DVD device to the guest as a null device then use the vMP of the guest to INsert and EJect dvds.

YAQUB_1
Respected Contributor

Re: ioscan unable to see dvd device on vmguest ?

Hi,

Put the below command output:

# ioscan
# ioscan -fn
# ioscan -fnC disk
Jerry_109
Super Advisor

Re: ioscan unable to see dvd device on vmguest ?

1)
root@hohp244[/]
# hpvmmodify -P hovm230 -a dvd:scsi::disk:/dev/rdsk/c0t0d0

2)
No dvd mounted inside vmserver ( hohp244 ) b4 presenting? I will place dvd in
dvd drive first, and then present to vmguest

Question: after I load dvd on "vmserver dvd" do I have to delete, and re-add dvd on vmguest?
or do I just stop/start vmguest ?
Tim Nelson
Honored Contributor

Re: ioscan unable to see dvd device on vmguest ?

just an ioscan to rescan the bus

insf -eH 0.0.0 to install the device files.

beware that presenting the dvd as a disk device will require that you remove it from the guest before you can eject the DVD again.

As mentioned a null device might work better for you.
hpvmmodify -P guest1 -a dvd:scsi::null:/dev/rdsk/cxtxdx

then virtual MP
>VM
>IN or EJ


Jerry_109
Super Advisor

Re: ioscan unable to see dvd device on vmguest ?

the ioscan on vmguest ( hovm230 ) can see the dvd now:

root@hovm230[/]
# /etc/ioscan -nfC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual DVD
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 0 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s3
disk 4 0/0/0/0.2.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t2d0 /dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s1 /dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s1 /dev/rdsk/c0t2d0s3
disk 6 0/0/0/0.3.0 sdisk CLAIMED DEVICE HP Virtual Disk
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
Jerry_109
Super Advisor

Re: ioscan unable to see dvd device on vmguest ?

root@hovm230[/]
# mount -F cdfs -o cdcase /dev/dsk/c0t0d0 /cdrom

root@hovm230[/]
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/dsk/c0t0d0 196336 196336 0 100% /cdrom
Jerry_109
Super Advisor

Re: ioscan unable to see dvd device on vmguest ?

Thank you all very much I was able to start up mozilla, and point to /cdrom to start software installation. I will delivery everyones points.

Thanks you...... :>)