All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Hennerbichler <wolfgang.hennerbichler@risc-software.at>
To: Josh Durgin <josh.durgin@inktank.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: rename whilst in use
Date: Thu, 28 Feb 2013 07:01:02 +0100	[thread overview]
Message-ID: <512EF29E.9050802@risc-software.at> (raw)
In-Reply-To: <512E823C.4080902@inktank.com>



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? :)


  reply	other threads:[~2013-02-28  6:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 12:59 rename whilst in use Wolfgang Hennerbichler
2013-02-27 22:01 ` Josh Durgin
2013-02-28  6:01   ` Wolfgang Hennerbichler [this message]
2013-02-28  8:40     ` Josh Durgin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512EF29E.9050802@risc-software.at \
    --to=wolfgang.hennerbichler@risc-software.at \
    --cc=ceph-devel@vger.kernel.org \
    --cc=josh.durgin@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.