Re: NILFS: corrupt root inode after Turbo Mode?

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

 



On Thu, Oct 11, 2012 at 02:12:00PM +0400, Vyacheslav Dubeyko wrote:
> On Thu, 2012-10-11 at 11:23 +0200, Piotr Szymaniak wrote:
> > So I should dump block 743205 and 734158? Ok, but I'm not familiar with
> > blkoff.
> > 
> > ie. blkoff = 2, blocknr = 734205 it means the dump should be block
> > 734205 and (blkoff = 2) next two blocks? If this is correct then this
> > should work, right?
> > dd if=/dev/<device> of=<dump> bs=2048 skip=734205 count=3 (not sure if
> > dd counts skip= and count= from 0 or 1)
> > And similar with block 734158 but only one block (blkoff = 0)?
> > 
> 
> Sorry, I confuse you by blkoff mentioning. The blkoff is logical offset from file begin (for example, from ifile begin). You need to take into account only blocknr.
> 
> It needs to dump block 743205 and 734158. Your superblock's content informs that block size is 4096 bytes.
> 
> For example, dd if=/dev/<device> of=<dump> bs=4096 skip=734205 count=1

Block 743205 is empty:
maszyn tmp (: cat dump.743205
maszyn tmp (: hexdump dump.743205
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0001000

Block 734158 attached.

Piotr Szymaniak.
-- 
W   tamtych   latach   wiejskie   rodziny   chodziły  do  lóżka  bardzo
wcześnie - "kiedy  robiło  się  ciemno  pod  stołem",  jak mawiała moja
własna matka - i spały kamiennym snem.
  -- Stephen King, "The Green Mile"

Attachment: dump.734158.bz2
Description: BZip2 compressed data

Attachment: signature.asc
Description: Digital signature


[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