also, you probably want to reclaim unused space when you delete files. http://ceph.com/docs/master/rbd/qemu-rbd/#enabling-discard-trim
On Fri, Jul 31, 2015 at 3:54 AM pixelfairy <pixelfa...@gmail.com> wrote: > rbd is already thin provisioned. when you set its size, your setting the > maximum size. its explained here, > http://ceph.com/docs/master/rbd/rados-rbd-cmds/ > > On Thu, Jul 30, 2015 at 12:04 PM Robert LeBlanc <rob...@leblancnet.us> > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> I'll take a stab at this. >> >> I don't think it will be a feature that you will find in Ceph due to >> the fact that Ceph doesn't really understand what is going on inside >> the RBD. There are too many technologies that can use RBD that it is >> not feasible to try and support something like this. >> >> You can however have a service that runs in your VM which monitors >> free space. Then the free space gets too low, it can call to a service >> you write which will then expand the RBD on the fly and then the VM >> itself and resize the partitions and the file system after the RBD is >> expanded. >> >> I'm not sure how CephFS fits into all of this as it is different than >> RBD. CephFS is to NFS as RBD is to SAN block storage. >> >> If I misunderstood the question, please clarify. >> -----BEGIN PGP SIGNATURE----- >> Version: Mailvelope v0.13.1 >> Comment: https://www.mailvelope.com >> >> wsFcBAEBCAAQBQJVunUCCRDmVDuy+mK58QAAwGcP/0Y5gz4flZ0XuaXdKlez >> iogX9QsAoPk9s8fd0vpc3Prlhx/YODgkqqm35iJh5PaDEqb6njZwe3CR0WBh >> mba6xAjSGe9D8dzkLP5cCvRSlkVexddAfj5K/M+JkjWyQhlq4TQcu3CSBo8Q >> 1pyI6dDwWNl8ScCu4/PN4Bl2OD9favEs8tXjNJ5/mhZWFjSN7t8/LLqsUNu6 >> AlMp2hFFfb1f0ky7EI/Hg3uw0+BbGDn/N0oxDyZqH7Wqnp/5L4kRAkZkXsGh >> T7a4KxReNu/5eg2Tef83h7AAeRTSDTEw+38ToGnOIGpXYCxKdWF878Xs7tVa >> +jPUds7aSNazaRB9nSPYiIxXBcTRKN2VFqhFNyQ/6CrEvsjkZQKkQfjJgNtL >> eg0hmjS1X0QryapX7xhfz+Apx369Pkitm8UosyPIwEPnMuVqwVN5VwDTDkub >> FlGNHX+b1/NDgZDpWF+b5gOErHMW8kWRNt/+2i5pXj0ZjDADmrQn+Hd9G0Hx >> g1dot64vLogcvcyt0C+fLicF9xlddU/Zuz7VZLyIOH1KSVhABK1RaI8+Zws6 >> ZWriDFal0ztd0BNEQlCqtlo4hyY/AVies9qB6V4sUL0UuEL/+iTj71/VNh09 >> RJIURK6KySwxtW97pMGGafw5xPOjpxnm75D6AmovZ6WV68GSxlNpTY/V7CPH >> dW/U >> =h5n5 >> -----END PGP SIGNATURE----- >> ---------------- >> Robert LeBlanc >> PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 >> >> >> On Wed, Jul 29, 2015 at 11:32 PM, Shneur Zalman Mattern >> <shz...@eimsys.co.il> wrote: >> > Hi to all! >> > >> > >> > Perhaps, somebody already thought about, but my Googling had no results. >> > >> > >> > How can I do RBD that will grow on demand of VM/client disk space. >> > >> > Are there in Ceph some options for this? >> > >> > Is it planned to do? >> > >> > Is it utopic idea? >> > >> > Is this client need CephFS already? >> > >> > >> > Thanks, >> > >> > Shneur >> > >> > >> > >> > >> > >> > >> ************************************************************************************ >> > This footnote confirms that this email message has been scanned by >> > PineApp Mail-SeCure for the presence of malicious code, vandals & >> computer >> > viruses. >> > >> ************************************************************************************ >> > >> > >> > _______________________________________________ >> > ceph-users mailing list >> > ceph-users@lists.ceph.com >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com