As per my previous question...

I'm running SLES 11, 2.6.27.19-5-default with NILFS2 nilfs-2.0.16. I
have a 1.5Tb NILFS2 partition which I am setting up with the intention
of using Robocopy from various PCs via samba. The robocopy scripts run
nightly and a checkpoint is taken once night. A script stops samba,
unmounts the previous weeks checkpoint, deletes the checkpoint, creates
a new one and then mounts it and restarts samba. This should mean that
at any time the user can go back to 'snapshot_{DAY}' to get their files
back.

So far so good.

I'm really confused by the space utilisation I'm seeing and what
cleanerd actually does.

The drive is now up to 98% full but should only have about 500Gb on it.
I have removed the few checkpoint I made so no all there is are the
snapshots. Turning the option in nilfs_cleanerd.conf to debug shows.

Oct  2 16:37:44 cpli6008 nilfs_cleanerd[3611]: start
Oct  2 16:37:44 cpli6008 nilfs_cleanerd[3611]: ncleansegs = 13850
Oct  2 16:38:50 cpli6008 nilfs_cleanerd[3611]: 2 segments selected to be
cleaned

I just used the default options on the mkfs and haven't changed any
setting (other than debug) in nilfs_cleanerd.conf.

I'm guessing that my cpio -pdumv from a different machine into the nilfs
file system has resulted masses of snapshots and these are taking the
space.

Is there a way to clean up or change the preferences to create fewer
snapshots?



Many thanks
David Barham
Siemens PLM Software


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

Reply via email to