df reports used space gradually growing.
I installed nilfs2 on my 32GB SSD for my rootfs about a week ago and have been very impressed with the improvements in write speed. However, I just noticed that df reports I am using 25GB when there is only about 13GB of data on the disk. The 13GB size agrees with du and the size of my daily ext2 backup. I monitored the situation over night, and the size reported by df appears to be growing by about 1-2GB a day.
Is the size reported by df incorrect? What will happen when it reports that the entire disk is full?
Eric
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
A message that is not in the archive (sent off-list or not yet received): 675178.67834.qm-MMAiOCDKa4SB9c0Qi4KiSlZ8N9CAUha/[email protected]
Quoted 7 lines · Eric A
I installed nilfs2 on my 32GB SSD for my rootfs about a week ago and have been very impressed with the improvements in write speed. However, I just noticed that df reports I am using 25GB when there is only about 13GB of data on the disk. The 13GB size agrees with du and the size of my daily ext2 backup. I monitored the situation over night, and the size reported by df appears to be growing by about 1-2GB a day.
This sounds like the nilfs_cleanerd is not running, could you check if it appears in ps output?
Quoted 3 lines
Is the size reported by df incorrect? What will happen when it reports that the entire disk is full?
Depending on the version of NILFS you're using, you may be in trouble, else, just starting nilfs_cleanerd manually should be able to free up all the space.
A message that is not in the archive (sent off-list or not yet received): debc30fc0907260905w76ccec51g421ab08ecf3f67bd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
You're right; nilfs_cleanered wasn't running. I've tried rebooting and it still isn't automatically starting. I'm running 2.6.31-rc4 and nilfs-utils-2.0.14. The following is the relevant fstab line:
/dev/sda2 / nilfs2 rw,noatime 0 0
I manually started nilfs_cleanered and have been running it for about an hour. Conky shows disk read/writes of 1MiB every 2 seconds or so, but I don't see any space being freed up. In fact, df still reports a gradual filling of the disk.
Eric
________________________________
From: Jérôme Poulin <[email protected]>
To: eric225125-/[email protected]
Cc: NILFS Users mailing list <[email protected]>
Sent: Sunday, July 26, 2009 12:05:56 PM
Subject: Re: [NILFS users] df reports used space gradually growing.
Quoted 7 lines · Eric A
I installed nilfs2 on my 32GB SSD for my rootfs about a week ago and have been very impressed with the improvements in write speed.. However, I just noticed that df reports I am using 25GB when there is only about 13GB of data on the disk. The 13GB size agrees with du and the size of my daily ext2 backup. I monitored the situation over night, and the size reported by df appears to be growing by about 1-2GB a day.
This sounds like the nilfs_cleanerd is not running, could you check if it appears in ps output?
Quoted 3 lines
Is the size reported by df incorrect? What will happen when it reports that the entire disk is full?
Depending on the version of NILFS you're using, you may be in trouble, else, just starting nilfs_cleanerd manually should be able to free up all the space.
_______________________________________________
users mailing list [email protected]
https://www.nilfs.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
A message that is not in the archive (sent off-list or not yet received): 288232.83823.qm-GoVOXiws8HGB9c0Qi4KiSlZ8N9CAUha/[email protected]
Hi,
Quoted 5 lines · Eric A
You're right;
nilfs_cleaneredwasn't running. I've tried rebooting and it still isn't automatically starting. I'm running 2.6.31-rc4 and nilfs-utils-2.0.14. The following is the relevant fstab line:
/dev/sda2/ nilfs2 rw,noatime 0 0
Oh, I thought the problem would be fixed with nilfs-utils-2.0.14.
How does the relevant line in /proc/mounts look like?
I think you can find the error which terminated cleanerd in /var/log/syslog or /var/log/messages.
Quoted 4 lines
I manually started
nilfs_cleaneredand have been running it for about an hour. Conky shows disk read/writes of 1MiB every 2 seconds or so, but I don't see any space being freed up. In fact, df still reports a gradual filling of the disk. Eric
Is is the same thing if you shorten the protection period or release snapshots ?
Thanks,
Ryusuke Konishi
Quoted 28 lines
________________________________
From: Jérôme Poulin <[email protected]>
To: eric225125-/[email protected]
Cc: NILFS Users mailing list <[email protected]>
Sent: Sunday, July 26, 2009 12:05:56 PM
Subject: Re: [NILFS users] df reports used space gradually growing.Quoted 7 lines · Eric A
I installed nilfs2 on my 32GB SSD for my rootfs about a week ago and have been very impressed with the improvements in write speed.. However, I just noticed that df reports I am using 25GB when there is only about 13GB of data on the disk. The 13GB size agrees with du and the size of my daily ext2 backup. I monitored the situation over night, and the size reported by df appears to be growing by about 1-2GB a day.
This sounds like the
nilfs_cleanerdis not running, could you check if it appears in ps output?Quoted 3 lines
Is the size reported by df incorrect? What will happen when it reports that the entire disk is full?
Depending on the version of NILFS you're using, you may be in trouble, else, just starting
nilfs_cleanerdmanually should be able to free up all the space.
_______________________________________________
users mailing list [email protected]
https://www.nilfs.org/mailman/listinfo/users
A message that is not in the archive (sent off-list or not yet received): [email protected]
/proc/mounts:
rootfs / rootfs rw 0 0/dev/root / nilfs2 rw,noatime 0 0
The only thing I see in syslog related to nilfs:
Jul 26 12:23:50 gentoo klogd: VFS: Mounted root (nilfs2 filesystem) readonly on device 8:2. Jul 26 12:31:44 gentoo nilfs_cleanerd[2690]: start Jul 26 12:31:44 gentoo nilfs_cleanerd[2690]: override protection period to 0
Note that the nilfs_cleanerd message is from when I started it manually (with -p0).
Using lscp, I see no snapshots, but several thousand checkpoints. I tried deleting the checkpoints with rmcp, but that didn't free up any space. The disk is still slowly filling.
Eric
________________________________
From: Ryusuke Konishi <[email protected]>
To: [email protected]; eric225125-/[email protected]
Sent: Sunday, July 26, 2009 2:57:44 PM
Subject: Re: [NILFS users] df reports used space gradually growing.
Hi,
Quoted 5 lines · Eric A
You're right;
nilfs_cleaneredwasn't running. I've tried rebooting and it still isn't automatically starting. I'm running 2.6.31-rc4 and nilfs-utils-2.0.14. The following is the relevant fstab line:
/dev/sda2/ nilfs2 rw,noatime 0 0
Oh, I thought the problem would be fixed with nilfs-utils-2.0.14.
How does the relevant line in /proc/mounts look like?
I think you can find the error which terminated cleanerd in /var/log/syslog or /var/log/messages.
Quoted 4 lines
I manually started
nilfs_cleaneredand have been running it for about an hour. Conky shows disk read/writes of 1MiB every 2 seconds or so, but I don't see any space being freed up. In fact, df still reports a gradual filling of the disk. Eric
Is is the same thing if you shorten the protection period or release snapshots ?
Thanks,
Ryusuke Konishi
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
A message that is not in the archive (sent off-list or not yet received): 826723.64411.qm-CSBWnlGNI82B9c0Qi4KiSlZ8N9CAUha/[email protected]
Hi,
Quoted 3 lines
Using lscp, I see no snapshots, but several thousand checkpoints. I tried deleting the checkpoints with rmcp, but that didn't free up any space. The disk is still slowly filling.
Unfortunately that's the way rmcp works for now.
rmcp only tells the cleanerd the checkpoint is ready to remove even in the protection period and nilfs_cleanerd is the only process that collect garage from the storage and create free space for new logs.
thanks,
regards,
Signature · 1 line
Jiro SEKIBA <[email protected]>
A message that is not in the archive (sent off-list or not yet received): 874oszhsip.wl%[email protected]
Ok, thanks that makes sense. Well now that nilfs_cleanerd has been running for about 9 hours, it is actually starting to free up some space! It's freed up about 1GB so far of the 12GB that should be freed. So, I suppose it is working correctly, just rather slowly. So, the only real problem is that it is not being started on mount, but for now I can just manually start it.
Eric
________________________________
From: Jiro SEKIBA <[email protected]>
To: NILFS Users mailing list <[email protected]>
Sent: Sunday, July 26, 2009 8:35:42 PM
Subject: Re: [NILFS users] df reports used space gradually growing.
Hi,
Quoted 3 lines
Using lscp, I see no snapshots, but several thousand checkpoints. I tried deleting the checkpoints with rmcp, but that didn't free up any space. The disk is still slowly filling.
Unfortunately that's the way rmcp works for now.
rmcp only tells the cleanerd the checkpoint is ready to remove even in the protection period and nilfs_cleanerd is the only process that collect garage from the storage and create free space for new logs.
thanks,
regards,
Signature · 5 lines
Jiro SEKIBA <[email protected]> _______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users
A message that is not in the archive (sent off-list or not yet received): 450036.15299.qm-tDJBJ58iwLuB9c0Qi4KiSlZ8N9CAUha/[email protected]
Hi,
Quoted 4 lines · Eric A
Ok, thanks that makes sense. Well now that
nilfs_cleanerdhas been running for about 9 hours, it is actually starting to free up some space! It's freed up about 1GB so far of the 12GB that should be freed. So, I suppose it is working correctly, just rather slowly.
Well, this should get fixed in the course of improvement of the garbage collector.
Quoted 4 lines
So, the only real problem is that it is not being started on mount, but for now I can just manually start it.
Eric
Yes, I'd like to know why cleanerd fails or is not invoked in your (gentoo?) boot environment.
Quoted 3 lines
/proc/mounts:
rootfs / rootfs rw 0 0/dev/root/ nilfs2 rw,noatime 0 0
looks good to me.
Quoted 4 lines
The only thing I see in syslog related to nilfs:
Jul 26 12:23:50 gentoo klogd: VFS: Mounted root (nilfs2 filesystem) readonly on device 8:2. Jul 26 12:31:44 gentoo nilfs_cleanerd[2690]: start Jul 26 12:31:44 gentoo nilfs_cleanerd[2690]: override protection period to 0
After nilfs was mounted readonly as above, it must have been remounted read-write, and normally cleanerd should be invoked at the time.
Could you see the following points to be checked ?
* if the symbolic link /dev/root points to an existent device /dev/sdxx (or /dev/hdyy) or not.
* if the root entry is written in /etc/fstab as below:
/dev/sdxx / nilfs2 defaults 0 0
* if mount.nilfs2 is placed in /sbin near ``/sbin/mount''.
* /proc was mounted before the root nilfs is remounted read-write.
Thanks,
Ryusuke Konishi
Quoted 26 lines
________________________________
From: Jiro SEKIBA <[email protected]>
To: NILFS Users mailing list <[email protected]>
Sent: Sunday, July 26, 2009 8:35:42 PM
Subject: Re: [NILFS users] df reports used space gradually growing.Hi,
Quoted 3 lines
Using lscp, I see no snapshots, but several thousand checkpoints. I tried deleting the checkpoints with rmcp, but that didn't free up any space. The disk is still slowly filling.
Unfortunately that's the way rmcp works for now.
rmcp only tells the cleanerd the checkpoint is ready to remove even in the protection period andnilfs_cleanerdis the only process that collect garage from the storage and create free space for new logs.thanks,
regards,
Signature · 5 lines
Jiro SEKIBA <[email protected]> _______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users