All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Hennerbichler <wolfgang.hennerbichler@risc-software.at>
To: ceph-devel@vger.kernel.org
Subject: rename whilst in use
Date: Wed, 27 Feb 2013 13:59:51 +0100	[thread overview]
Message-ID: <512E0347.4040009@risc-software.at> (raw)

hi,

I've accidently renamed a rbd object that has been in use within a
kvm-domain.

After detaching the rbd object I could rename it, but the source seems
still to be around in space:

# rbd ls -l rd | grep mysql3
mysql3.new  12000M          2

# rbd create rd/test --size 1
# rbd rename rd/test rd/mysql3
rbd: rename error: 2013-02-27 13:53:29.817863 7f3424ba8780 -1 librbd:
rbd image mysql3 already exists
(17) File exists

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 assume this is a bug, that's why I posted it to ceph-devel directly.

Wolfgang




-- 
DI (FH) Wolfgang Hennerbichler
Software Development
Unit Advanced Computing Technologies
RISC Software GmbH
A company of the Johannes Kepler University Linz

IT-Center
Softwarepark 35
4232 Hagenberg
Austria

Phone: +43 7236 3343 245
Fax: +43 7236 3343 250
wolfgang.hennerbichler@risc-software.at
http://www.risc-software.at

             reply	other threads:[~2013-02-27 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 12:59 Wolfgang Hennerbichler [this message]
2013-02-27 22:01 ` rename whilst in use Josh Durgin
2013-02-28  6:01   ` Wolfgang Hennerbichler
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=512E0347.4040009@risc-software.at \
    --to=wolfgang.hennerbichler@risc-software.at \
    --cc=ceph-devel@vger.kernel.org \
    /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.