Re: Striping feature gone after flatten with cloned images

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

 



When you set "--stripe-count" to 1 and set the "--stripe-unit" to the object size, you have actually explicitly told the rbd CLI to not use "fancy" striping.  A better example would be something like:

rbd clone --stripe-unit 4K --stripe-count 16 storage1/cloudlet-1@snap1 storage1/cloudlet-1-clone

--

Jason Dillaman 


----- Original Message ----- 

> From: "Bill WONG" <wongahshuen@xxxxxxxxx>
> To: "Jason Dillaman" <dillaman@xxxxxxxxxx>
> Cc: "ceph-users" <ceph-users@xxxxxxxxxxxxxx>
> Sent: Thursday, January 28, 2016 10:08:38 PM
> Subject: Re:  Striping feature gone after flatten with cloned
> images

> hi jason,

> how i can make the stripping parameters st the time of clone creation? as i
> have tested, which looks doesn't work properly..
> the clone image still without stripping.. any idea?
> --
> rbd clone --stripe-unit 4096K --stripe-count 1 storage1/cloudlet-1@snap1
> storage1/cloudlet-1-clone
> rbd flatten storage1/cloudlet-1-clone
> rbd info storage1/cloudlet-1-clone
> rbd image 'cloudlet-1-clone':
> size 1000 GB in 256000 objects
> order 22 (4096 kB objects)
> block_name_prefix: rbd_data.5ecd364dfe1f8
> format: 2
> features: layering
> flags:
> ---

> On Fri, Jan 29, 2016 at 3:54 AM, Jason Dillaman < dillaman@xxxxxxxxxx >
> wrote:

> > You must specify the clone's striping parameters at the time of its
> > creation
> > -- it is not inherited from the parent image.
> 

> > --
> 

> > Jason Dillaman
> 

> > ----- Original Message -----
> 

> > > From: "Bill WONG" < wongahshuen@xxxxxxxxx >
> 
> > > To: "ceph-users" < ceph-users@xxxxxxxxxxxxxx >
> 
> > > Sent: Thursday, January 28, 2016 1:25:12 PM
> 
> > > Subject:  Striping feature gone after flatten with cloned
> > > images
> 

> > > Hi,
> 

> > > i have tested with the flatten:
> 
> > > 1) make a snapshot of image
> 
> > > 2) protect the snapshot
> 
> > > 3) clone the snapshot
> 
> > > 4) flatten the clone
> 
> > > then i found issue:
> 
> > > with the original image / snapshot or the clone before flatten, all are
> > > with
> 
> > > stripping feature, BUT after flattened the clone, then there is no more
> 
> > > Stripping with the clone image...what is the issue? and how can enable
> > > the
> 
> > > striping feature?
> 

> > > thank you!
> 

> > > _______________________________________________
> 
> > > ceph-users mailing list
> 
> > > ceph-users@xxxxxxxxxxxxxx
> 
> > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



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


  Powered by Linux