1832932 Members
2962 Online
110048 Solutions
New Discussion

How to eject CDROM ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

How to eject CDROM ?

# uname -a ; model
HP-UX hohp244 B.11.23 U ia64 hp server rx6600
###############################

Hello All,

I was installing a vmguest with 11.31 OS, and disk # 1 all went fine, but when it was time to remove disk#1, and put in disk#2, the DVD will not open. Has anyone seem this before ?

###############################
* Installing fileset "iCOD.ICOD-TCH-E-MSG,r=B.11.31.08.02.00.127" (1199 of 1256).
* Installing fileset "iCOD.ICOD-TCH-U-MSG,r=B.11.31.08.02.00.127" (1200 of 1256).
* Installing fileset "utilProvider.UTIL-COMMON,r=A.01.06.02.00" (1201 of 1256).
* Installing fileset "utilProvider.UTIL-ENG-A-MAN,r=A.01.06.02.00" (1202 of 1256).
* Installing fileset "utilProvider.UTIL-RUN,r=A.01.06.02.00" (1203 of 1256).
* Installing fileset "vmGuestLib.GUEST-LIB,r=A.03.00.79" (1204 of 1256).
* Installing fileset "vmProvider.VM-PROV-CORE,r=A.03.00.79" (1205 of 1256).


=================================================
* Please insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):

* Working...
* Swapping Media
ERROR: The media at "/tmp/ign_configure/SD_CDROM" is not the expected media. Insert media labeled as "2".


=================================================
ERROR: Please try again to insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):
########################################
14 REPLIES 14
Paul Sperry
Honored Contributor
Solution

Re: How to eject CDROM ?

well you need to unmount it first then it will eject.
Siju Vadakkan
Trusted Contributor

Re: How to eject CDROM ?

you have to umount the "mount point" where the DVD is mounted and then insert the second CD and mount it

Eg:

1.suppose DVD is is mounted as /cdrom
#umount /dvdrom

2. find the DVD device file name,
then insert the second DVD and then mount it.

#mount /dvdrom

Jerry_109
Super Advisor

Re: How to eject CDROM ?

This is a install of a vmguest, and I don't want to kill my console install. The mount does not show up in the bdf or mnttab/fstab files ? How do I find this mount?

###########################

root@hohp244[/]
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 322864 720088 31% /
/dev/vg00/lvol1 1048576 154136 887552 15% /stand
/dev/vg00/lvol8 6291456 2179672 4080984 35% /var
/dev/vg00/lvol9 6291456 18010 5881363 0% /var/adm/crash
/dev/vg00/lvol7 6799360 2577808 4188600 38% /usr
/dev/vg00/lvol6 6291456 18280 6224168 0% /tmp
/dev/vg00/lvol5 7553024 4081184 3444744 54% /opt
/dev/vg00/lvol4 4194304 16808 4144864 0% /home
/dev/vg00/image 10240000 6983216 3053241 70% /image
root@hohp244[/]


###########################

root@hohp244[/]
# strings /etc/mnttab
/dev/vg00/lvol3 / vxfs ioerror=mwdisable,delaylog,dev=40000003 0 1 1205872013
/dev/vg00/lvol1 /stand vxfs ioerror=mwdisable,log,tranflush,dev=40000001 0 0 1205872015
/dev/vg00/lvol8 /var vxfs ioerror=mwdisable,delaylog,dev=40000008 0 0 1205872027
/dev/vg00/lvol9 /var/adm/crash vxfs ioerror=mwdisable,delaylog,dev=40000009 0 0 1205872027
/dev/vg00/lvol7 /usr vxfs ioerror=mwdisable,delaylog,dev=40000007 0 0 1205872027
/dev/vg00/lvol6 /tmp vxfs ioerror=mwdisable,delaylog,dev=40000006 0 0 1205872027
/dev/vg00/lvol5 /opt vxfs ioerror=mwdisable,delaylog,dev=40000005 0 0 1205872027
/dev/vg00/lvol4 /home vxfs ioerror=mwdisable,delaylog,dev=40000004 0 0 1205872028
-hosts /net autofs ignore,indirect,nosuid,soft,nobrowse,dev=1 0 0 1205872087
/dev/vg00/image /image vxfs ioerror=mwdisable,delaylog,dev=4000000c 0 0 1205899850
##################################

