AIX

AIX

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


#Power
 View Only
  • 1.  removing cd drive from VIO

    Posted Thu October 15, 2009 03:31 AM

    Originally posted by: chris5126


    HI,

    Prob a very simple question but i need to remove my cd rom drive from my vio server and assign it physically to my nim. I think i have removed it from the vio but when I try and dlpar it I get an error message saying its still in use. I followed the below procedure:

    lsmap -all
    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost0 U8234.EMA.06DDD34-V1-C30 0x00000003

    VTD ahqpnim01a_hd1
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk3
    Physloc U5886.001.P972106-P1-D6

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost1 U8234.EMA.06DDD34-V1-C31 0x00000003

    VTD NO VIRTUAL TARGET DEVICE FOUND

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost2 U8234.EMA.06DDD34-V1-C32 0x00000006

    VTD ahqpgisl01a_hd1
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk10
    Physloc U5886.001.P972106-P1-D5

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost3 U8234.EMA.06DDD34-V1-C33 0x00000006

    VTD NO VIRTUAL TARGET DEVICE FOUND

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost4 U8234.EMA.06DDD34-V1-C34 0x00000004

    VTD ahqpgism01a_hd1
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk4
    Physloc U5886.001.P972106-P1-D7

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost5 U8234.EMA.06DDD34-V1-C35 0x00000004

    VTD ahqpgism01a_hd3
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk5
    Physloc U789D.001.DQD88MK-P1-C1-T1-LFF0000-L0

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost6 U8234.EMA.06DDD34-V1-C36 0x00000005

    VTD ahqpgisc01a_hd1
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk7
    Physloc U5886.001.P972106-P1-D9

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost7 U8234.EMA.06DDD34-V1-C37 0x00000005

    VTD ahqpgisc01a_hd3
    Status Available
    LUN 0x8100000000000000
    Backing device hdisk6
    Physloc U789D.001.DQD88MK-P1-C1-T1-LFF0100-L0

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost8 U8234.EMA.06DDD34-V1-C127 0x00000000

    VTD dvd
    Status Available
    LUN 0x8100000000000000
    Backing device cd0
    Physloc U789D.001.DQD88MK-P4-D1
    lsdev -slots
    1. Slot Description Device(s)
    HEA 1 Logical I/O Slot lhea0 ent0 ent1 ent2 ent3
    HEA 9 Logical I/O Slot lhea1 ent4 ent5 ent6 ent7
    U789D.001.DQD88MK-P1-T3 Logical I/O Slot pci3 sissas0
    U8234.EMA.06DDD34-V1-C0 Virtual I/O Slot vsa0
    U8234.EMA.06DDD34-V1-C2 Virtual I/O Slot vasi0
    U8234.EMA.06DDD34-V1-C11 Virtual I/O Slot ent11
    U8234.EMA.06DDD34-V1-C12 Virtual I/O Slot ent12
    U8234.EMA.06DDD34-V1-C13 Virtual I/O Slot ent15
    U8234.EMA.06DDD34-V1-C14 Virtual I/O Slot ent16
    U8234.EMA.06DDD34-V1-C30 Virtual I/O Slot vhost0
    U8234.EMA.06DDD34-V1-C31 Virtual I/O Slot vhost1
    U8234.EMA.06DDD34-V1-C32 Virtual I/O Slot vhost2
    U8234.EMA.06DDD34-V1-C33 Virtual I/O Slot vhost3
    U8234.EMA.06DDD34-V1-C34 Virtual I/O Slot vhost4
    U8234.EMA.06DDD34-V1-C35 Virtual I/O Slot vhost5
    U8234.EMA.06DDD34-V1-C36 Virtual I/O Slot vhost6
    U8234.EMA.06DDD34-V1-C37 Virtual I/O Slot vhost7
    U8234.EMA.06DDD34-V1-C127 Virtual I/O Slot vhost8

    rmdev -dev vhost8 -recursive
    dvd deleted
    vhost8 deleted

    lsdev -Cc cdrom
    cd0 Available 03-08-00 SATA DVD-RAM Drive
    ahqpvio01a:/home/padmin-->lsdev -l sata0 -F parent
    sissas0
    ahqpvio01a:/home/padmin-->rmdev -dl sissas0 -R
    cd0 deleted
    sata0 deleted
    sissas0 deleted

    dlpar then error
    #AIX-Forum


  • 2.  Re: removing cd drive from VIO

    Posted Thu October 15, 2009 12:15 PM

    Originally posted by: esv


    what is the error message you get? also, couldn't you make your NIM server a vscsi client of your VIO server and mount the cd/dvd via the vscsi adapter?

    Also, you could load the iso image to an optical library in your vio server and make it available to your NIM server, then mount the ISO image as a standard CD/DVD drive in the NIM server.

    best regards,
    esv.
    #AIX-Forum


  • 3.  Re: removing cd drive from VIO

    Posted Thu October 15, 2009 12:15 PM

    Originally posted by: esv


    what is the error message you get? also, couldn't you make your NIM server a vscsi client of your VIO server and mount the cd/dvd via the vscsi adapter?

    Also, you could load the iso image to an optical library in your vio server and make it available to your NIM server, then mount the ISO image as a standard CD/DVD drive in the NIM server.

    best regards,
    esv.
    #AIX-Forum


  • 4.  Re: removing cd drive from VIO

    Posted Fri October 16, 2009 03:04 AM

    Originally posted by: SystemAdmin


    What exactly is the DLPAR error you are getting? I am presuming it is NOT rmc related.

    On VIO do a cfgmgr in oem_setup_env. You should see the cd0 in available state.

    Next type:
    lsdev -Cl sissas0 -F parent

    You should see something like pci11 let's say.

    Then run:

    rmdev -dl pci11 -R

    Now try the DLPAR operation.

    r/
    R
    #AIX-Forum


  • 5.  Re: removing cd drive from VIO

    Posted Fri October 16, 2009 03:36 AM

    Originally posted by: chris5126


    Hi,

    i have readded it again using cfgmgr, so if I want to remove it totaly I would remove pci3 correct?

    lsdev -Cl sissas0 -F parent
    pci3

    Regards

    Chris
    #AIX-Forum


  • 6.  Re: removing cd drive from VIO

    Posted Fri October 16, 2009 03:39 AM

    Originally posted by: chris5126


    Actually thinking about it I would like to just share the dvd rom from the vio to other lpars. When I type lsmap now I get

    SVSA Physloc Client Partition ID

    --------------------------------------------
    vhost8 U8234.EMA.06DDD34-V1-C127 0x00000000

    VTD NO VIRTUAL TARGET DEVICE FOUND

    This is where the DVD drive used to be, how would I add it again as a virtual adapter.
    #AIX-Forum


  • 7.  Re: removing cd drive from VIO

    Posted Mon October 19, 2009 07:21 AM

    Originally posted by: SystemAdmin


    Yes it is pci3 that you should remove recursively.

    Since your requirements have changed now try this:

    After cfgmgr, cd0 would be known to the vio, but would not be mapped to vhost8.

    Map it with:

    mkvdev -dev cd0 -vadapter vhost8

    Then you can assign this adapter to the client LPARs.

    r/
    R
    #AIX-Forum