[Pkg-xen-devel] Bug#725676: resizing SR fails

Daniel Pocock daniel at pocock.com.au
Mon Oct 7 09:40:16 UTC 2013


Package: xcp-xapi
Version: 1.3.2-14

I've expanded the underlying volume for the SR

xe sr-scan doesn't seem to detect the new space

I've tried various things:

- using pvresize so that LVM detects the bigger partition

      pvresize /dev/sda6

   and the pvscan command now shows the correct space.  running "xe
sr-scan uuid=$UUID" after this failed to detect the space

- using lvresize to increase the underlying LV for the SR, e.g.

      lvresize -l +12345 /dev/VG/$UUID

   Now lvs shows the right amount of space, but "xe sr-scan uuid=$UUID"
after this failed to detect the space

- I also tried using sr-param-set:

     # VALUE=    ( manually extracted from lvs --units b )
     # xe sr-param-set uuid=$UUID physical-size=$VALUE
     Error: Field 'physical-size' is read-only.

   and it doesn't like it

Is there some fault here or is there some other step involved in
expanding the SR?

There are various discussions about it online but the docs don't give a
specific answer.  Some people suggest that a reboot should fix it, I
have rebooted a couple of times but not since trying lvresize



More information about the Pkg-xen-devel mailing list