Re: NILFS: corrupt root inode after Turbo Mode?

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

 



Hi,
On Tue, 9 Oct 2012 15:58:33 +0200, Piotr Szymaniak wrote:
> On Tue, Oct 09, 2012 at 04:08:34PM +0400, Vyacheslav Dubeyko wrote:
> > First of all, I need some details about your NILFS2 partition for issue analysis.
> > 
> > I need in:
> > 1. Full output of "lscp -a".
> > 2. Full output of "lssu -a".
> > 3. Output of dumpseg for segment #0.
> > 
> > Could you share these outputs?
> 
> Sure!
> maszyn ~ # lscp -a /dev/sdf3
> lscp: /dev/sdf3: cannot open NILFS
> maszyn ~ # lssu -a /dev/sdf3
> lssu: /dev/sdf3: cannot open NILFS

lscp and lssu don't work if the target partition is not mounted, so
these seem to be its direct result.

> (the card is in a card reader)
> 
> > Maybe, you will have some troubles with getting of outputs. So, I need in your segment #0 (first 8 MB) raw output for issue analysis beginning, anyway.
> 
> maszyn ~ # dumpseg /dev/sdf3 0 > /tmp/dumpseg-0.out
> 
> Attached.

The segment zero may not include any useful information.
Please try nilfs-tune command to know which segment should be investigated.

# nilfs-tune -l /dev/sdf3
...
Last checkpoint #:	  160345
Last block address:	    131015
Last sequence #:	      7675
..

In this example, the active super block points to the segment #63:

  (value of the "Last block address" field) / 2048 = 131015 / 2048 = 63

Note that you can track the latest segment from the pointed segment.
"next segnum" field and "sequence number" field in the dumpseg outputs
tell you information about its successive segments.


By the way, Raspberry Pi Linux seems to be the kernel for an ARM-based
machine.  Is there possibility that this is a platform dependent
problem?


Regards,
Ryusuke Konishi


> Piotr Szymaniak.
> -- 
> Od  czasu  do  czasu  bij swoja zone,  jezeli ty nie wiesz za co ona na
> pewno bedzie wiedziec.
>   -- Przyslowie arabskie
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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