Project

General

Profile

Actions

Feature #42

closed

Resize of rbd image

Added by Yehuda Sadeh about 14 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
rbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We want to be able to resize the rbd image. Snapshots should be maintained and should have a size associated with them.

Actions #1

Updated by Sage Weil about 14 years ago

rbdtool part is done. i think the driver just needs to have a 'refresh' function to reload the image metadata.

Actions #2

Updated by Sage Weil almost 14 years ago

  • Project changed from 3 to Linux kernel client
Actions #3

Updated by Sage Weil almost 14 years ago

  • Category set to 6
Actions #4

Updated by Sage Weil almost 14 years ago

  • Project changed from Linux kernel client to 3
  • Category deleted (6)
Actions #5

Updated by Yehuda Sadeh almost 14 years ago

There is a refresh /sys/class/.. interface, however, resizing of an image should be lock protected, and probably shouldn't happen when an image is mounted on the client. There are certain issues that can happen when resizing a block device after being mapped (or even worse -- with in-flight i/o) and these should be avoided.

Actions #6

Updated by Sage Weil over 13 years ago

resizing hte underlying block device has been possible with ext3 since RHEL 4 (~5 years?), so this is something we should support.

e.g., http://blog.gurudelleccelsopicco.org/2009/09/online-lun-expansion-and-partition-resizing-without-reboot-under-linux/

Actions #7

Updated by Sage Weil over 13 years ago

  • Category set to 7
Actions #8

Updated by Sage Weil over 13 years ago

  • Estimated time set to 1:00 h
  • Source set to 1
Actions #9

Updated by Sage Weil over 13 years ago

  • Project changed from 3 to Linux kernel client
  • Category deleted (7)
Actions #10

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_position deleted (500)
  • Translation missing: en.field_position set to 1
Actions #11

Updated by Sage Weil about 13 years ago

  • Target version set to v3.0
  • Translation missing: en.field_position deleted (3)
  • Translation missing: en.field_position set to 2
Actions #12

Updated by Sage Weil about 13 years ago

  • Category set to rbd
  • Status changed from New to Resolved
  • Target version changed from v3.0 to v2.6.39

commit:e56433a0330b61e56489779e21f68fdc4c45f5be

Actions

Also available in: Atom PDF