All of lore.kernel.org
 help / color / mirror / Atom feed
* bug in rbd rename command?
@ 2013-04-19  7:28 Stefan Priebe - Profihost AG
  2013-04-19 20:26 ` Dan Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Priebe - Profihost AG @ 2013-04-19  7:28 UTC (permalink / raw)
  To: ceph-devel@vger.kernel.org

Hi,

if i issue rbd -p POOLNAME ... rename a b

It uses the POOL for a but not for b.

Output is then:
rbd: mv/rename across pools not supported
source pool: vmstorssd1 dest pool: rbd

Shouldn't it use the pool provided by -p for both?

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in rbd rename command?
  2013-04-19  7:28 bug in rbd rename command? Stefan Priebe - Profihost AG
@ 2013-04-19 20:26 ` Dan Mick
  2013-04-19 20:29   ` Stefan Priebe
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Mick @ 2013-04-19 20:26 UTC (permalink / raw)
  To: Stefan Priebe - Profihost AG; +Cc: ceph-devel@vger.kernel.org

It's arguable, but we wanted to treat source and destination pools 
separately in general.

Note that you can also specify images as POOLNAME/a and POOLNAME/b.

On 04/19/2013 12:28 AM, Stefan Priebe - Profihost AG wrote:
> Hi,
>
> if i issue rbd -p POOLNAME ... rename a b
>
> It uses the POOL for a but not for b.
>
> Output is then:
> rbd: mv/rename across pools not supported
> source pool: vmstorssd1 dest pool: rbd
>
> Shouldn't it use the pool provided by -p for both?
>
> Stefan
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in rbd rename command?
  2013-04-19 20:26 ` Dan Mick
@ 2013-04-19 20:29   ` Stefan Priebe
  2013-04-19 20:33     ` Sage Weil
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Priebe @ 2013-04-19 20:29 UTC (permalink / raw)
  To: Dan Mick; +Cc: ceph-devel@vger.kernel.org

Am 19.04.2013 22:26, schrieb Dan Mick:
> It's arguable, but we wanted to treat source and destination pools
> separately in general.
>
> Note that you can also specify images as POOLNAME/a and POOLNAME/b.
Sure i know that. But then -p does not make sense at all. Nobody want to 
use:
rbd -p POOLFORA rename a POOLFORB/b

Wouldn't it be constant to expand this for b? I mean renaming from poola 
to poolb isn't supported anyway ;-)

Greets,
Stefan

> On 04/19/2013 12:28 AM, Stefan Priebe - Profihost AG wrote:
>> Hi,
>>
>> if i issue rbd -p POOLNAME ... rename a b
>>
>> It uses the POOL for a but not for b.
>>
>> Output is then:
>> rbd: mv/rename across pools not supported
>> source pool: vmstorssd1 dest pool: rbd
>>
>> Shouldn't it use the pool provided by -p for both?
>>
>> Stefan
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in rbd rename command?
  2013-04-19 20:29   ` Stefan Priebe
@ 2013-04-19 20:33     ` Sage Weil
  2013-04-19 20:34       ` Stefan Priebe
  0 siblings, 1 reply; 5+ messages in thread
From: Sage Weil @ 2013-04-19 20:33 UTC (permalink / raw)
  To: Stefan Priebe; +Cc: Dan Mick, ceph-devel@vger.kernel.org

I think we can make the --dest-pool default to --pool instead of rbd...  
that's easy enough, right?

sage

On Fri, 19 Apr 2013, Stefan Priebe wrote:

> Am 19.04.2013 22:26, schrieb Dan Mick:
> > It's arguable, but we wanted to treat source and destination pools
> > separately in general.
> > 
> > Note that you can also specify images as POOLNAME/a and POOLNAME/b.
> Sure i know that. But then -p does not make sense at all. Nobody want to use:
> rbd -p POOLFORA rename a POOLFORB/b
> 
> Wouldn't it be constant to expand this for b? I mean renaming from poola to
> poolb isn't supported anyway ;-)
> 
> Greets,
> Stefan
> 
> > On 04/19/2013 12:28 AM, Stefan Priebe - Profihost AG wrote:
> > > Hi,
> > > 
> > > if i issue rbd -p POOLNAME ... rename a b
> > > 
> > > It uses the POOL for a but not for b.
> > > 
> > > Output is then:
> > > rbd: mv/rename across pools not supported
> > > source pool: vmstorssd1 dest pool: rbd
> > > 
> > > Shouldn't it use the pool provided by -p for both?
> > > 
> > > Stefan
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > > 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug in rbd rename command?
  2013-04-19 20:33     ` Sage Weil
@ 2013-04-19 20:34       ` Stefan Priebe
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Priebe @ 2013-04-19 20:34 UTC (permalink / raw)
  To: Sage Weil; +Cc: Dan Mick, ceph-devel@vger.kernel.org


Am 19.04.2013 22:33, schrieb Sage Weil:
> I think we can make the --dest-pool default to --pool instead of rbd...
> that's easy enough, right?

Yes ;-) it doesn't hurt me but i've seen some people getting confused..

> sage
>
> On Fri, 19 Apr 2013, Stefan Priebe wrote:
>
>> Am 19.04.2013 22:26, schrieb Dan Mick:
>>> It's arguable, but we wanted to treat source and destination pools
>>> separately in general.
>>>
>>> Note that you can also specify images as POOLNAME/a and POOLNAME/b.
>> Sure i know that. But then -p does not make sense at all. Nobody want to use:
>> rbd -p POOLFORA rename a POOLFORB/b
>>
>> Wouldn't it be constant to expand this for b? I mean renaming from poola to
>> poolb isn't supported anyway ;-)
>>
>> Greets,
>> Stefan
>>
>>> On 04/19/2013 12:28 AM, Stefan Priebe - Profihost AG wrote:
>>>> Hi,
>>>>
>>>> if i issue rbd -p POOLNAME ... rename a b
>>>>
>>>> It uses the POOL for a but not for b.
>>>>
>>>> Output is then:
>>>> rbd: mv/rename across pools not supported
>>>> source pool: vmstorssd1 dest pool: rbd
>>>>
>>>> Shouldn't it use the pool provided by -p for both?
>>>>
>>>> Stefan
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-19 20:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19  7:28 bug in rbd rename command? Stefan Priebe - Profihost AG
2013-04-19 20:26 ` Dan Mick
2013-04-19 20:29   ` Stefan Priebe
2013-04-19 20:33     ` Sage Weil
2013-04-19 20:34       ` Stefan Priebe

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.