Skip to contentSkip to conversation

bug in rbd rename command?

DISCUSSION Stefan Priebe - Profihost AG 3 participants 5 messages Apr 19, 2013

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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.

Quoted 18 lines · Stefan Priebe - Profihost AG

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Am 19.04.2013 22:26, schrieb Dan Mick:

Quoted 4 lines

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

Quoted 19 lines · Stefan Priebe - Profihost AG
Quoted 18 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

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

sage

Quoted 39 lines · Stefan Priebe

Am 19.04.2013 22:26, schrieb Dan Mick:

Quoted 4 lines

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

Quoted 11 lines · Stefan Priebe - Profihost AG
Quoted 10 lines

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

Quoted 8 lines
Quoted 8 lines

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Am 19.04.2013 22:33, schrieb Sage Weil:

Quoted 2 lines

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

Quoted 43 lines

sage

Quoted 39 lines · Stefan Priebe

Am 19.04.2013 22:26, schrieb Dan Mick:

Quoted 4 lines

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

Quoted 11 lines · Stefan Priebe - Profihost AG
Quoted 10 lines

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

Quoted 8 lines
Quoted 8 lines

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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html