fstab :

root@hohp244[/]
# more /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol9 /var/adm/crash vxfs delaylog 0 2
/dev/vg00/swap1 ... swap pri=0 0 0
/dev/vg00/swap2 ... swap pri=0 0 0
#/dev/vg00ext/swap2 ... swap pri=0 0 0
#/dev/vg00ext/swap3 ... swap pri=0 0 0
###############################
Jerry_109
Super Advisor

Re: How to eject CDROM ?

root@hohp244[/]
# fuser -cu /SD_CDROM
/SD_CDROM: fuser: could not find file system mounted at /SD_CDROM.
root@hohp244[/]
# fuser -cu /CDROM
/CDROM: fuser: could not find file system mounted at /CDROM.
root@hohp244[/]
# fuser -cu /tmp/ign_configure/SD_CDROM
/tmp/ign_configure/SD_CDROM: fuser: could not find file system mounted at /tmp/ign_configure/SD_CDROM.
root@hohp244[/]
Siju Vadakkan
Trusted Contributor

Re: How to eject CDROM ?

CAN U POST THE installation command here.
Paul Sperry
Honored Contributor

Re: How to eject CDROM ?

How did you start the install?
Jerry_109
Super Advisor

Re: How to eject CDROM ?

Start vmguest console, because the 11.31 OS disk #1 is mounted in the DVD it boots off the DVD

root@hohp244[/]
# hpvmconsole -P hovm230 -F

The hovm230 configuration includes the DVDROM drive as follows :

root@hohp244[/]
# hpvmstatus -P hovm230 | grep -i dvd
dvd scsi 0 0 0 0 0 disk /dev/rdsk/c0t0d0

###########################
ioscan:
root@hohp244[/]
# /etc/ioscan -nfC disk
Class I H/W Path Driver S/W State H/W Type Description
====================================================================================
disk 55 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
##################################
###########################
Mounaam
Trusted Contributor

Re: How to eject CDROM ?

Hi,

from HPVM Release Notes (http://docs.hp.com/en/T2767-90114/ch08s08.html):


8.4 Using USB CD/DVD Devices
USB CD/DVD devices are not supported for use as attachable media, and perform slowly when
used as virtual devices. HP Integrity blade, rx3600, and rx6600 servers with such devices should
use Virtual FileDVDs or Ignite-UX for guest operating system installations. Hardware
supportability requirements for Integrity VM are described in the HP Integrity Virtual Machines
Installation, Configuration, and Administration manual.
To identify USB CD/DVD devices, use the ioscan -fun command.

Regards
Tim Nelson
Honored Contributor

Re: How to eject CDROM ?

For guest usage of DVDs.

present the dvd as a null device to the guest.

then use the VM option of the guest MP to IN (insert) and EJ (eject) the media

i.e. during install while asking for DVD#2, VM >> EJ, >>swap media, >>IN, >> ma, >> co >> hit enter to contiue.

The installer takes care of mounting and unmounting of the DVD as the OS level.

Paul Sperry
Honored Contributor

Re: How to eject CDROM ?

well that explains everything. nothing like details. Good job Tim
Tim Nelson
Honored Contributor

Re: How to eject CDROM ?

Forgot the details for the presentation.

hpvmmodify -P guest1 -a dvd:scsi::null:/dev/rdsk/cxtxdx

Jerry_109
Super Advisor

Re: How to eject CDROM ?

received an error, I will try again. Wow something new to learn....... :>)
####################################### =================================================
* Please insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):

* Working...
* Swapping Media
ERROR: The media at "/tmp/ign_configure/SD_CDROM" is not the expected media. Insert media labeled as "2".


=================================================
ERROR: Please try again to insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[hovm230] vMP> EJ

Ejectable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev Pstore Path
-------------------------------------------------------------------------
[1] 0/0/0/0.0.0 (0,0,0) dvd disk /dev/rdsk/c0t0d0

Enter menu item number or [Q] to Quit: 1

Confirm eject action
G - Go
F - Force

