Re: [PATCH] nilfs-utils: Work around uncleanable full filesystem

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

 



On Tuesday 15 January 2013 17:57:21 Vyacheslav Dubeyko wrote:
> Could you share more details about your environment? What version of
> nilfs-utils do you use?
> 
> Maybe do you have some NILFS2-related error messages in your system log?
> 
> Or, maybe, reproducing path is more complex as you described?

System running Debian Wheezy (amd64) with linux 3.2.35-2 and nilfs-tools 
2.1.4-1. The nilfs partition is a secondary partition on a CFCard and is not 
used in normal situations. There are different processes running in the 
background... for example ntpd. There are no interesting infos in the system 
log (unless you are interested in nilfs_cleanerd output saying nothing else 
than "pause"/"sleep"/"0 segments selected to be cleaned"/...).

Following way is a good way to force a similar problem (this is not the way I 
produced it the first time, but it is a possible scenario):

$ cd /nilfs/
$ ntpdate-debian
$ date -s @`date +'%s'|awk '{ print $1+9000}'`
$ for i in `seq 0 300`; do dd if=/dev/zero of=foo$i count=22528; done
$ sleep 360
$ ntpdate-debian
$ touch asd
$ rm *
$ date -s @`date +'%s'|awk '{ print $1+10000}'`
$ mount -o remount /nilfs/

It is a little bit harsh, but a similar thing can easily happen in real world 
with non-monotonic clocks (but the jumps are usually a little smaller).

Kind regards,
	Sven

Attachment: signature.asc
Description: This is a digitally signed message part.


[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