AIX

AIX

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


#Power
 View Only
  • 1.  Command to list the CD/DVD drive details in aix

    Posted Thu October 08, 2009 06:26 AM

    Originally posted by: Ash_Workspace


    Hello ,

    I am interested in a command for listing CD/DVD Device Charecteristics . I can see the attributes using smit but am not able to find a single command to find the same(all) using ( lsdev or lsattr or lscfg ) . I am interested in knowing below charecteristics .

    smit -> Devices -> CD ROM DRIVE -> Change Show Charecteristics of CD-ROM Drive

    CD ROM Drive cd0
    CD ROM Drive type scsd
    CD ROM Drive interface scsi
    Description 16 Bit SCSI Multimedia CD-ROM Drive
    Status Available
    Location 10-88-00-1,0
    Parent adapter scsi0
    Connection address 1,0
    #AIX-Forum


  • 2.  Re: Command to list the CD/DVD drive details in aix

    Posted Fri October 09, 2009 12:28 AM

    Originally posted by: SystemAdmin


    Cannot think of a single command that can give you all that info except maybe:

    odmget -q "name=cd0" CuDv

    r/
    R
    #AIX-Forum


  • 3.  Re: Command to list the CD/DVD drive details in aix

    Posted Fri October 09, 2009 01:22 AM

    Originally posted by: Ash_Workspace


    This command does not give me one very basic information i.e. device-type

    1. odmget -q "name=cd0" CuDv

    CuDv:
    name = "cd0"
    status = 1
    chgstatus = 2
    ddins = "scdisk"
    location = "10-88-00-1,0"
    parent = "scsi0"
    connwhere = "1,0"
    PdDvLn = "cdrom/scsi/scsd"
    #
    #AIX-Forum


  • 4.  Re: Command to list the CD/DVD drive details in aix

    Posted Fri October 09, 2009 02:41 AM

    Originally posted by: SystemAdmin


    PdDvLn = "cdrom/scsi/scsd"

    Format is "class/subclass/type"

    So it does show you the device-type which in this case is scsd.

    r/
    R
    #AIX-Forum