Re: rename whilst in use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 02/27/2013 11:01 PM, Josh Durgin wrote:

> Since it doesn't appear in rbd ls, this suggests that the old
> rbd_id.mysql3 object still exists.

Yes. Is there a way I can safely delete it?

rados ls -p rd | grep mysql | less
mysql3.rbd
rbd_id.mysql3.new

=> here it is (and yes, it's format==1). can I just say rados rm ...
without having to fear that everything breaks down?

>> unfortunately my scrollback buffer isn't long enough to find out about
>> the actual error I got during the first rename, but it should be easy to
>> reproduce.
> 
> I can't reproduce it (at least not with format 2 images). Can you?

I currently only have this production system to play, so I can't really
try. but you're right, it's a format 1 image. (that was the use case, I
tried to "convert" a format 1 image to a format 2 image by creating the
.new and copying stuff over)

> I'd expect this problem with format 1 images, since they don't separate
> the header object from the name of the image.

so true. :)

> Thanks, it certainly seems like a bug.

as it's a format==1 bug, maybe it's of less importance. so: is rados rm
mysql3.rbd a good idea? :)

> Josh

Wolfgang

PS: I didn't receive mails (even not your reply) on the mailing-list for
about 12 hours, did your mailserver break? Is your mailserver backed by
ceph-fs? :)

--
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


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux