Re: rbd resize option

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

 



> Op 11 mei 2016 om 8:38 schreef M Ranga Swami Reddy <swamireddy@xxxxxxxxx>:
> 
> 
> Hello,
> I wanted to resize an image using 'rbd' resize option, but it should
> be have data loss.
> For ex: I have image with 100 GB size (thin provisioned). and this
> image has data of 10GB only. Here I wanted to resize this image to
> 11GB, so that 10GB data is safe and its resized.
> 
> Can I do the above resize safely.?
> 

No, you can't. You need to resize the filesystem and partitions inside the RBD image to something below 11GB before you can do this.

Still, make sure you have backups!

Also, why shrink? If you can, run a fstrim on the image, that might reclaimed unused space on the Ceph cluster.

> If I tried to resize to 5GB, is rbd throughs an error saying that your
> data is going loss, something like that???
> 
> Any inputs here are appriciated.
> 
> Thanks
> Swami
> _______________________________________________
> 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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux