AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  mounting cd from hmc partition

    Posted Wed August 12, 2009 05:37 PM

    Originally posted by: SystemAdmin


    Hello, I am logged into an AIX 5.3 partition within HMC. How do I access the cdrom drive? I went through these mounting instructions but it didn't work, http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/start/t0006751.htm.

    any ideas?

    thanks.
    #AIX-Forum


  • 2.  Re: mounting cd from hmc partition

    Posted Wed August 12, 2009 09:12 PM

    Originally posted by: dukessd


    Well obviously the procedure failed at some point!

    Where did it fail?
    What was the result of each step?
    Does your partition have a CD drive in the available state to start with?
    Where, exactly, did you put the CD, in the HMC CD drive?
    What is on the CD?
    What filesystem type is on your CD disk?
    What type of CD disk is it, CD-ROM, CD-RW, CD-R?
    What type of CD drive is it - and again, are you trying to use the drive in the HMC or the pSeries system?
    Can another system read the CD or could it be blank or damaged?

    Come on! give us a clue..
    #AIX-Forum


  • 3.  Re: mounting cd from hmc partition

    Posted Thu August 13, 2009 10:17 AM

    Originally posted by: datta13


    mkdir -p /cdrom
    Just check
    1. smitty cdrom
    CD ROM Drive

    Move cursor to desired item and press Enter.

    List All Defined CD ROM Drives
    List All Supported CD ROM Drives
    Add a CD ROM Drive
    Change / Show Characteristics of CD ROM Drive
    Remove a CD ROM Drive
    Configure a Defined CD ROM Drive
    Generate an Error Report
    Trace a CD ROM Drive

    COMMAND STATUS

    Command: OK stdout: yes stderr: no

    Before command completion, additional instructions may appear below.

    cd0 Available 03-08-00 IDE DVD-RAM Drive

    then use the command
    mount -v cdrfs -o ro /dev/cd0 /cdrom

    If u get any error message sent the message.
    #AIX-Forum


  • 4.  Re: mounting cd from hmc partition

    Posted Thu August 13, 2009 02:27 PM

    Originally posted by: SystemAdmin


    When I select the "List All Defined CD ROM Drives' I get this:

    cd0 Defined 01-08-00 IDE DVD-RAM Drive (yours is showing Available)

    When I run the mount command I get this:

    1. mount -v cdrfs -o ro /dev/cd0 /cdrom
    mount: 0506-324 Cannot mount /dev/cd0 on /cdrom: There is a request to a device or address that does not exist.

    I also selected the "Configure a Defined CD ROM Drive" I get this:

    Method error (/usr/lib/methods/cfgidecdrom):
    0514-028 Cannot perform the requested function because the
    parent of the specified device is not in a correct state.
    Thanks for the help.
    #AIX-Forum


  • 5.  Re: mounting cd from hmc partition

    Posted Thu August 13, 2009 02:43 PM

    Originally posted by: datta13


    May be some other LPAR is using CD-ROM find out which one is using cdrom, unmount it from there and mount it over here,

    Is this a production box?
    #AIX-Forum


  • 6.  Re: mounting cd from hmc partition

    Posted Thu August 13, 2009 06:07 PM

    Originally posted by: SystemAdmin


    Good thought, but the other LPAR that is up isn't using it. I tried a mount from that one as well (another AIX 5.3) with the same results.

    This is not a production box.

    thanks.
    #AIX-Forum


  • 7.  Re: mounting cd from hmc partition

    Posted Fri August 14, 2009 08:52 AM

    Originally posted by: datta13


    Is it defined on other Lpar, by the way try to mount it to /mnt, some times it works.

    mount -rv cdrfs /dev/cd0 /mnt
    #AIX-Forum


  • 8.  Re: mounting cd from hmc partition

    Posted Mon August 17, 2009 12:09 AM

    Originally posted by: Kosala


    I always thought DLPAR of CD/DVD is always a mess. Anywayz the following always worked for me.

    From the LPAR currently attached with the CD:

    1. lsslot -c slot

    this will show you how the CD is attached to the LPAR. Then remove the PCI which has the CD/DVD attached to.

    1. rmdev -R -l pci[x]

    Now it's free to be be moved from the HMC. Two options, either you can use the dlpar->IO from the GUI, and chose to move the IO device... it would be like IDE Mass Storage blah blah, or open a ssh session to the HMC, login with "hscroot" and use chhwres to remove it from the existing partition and attach it to the new partition... syntax is hell.

    I hope this helps :).
    #AIX-Forum