Re: Possible bug with rbd export/import?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason Dillaman wrote:
> On Fri, Mar 13, 2020 at 11:36 AM Matt Dunavant
> <mdunavant(a)convokesystems.com&gt; wrote:
> > 
> >  Jason Dillaman wrote:
> >  > On Fri, Mar 13, 2020 at 11:17 AM Matt Dunavant
> >  > <mdunavant(a)convokesystems.com&gt; wrote:
> >  > >
> >  > >  I'm not sure of the last known good release of the rbd CLI where this
> > worked. I just
> >  > > ran the sha1sum against the images and they always come up as different. Might
> > be worth
> >  > > knowing, this is a volume that's provisioned at 512GB (with much less
> > actually used)
> >  > > but after export, it only shows up as about 56GB.
> >  > The resulting image from the "rbd import" only shows up as 56GiB?
> >  >
> >  > >  _______________________________________________
> >  > >  ceph-users mailing list -- ceph-users(a)ceph.io
> >  > >  To unsubscribe send an email to ceph-users-leave(a)ceph.io
> >  > >
> >  Yeah, it's super odd. The actual content in the 512GB rbd image is probably about
> > 50ish GB but the command isn't killing itself early or throwing any errors. I believe
> > when I run the export to a middleman and then import, the image shows up as the correct
> > size. I'll test that in a bit. 
> Couple test cases to try:
> 
> Does the "rbd export" progress bar get to 100%?
> If you run "rbd export - > some_file" does it create a 512GiB file?
> If you run "rbd import" with a "--sparse-size 0" argument, does it
> change the result?
> 
> >  _______________________________________________
> >  ceph-users mailing list -- ceph-users(a)ceph.io
> >  To unsubscribe send an email to ceph-users-leave(a)ceph.io
> >
rbd export progress bar gets to 100% but there's some weird behavior. It'll jump immediately to 14%, wait for a bit, and then slowly climb to 100%

A few results:

1) rbd export of a snapshot results in an incorrectly sized drive but correct sha1sum.
2) rbd export > some_file creates a 512GB file and a correctly sized import and sha1sum, however the VM disk has some sort of corruption and the OS won't properly load.
3) rbd import with --sparse-size0 results in an incorrect sha1sum
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux