Re: Ceph delete files and status

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

 



Hay

I some how got the space back, by tweeking the reweights. 

but i am a tad confused i uploaded a file (200MB) then removed the file and the space is not changed. i am not sure why that happens and what i can do

On Thu, Oct 19, 2017 at 6:42 PM, nigel davies <nigdav007@xxxxxxxxx> wrote:
PS was not aware of fstrim

On 19 Oct 2017 6:41 pm, "nigel davies" <nigdav007@xxxxxxxxx> wrote:
Hay

My ceph cluster is connted to ceph gateway for a S3 server I was uploading the file and removing it from the bucket using s3cmd.

I upload and removed the file a few times now the cluster so close to full. 

I was told their is a way to clear the any deleted files out or something.

On 19 Oct 2017 5:09 pm, "Jamie Fargen" <jfargen@xxxxxxxxxx> wrote:
Nigel-

What method did you use to upload and delete the file? How did you check the space utilization? I believe the reason that you are still seeing the space being utilized when you issue your ceph -df is because even after the file is deleted, the file system doesn't actually delete the file, it just removes the file inode entry pointing to the file. The file will still be on the disk until the blocks are re-allocated to another file.

-Jamie

On Thu, Oct 19, 2017 at 11:54 AM, nigel davies <nigdav007@xxxxxxxxx> wrote:
Hay all

I am looking at my small test Ceph cluster, i have uploaded a 200MB iso and checked the space on "ceph status" and see it incress.

But when i delete the file the space used does not go down. 

Have i missed a configuration somewhere or something?

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




--
Jamie Fargen
Consultant

_______________________________________________
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