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