Tuesday, January 25, 2011

XenServer - Resize LUNs for XenServer SRs

Resize LUNs for XenServer SRs

1. Extend the LUN from the SAN
2. # xe sr-list name-label=
Note down the UUID of the SR
3. # pvscan | grep
Note down the device name, e.g. /dev/sdx
4. # echo 1 > /sys/block/device/device/rescan
e.g. echo 1 > /sys/block/sdx/device/rescan
5. # pvresize
e.g. pvresize /dev/sdx
6. # xe sr-scan
7. Verify from XenCenter or using command line that the new size is displayed.
e.g. pvscan | grep

No comments:

Post a Comment