AIX

AIX

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

 View Only
  • 1.  Extend a VIO presented virtual disk - Is this possible ?

    Posted Wed June 07, 2006 01:57 PM

    Originally posted by: SystemAdmin


    Quick question for which I am guessing the answer is recreate it. Is there a method for increasing the size of a VIO served disk ?

    I have a logical volume on a VIO server that is presenting up a 40Gb "hdisk1" to an LPAR. The virtual disk has some oracle data on it via but they want some more space. I have increased the underlying logical volume on the VIO server by an additional 20Gb but I can't see anyway to increase the size of the "physical disk" as its seen on the LPAR.

    Obviously I can add more disk space by creating a new logical volume and presenting that but thought I would experiment while the system is in the build stage.

    Anyone know if its possible to increase the disk without moving or losing the existing data ?


  • 2.  Re: Extend a VIO presented virtual disk - Is this possible ?

    Posted Wed June 07, 2006 02:09 PM

    Originally posted by: SystemAdmin


    Try a chvg -t on the vg and that should then display the free pps for you.


  • 3.  Re: Extend a VIO presented virtual disk - Is this possible ?

    Posted Thu June 08, 2006 06:31 AM

    Originally posted by: StevieL


    As you say, I don't think you can. I don't think AIX has that kind of communication with the VIO server. The only way I can think to do it is to either recreate the underlying disk, or add additional VIO storage 'chunks'.


  • 4.  Re: Extend a VIO presented virtual disk - Is this possible ?

    Posted Fri June 09, 2006 01:42 PM

    Originally posted by: SystemAdmin


    This makes sense, if you think of it. A physical volume in LVM is modeled after a SCSI drives. SCSI drives don't expand and contract. There are probably places in LVM that assume that the size of a physical volume doesn't change, so changing this would require a lot of careful work.


  • 5.  Re: Extend a VIO presented virtual disk - Is this possible ?

    Posted Wed June 14, 2006 07:42 AM

    Originally posted by: SystemAdmin


    It is not possible. We tried all combinations including changing ODM. The only option is to use AIX LVM - create new LV on VIO server, present it to LPAR and expand rootvg.
    Let AIX do what it does best.


  • 6.  Re: Extend a VIO presented virtual disk - Is this possible ?

    Posted Wed June 14, 2006 09:10 AM

    Originally posted by: VirtualGreg


    When I last looked expanding rootvg was unsupported anyhow. For now, I'd create another disk for that client LPAR, add it rootvg and do a migratepv <old disk> <new disk> and remove the old disk, rather than have more volumes to manage.