Re: [ceph-users] change order of an rbd image ?

2014-02-16 Thread Wido den Hollander

On 02/16/2014 12:45 AM, Daniel Schwager wrote:

Hi,

I created a 1TB rbd-image formated with vmfs (vmware) for an ESX server - but 
with a wrong order (25 instead of 22 ...). The rbd man page tells me for 
export/import/cp, rbd will use the order of the source image.

Is there a way to change the order of a rbd image by doing some conversion? Ok 
- one idea could be to 'dd' the 1TB mapped rbd device to same mounted 
filesystem - but is this the only way?



No, there is not such a way. You can't change the order afterwards, so 
your only option is to export and import again or indeed use something 
like dd.


Wido


best regards
Danny



___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




--
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] change order of an rbd image ?

2014-02-15 Thread Daniel Schwager
Hi,

I created a 1TB rbd-image formated with vmfs (vmware) for an ESX server - but 
with a wrong order (25 instead of 22 ...). The rbd man page tells me for 
export/import/cp, rbd will use the order of the source image.

Is there a way to change the order of a rbd image by doing some conversion? Ok 
- one idea could be to 'dd' the 1TB mapped rbd device to same mounted 
filesystem - but is this the only way?
  
best regards
Danny


smime.p7s
Description: S/MIME cryptographic signature
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com