Skip to contentSkip to conversation

Data Loss

DISCUSSION Dipl.-Ing. Michael Niederle 2 participants 2 messages Jun 11, 2009 – Jun 12, 2009 2 messages not in the archive NILFS2 filesystem

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): mailman.37.1244739111.2282.users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org

#2 lore raw

Hi!

It's absolutely strange: nilfs seems to crash during idle times!

This time everything seemed to be fine when I returned to my PC after several hours. Astonishingly my pen drive's LED reported heavy activity despite the fact that there was nothing to do. I have a script that detects recently changed files. This script reported that not a single file had been changed during the last hour!

After a reboot the system got stuck when trying to pivot_root to the nilfs-root-file-system (no problem mounting it). An analysis showed that several files had been destroyed. The stat-utility showed the file type "weird". ^^

I also mounted some elder checkpoints. They now had defect files, too.

In my opinion the cleaner daemon is causing all these problems but - as always - I might be wrong.

As to my knowledge there is currently no way to repair a nilfs-file-system?

Greetings, Michael

#3 lore raw

Hi,

Quoted 9 lines · Dipl.-Ing. Michael Niederle

Hi!

It's absolutely strange: nilfs seems to crash during idle times!

This time everything seemed to be fine when I returned to my PC after several hours. Astonishingly my pen drive's LED reported heavy activity despite the fact that there was nothing to do. I have a script that detects recently changed files. This script reported that not a single file had been changed during the last hour!

I think the activity is created by the garbage collector. Note that Nilfs GC works background and it wakes up after protection period of checkpoints is expired.

Probably, the delay time you have experienced is the protection period.

Quoted 4 lines

After a reboot the system got stuck when trying to pivot_root to the nilfs-root-file-system (no problem mounting it). An analysis showed that several files had been destroyed. The stat-utility showed the file type "weird". ^^

Grr, GC problem?

Quoted 6 lines

I also mounted some elder checkpoints. They now had defect files, too.

In my opinion the cleaner daemon is causing all these problems but - as always - I might be wrong.

As to my knowledge there is currently no way to repair a nilfs-file-system?

Uum, yes. Only we can do is finding clean checkpoint.

Quoted 1 line

Greetings, Michael

Regards,
Ryusuke Konishi