Hi,
On Sat, 20 Jun 2009 16:19:39 -0500, James Erickson wrote:
> i am new to nilfs2 so i am sorry to ask such a simple question. how
> do i get nilfs_cleanerd to run on my root partition? my disk is a 64
> GB intel ssd and it is completely full of checkpoints. my system is
> originally 4 GB in size. it is gentoo amd64 running
> linux-2.6.30-gentoo-r1. it has nilfs2 support compiled in the
> kernel, not as a module. i thought that nilfs_cleanerd would run
> when the root patition is mounted but i guess i was wrong. i will
> gladly post any requested data. thank you for any help you can offer
> in this matter.

nilfs_cleanerd is invoked when the partition is mounted, but sleeps if
no reclaimable data exists.

Is there nilfs_cleanerd process ?

 $ ps aux | grep nilfs_cleanerd

If it exists, please try decreasing the protection period in
/etc/nilfs_cleanerd.conf.  Nilfs tries to preserve all past data
within the period.

 $ sudo vi /etc/nilfs_cleanred.conf

  # Protection period in second
- protection_period   3600
+ protection_period   300

After changed the conf file, you must send a HUP signal to the cleaner
daemon in order to reflect the change.

 $ mount -t nilfs2
 /dev/sdb1 on / type nilfs2 (rw,gcpid=14126)
 $ sudo kill -HUP 14126

Then, it will start working to make free space.


If the cleanerd did not exist, you can invoke it by hand.

 # nilfs_cleanerd /dev/sdb1 /

In this case, you also have to shutdown it by hand.

Cheers,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to