Setup Guide
Configuring Storage 61
4
Unplug the Physical Block Device (PBD) corresponding to the Storage
Repository. Type the following command:
# xe pbd-unplug uuid=<PBD UUID>
where <PBD UUID> is the UUID of PBD noted in step 3.
5
Plug the PBD. Type the following command:
# xe pbd-plug uuid=<PBD UUID>
6
Find the physical volume device SCSI device mapping name on which the
SR exists.
Identify the volume group (VG) corresponding to the SR.
Type the following command on XenServer host:
# pvs
The output of this command is similar to one below:
PV V G
Fmt Attr PSize PFree
/dev/sdd VG_XenStorage-058e9a1d-9b7e-71bc-
7a4c-5b78d6e30bcb lvm2 a- 80.00G 38.00G
/dev/sde VG_XenStorage-4684b6c6-be6d-6267-
b7b5-834a1fd30f65 lvm2 a- 59.99G 45.99G
The volume groups (VG) are named as VS_XenStorage-<SR UUID>.
Using the SR UUID noted in step 2, identify the correct volume group and
the corresponding Physical Volume (PV) from the output of the above
command.
7
Resize the Physical Volume. Type the following command:
# pvresize /dev/sd<x>
8
Scan the Storage Repository. Type the following command:
# xe sr-scan uuid=<SR UUID>
9
The SR size now gets updated to the new size of the physical volume.
10
Turn on the VMs.










