Project

General

Profile

Actions

Feature #2232

open

qemu: resize guest disk when rbd image is resized

Added by Sage Weil about 12 years ago. Updated almost 11 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.

Actions #1

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 1168
Actions #2

Updated by Sage Weil about 12 years ago

  • Translation missing: en.field_position deleted (1168)
  • Translation missing: en.field_position set to 3
Actions #3

Updated by Josh Durgin about 12 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).

Actions #4

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (66)
  • Translation missing: en.field_position set to 55
Actions #5

Updated by Sage Weil almost 12 years ago

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

Updated by Sage Weil almost 12 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
Actions #7

Updated by Neil Levine about 11 years ago

  • Status changed from 12 to New
Actions

Also available in: Atom PDF