On Mon, 1 Dec 2008 18:14:35 +0100, Adrian Ulrich wrote:
> Hi,
> 
> > 
> > For nilfs2, if a superblock was written ahead of the segment pointed
> > by the superblock, this can happen.
> > 
> > Anyhow, I'll review the source code some more.
> 
> Ok. Let me know if you need something from me.
> (metadata dump, etc..)

Thanks, 

Could you get debug log with a DEBUG option?

By commenting out the following line in nilfs2/fs/Makefile,
you can make the nilfs2 module for debugging purpose.

 # CONFIG_NILFS_DEBUG=y

Compilation and installation are as usual.

Then write the following option to a procfs file 'nilfs2/debug_option'
before mounting the partition.

 # modprobe nilfs2
 # echo "-vvv recovery" > /proc/fs/nilfs2/debug_option
 # mount -t nilfs2 -r /dev/xxx /test
 ...

This will log trace messages of recovery function.


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

Reply via email to