I needed to re-size an SR in XenServer, for some reason all the articles (including the one on citrix web site) did not work.
Finally I did the following steps and it started working...
1. Shut down all virtual machines on the SR.
2. Get the SR UUID with #xe sr-list name-lable=[SR anme]
3. Extend the Volume on the Storage
4. In CLI Run #iscsiadm -m node –R (to reinitialize the iSCSI) on the pool master
5. In the CLI run #pvresize --setphysicalvolumesize 40G /dev/sda1 (when replacing the amount of Gb and the location of the SR)
6. Run in the CLI #xe sr-scan uuid=[uuid]
7. Run #pvs to be sure the new size is here
8. Power on the Virtual Machines.
Simple, no ?
I noticed that if you wait long enough, no action needs to be taken beside resizing the volume on the storage.
ReplyDeleteThe Xen just picked up on the changes after a while...