LogFS question
Status: Pre-Alpha
Brought to you by:
ppadala
|
From: Jim M. <Jim...@wd...> - 2011-11-14 23:30:58
|
Hi I'm interested in seeing how garbage collection works on block devices. I've mounted logfs on a block device (HDD) and made a 40GB partition. I wrote ~20GB of files in the partition, and then re-wrote to 20GB. DF shows me that the entire device is consumed. I'm trying to find a way to trigger GC and get some of the used capacity back. [root@localhost logfs]# df /mnt/logfs Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 40316280 37216368 1051912 98% / [root@localhost logfs]# ls -l total 17629004 -rw-r--r--. 1 root root 6543004600 Nov 11 06:58 qemp1 -rw-r--r--. 1 root root 6543004600 Nov 11 06:43 qemp2 -rw-r--r--. 1 root root 1635751150 Nov 11 08:14 remp1 -rw-r--r--. 1 root root 1635751150 Nov 11 08:15 remp2 -rw-r--r--. 1 root root 1635751150 Nov 11 08:16 remp3 -rw-r--r--. 1 root root 32715023 Nov 10 05:43 semp4 -rw-rw-r--. 1 jim jim 64149 Nov 9 15:54 temp1 -rw-r--r--. 1 root root 6453196 Nov 10 05:42 temp11 -rw-r--r--. 1 root root 6453196 Nov 10 03:24 temp12 -rw-r--r--. 1 root root 6453196 Nov 10 05:42 temp13 -rw-r--r--. 1 root root 6453196 Nov 10 05:42 temp14 -rw-r--r--. 1 root root 64149 Nov 9 17:46 temp2 -rw-r--r--. 1 root root 64149 Nov 9 17:46 temp3 -rw-r--r--. 1 root root 64149 Nov 9 17:46 temp4 Any recommendations are appreciated. Jim |