Re: [ceph-users] rbd du command

2020-01-06 Thread Ilya Dryomov
On Mon, Jan 6, 2020 at 2:51 PM M Ranga Swami Reddy wrote: > > Thank you. > Can you please share a simple example here? > > Thanks > Swami > > On Mon, Jan 6, 2020 at 4:02 PM wrote: >> >> Hi, >> >> rbd are thin provisionned, you need to trim on the upper level, either >> via the fstrim command, or

Re: [ceph-users] rbd du command

2020-01-06 Thread M Ranga Swami Reddy
Thank you. Can you please share a simple example here? Thanks Swami On Mon, Jan 6, 2020 at 4:02 PM wrote: > Hi, > > rbd are thin provisionned, you need to trim on the upper level, either > via the fstrim command, or the discard option (on Linux) > > Unless you trim, the rbd layer does not know

Re: [ceph-users] rbd du command

2020-01-06 Thread ceph
Hi, rbd are thin provisionned, you need to trim on the upper level, either via the fstrim command, or the discard option (on Linux) Unless you trim, the rbd layer does not know that data has been removed and are thus no longer needed On 1/6/20 10:30 AM, M Ranga Swami Reddy wrote: > Hello, > I

[ceph-users] rbd du command

2020-01-06 Thread M Ranga Swami Reddy
Hello, I ran the "rbd du /image" command. Its shows increasing, when I add data to the image. That looks good. But when I removed data from the image, its not showing the decreasing the size. Is this expected with "rbd du" or its not implemented? NOTE: Expected behavior is the same as " Linux du

Re: [ceph-users] rbd du

2015-12-18 Thread Jason Dillaman
/19/real-size-of-a-ceph-rbd-image/ -- Jason Dillaman - Original Message - > From: "Allen Liao" <al...@svsgames.com> > To: ceph-users@lists.ceph.com > Sent: Friday, August 21, 2015 3:24:54 PM > Subject: [ceph-users] rbd du > Hi all, > The online ma

[ceph-users] rbd du

2015-12-17 Thread Allen Liao
Hi all, The online manual (http://ceph.com/docs/master/man/8/rbd/) for rbd has documentation for the 'du' command. I'm running ceph 0.94.2 and that command isn't recognized, nor is it in the man page. Is there another command that will "calculate the provisioned and actual disk usage of all

[ceph-users] rbd du

2015-08-24 Thread Allen Liao
Hi all, The online manual (http://ceph.com/docs/master/man/8/rbd/) for rbd has documentation for the 'du' command. I'm running ceph 0.94.2 and that command isn't recognized, nor is it in the man page. Is there another command that will calculate the provisioned and actual disk usage of all

Re: [ceph-users] rbd du

2015-08-24 Thread Jason Dillaman
dilla...@redhat.com http://www.redhat.com - Original Message - From: Allen Liao aliao.svsga...@gmail.com To: ceph-users@lists.ceph.com Sent: Monday, August 24, 2015 1:03:03 PM Subject: [ceph-users] rbd du Hi all, The online manual ( http://ceph.com/docs/master/man/8/rbd