วันจันทร์ที่ 1 กรกฎาคม พ.ศ. 2556

How to Resize Storage Repository after Changing Size of Logical Volume Manager Based Storage

iSCSI SRs with software initiator
  1. Shut down all virtual machines on the SR.
  2. Note the Universally Unique Identifier (UUID) of the Storage Repository. Use the xe sr-list command on the XenServer host and identify the SR by its name label.
  3. Identify the Physical Block Device (PBD) UUID corresponding to the SR. Use the following command on XenServer:
    # xe sr-param-list uuid=<SR UUID>|grep PBDwhere <SR UUID> is the UUID of the SR noted in step 2.
  4. Unplug the Physical Block Device (PBD) corresponding to the Storage Repository.
    # xe pbd-unplug uuid=<PBD UUID>where <PBD UUID> is the UUID of PBD noted in step 3.
  5. Plug the PBD.
    # xe pbd-plug uuid=<PBD UUID>
    Note: In previous versions of XenServer, explicit commands were required to resize the physical volume group of iSCSI and HBA SRs. These commands are now issued as part of the PBD plug operation and are no longer required.
  6. Power on the Virtual Machines.

HBA SRLive Migrate Virtual Machines to another host in the pool or shutdown or suspend the Virtual Machines.Restart the host.Power on the Virtual Machines.Repeat for each host in the pool.