On Mon, Aug 9, 2010 at 3:38 AM, Wido den Hollander <wido@xxxxxxxxx> wrote: > Hi Xiaoguang, > > I don't have a RBD system running at the moment, so i can't check my > commands. > > But when you have /dev/rbd0, you can remove this device with: > > echo 0 > /sys/class/rbd/remove > > There might be a resize option, see: > http://tracker.newdream.net/issues/42 > > echo 0 > /sys/class/rbd/refresh > This will update the list of snapshots, but will not resize a mapped device. For doing that you'll need to remove/add the device. Also, it is highly unrecommended to alter the image while it is mapped, as there is no proper locking and notification mechanism. Yehuda -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html