Enter menu item or [Q] to Quit: G

[hovm230] vMP> IN

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.0.0 (0,0,0) dvd

Enter menu item number or [Q] to Quit: 1

Insertable File Backing Stores
Num File
---------------------
[1] /dev/rdsk/c0t0d0

Enter menu item number or [Q] to Quit:

** Selection canceled. No action taken. **

-> Command failed.

[hovm230] vMP> ma


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[hovm230] vMP> co



(Use Ctrl-B to return to vMP main menu.)



- - - - - - - - - - Prior Console Output - - - - - - - - - -

* Working...
* Swapping Media
ERROR: The media at "/tmp/ign_configure/SD_CDROM" is not the expected media. Insert media labeled as "2".


=================================================
ERROR: Please try again to insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):

- - - - - - - - - - - - Live Console - - - - - - - - - - - -

* Working...
class : lunpath, instance 0
lun path (class = lunpath, instance = 0) belonging to LUN (default minor = 0x0) has come online

ERROR: Could not correctly mount media number "2". Just in case the media was already mounted, will try again. Please manually unmount the media
drive, but leave media number "2" in the drive.
- Cannot mount media.
- The "mount" command failed with the return code "1", and generated the following output:
/dev/dsk/c0t0d0: I/O error



=================================================
ERROR: Please try again to insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):
#######################################
Jerry_109
Super Advisor

Re: How to eject CDROM ?

Working great. Thank you so much..... :>)

######################################
[hovm230] vMP> IN

Insertable Guest Devices
Num Hw-path (Bus,Slot,Tgt) Gdev
--------------------------------------------
[1] 0/0/0/0.0.0 (0,0,0) dvd

Enter menu item number or [Q] to Quit: 1

Insertable File Backing Stores
Num File
---------------------
[1] /dev/rdsk/c0t0d0

Enter menu item number or [Q] to Quit: 1

Confirm insertion action
G - Go
F - Force

Enter menu item or [Q] to Quit: G

[hovm230] vMP> ma


vMP MAIN MENU

CO: Console
CM: Command Menu
CL: Console Log
SL: Show Event Logs
VM: Virtual Machine Menu
HE: Main Help Menu
X: Exit Connection

[hovm230] vMP> co



(Use Ctrl-B to return to vMP main menu.)



- - - - - - - - - - Prior Console Output - - - - - - - - - -
- Cannot mount media.
- The "mount" command failed with the return code "1", and generated the following output:
/dev/dsk/c0t0d0: I/O error



=================================================
ERROR: Please try again to insert media number "2".
1) Continue.
Please pick from the choices above. (default: 1):

- - - - - - - - - - - - Live Console - - - - - - - - - - - -
Please pick from the choices above. (default: 1):

- - - - - - - - - - - - Live Console - - - - - - - - - - - -

* Working...
* Installing bundle "B6848BA,r=1.4.gm.46.16" .
* Installing bundle "DynRootDisk,r=A.2.0.0.592" .
* Installing bundle "FIREFOX,r=1.5.0.8.00" .
* Installing bundle "FIREFOXsrc,r=1.5.0.8.00" .
* Installing bundle "GTK,r=2.6.8.00.01" .
* Installing bundle "GTKsrc,r=2.6.8.00.01" .
* Installing bundle "MOZILLA,r=1.7.13.01.01" .
* Installing bundle "MOZILLAsrc,r=1.7.13.01.01" .
* Installing bundle "T1458AA,r=1.4.2.13.01" .
* Installing bundle "TBIRD,r=1.5.0.8.00" .
* Installing bundle "TBIRDsrc,r=1.5.0.8.00" .
* Installing bundle "hpuxwsWebmin,r=A.1.070.09" .
* Installing bundle "hpuxwsXml,r=A.2.03" .
* Installing fileset "DRD.DRD-ENG-A-MAN,r=A.2.0.0.592" (1206 of 1256).
* Installing fileset "DRD.DRD-RUN,r=A.2.0.0.592" (1207 of 1256).
###################################
UVA
Regular Advisor

Re: How to eject CDROM ?

Hi,

Its really fantastic....

I appreciate all you guys.