free space not reclaimed

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

 



Hello.

Recently i overloaded my nilfs2 partition with data.
/dev/sda2        30T   29T  122G 100% /archive
I've removed 4T and issued:
rmcp -f 1.. 
nilfs-clean -p 0
, but used space left the same.
Actually it keeps increasing.

I've tried different versions nilfs-utils ( now sys-fs/nilfs-utils-2.1.4)
and kernels ( now sys-kernel/gentoo-sources-3.5.2)

nilfs_cleanerd  is running, keeping 1 LA
According to debug output, it keeps cleaning garbage segments, but number of clean segments stays the same:
Aug 21 15:42:38 WAYX017 nilfs_cleanerd[16907]: ncleansegs = 212114
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: 4 segments selected to be cleaned
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: segment 734108 cleaned
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: segment 734109 cleaned
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: segment 734110 cleaned
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: segment 734111 cleaned
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: adjust interval
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: wait 0.000000
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: wake up
Aug 21 15:42:39 WAYX017 nilfs_cleanerd[16907]: ncleansegs = 212114
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: 4 segments selected to be cleaned
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: segment 734112 cleaned
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: segment 734113 cleaned
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: segment 734114 cleaned
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: segment 734115 cleaned
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: adjust interval
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: wait 0.000000
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: wake up
Aug 21 15:42:40 WAYX017 nilfs_cleanerd[16907]: ncleansegs = 212114
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: 4 segments selected to be cleaned
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: segment 734116 cleaned
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: segment 734117 cleaned
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: segment 734118 cleaned
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: segment 734119 cleaned
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: adjust interval
Aug 21 15:42:41 WAYX017 nilfs_cleanerd[16907]: wait 0.000000

# cat /etc/nilfs_cleanerd.conf 
protection_period       3600
min_clean_segments      10%
max_clean_segments      20%
clean_check_interval    10
selection_policy        timestamp       # timestamp in ascend order
nsegments_per_clean     2
mc_nsegments_per_clean  4
cleaning_interval       5
mc_cleaning_interval    1
retry_interval          60
use_mmap
log_priority            debug


There was hard resets in the past with this server.
There is no snapshots.
Filesystem was created with -O block_count



Sincerely,
Yuriy Shkandybin




--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux