Power

 View Only
  • 1.  increase size of a File System in AIX Client Lpar.

    Posted Wed May 03, 2023 05:28 PM

    Hi,

    I am trying to increase size of a File System in AIX Client Lpar.
    However I cannot use chfs command, as there is not enough space in the VG.
    This is a Client Lpar and disks are vscsi.
    I have physical disks connected to VIO, which show there is space available.
    How to add disk from VIO to Client Lpar, and increase client lpar VG to increase space in FS.
    Please assist ASAP.
    Thanks.



    ------------------------------
    Jaspreet Chadda
    ------------------------------


  • 2.  RE: increase size of a File System in AIX Client Lpar.

    Posted Wed May 03, 2023 09:52 PM
    On vio, find a free hdisk, or LV, or LU in an ssp, and mkvdev -vadapter vhost# -dev aribitraryuniquename -vdev hdisk#/lv_name

    Or with ssp us lu command, sorrry don't remember the Parms off the top of my head

    Then on client lpar run cfgmgr, find the new hdisk#, extendvg the vg





  • 3.  RE: increase size of a File System in AIX Client Lpar.

    Posted Fri May 05, 2023 10:23 AM

    To add a disk from the VIO server to the AIX client LPAR, follow these steps:

    1. On the VIO server, create a new virtual disk with the desired size using the mkvdev command.
    2. Map the new virtual disk to the AIX client LPAR using the viosvrcfg command on the VIO server. This will create a new virtual SCSI adapter on the AIX client LPAR.
    3. On the AIX client LPAR, use the cfgmgr command to detect the new virtual SCSI adapter and the newly mapped virtual disk.
    4. Use the extendvg command on the AIX client LPAR to add the newly mapped virtual disk to the existing volume group (VG).
    5. Once the disk is added to the VG, use the chfs command to extend the file system.


    ------------------------------
    Hassan al Banna
    ------------------------------