Project

General

Profile

Feature #2232

qemu: resize guest disk when rbd image is resized

Added by Sage Weil almost 11 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

According to Christoph, this is probably just a matter of calling bdrv_truncate() with the new size. If that doesn't fly with the qemu guys, they should have a better suggestion for a cleaner API.

History

#1 Updated by Sage Weil almost 11 years ago

  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 1168

#2 Updated by Sage Weil almost 11 years ago

  • translation missing: en.field_position deleted (1168)
  • translation missing: en.field_position set to 3

#3 Updated by Josh Durgin almost 11 years ago

I tested this on Friday, and qemu rereads the size (at least when using virtio) when the guest requests it (i.e. echo 1 | sudo tee /sys/bus/pci/rescan).

#4 Updated by Sage Weil over 10 years ago

  • translation missing: en.field_position deleted (66)
  • translation missing: en.field_position set to 55

#5 Updated by Sage Weil over 10 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)

#6 Updated by Sage Weil over 10 years ago

  • translation missing: en.field_position deleted (106)
  • translation missing: en.field_position set to 1
  • translation missing: en.field_position changed from 1 to 1329

#7 Updated by Neil Levine almost 10 years ago

  • Status changed from 12 to New

Also available in: Atom PDF