Re: NILFS: corrupt root inode after Turbo Mode?

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

 



On Fri, Oct 19, 2012 at 10:43:11AM +0400, Vyacheslav Dubeyko wrote:
> As I can see, both dumps contains blocks of ifile with inodes
> description.
> 
> I check previous e-mails and can see that maybe you dump not proper
> block. Maybe it is my misspelling in some e-mail. It needed to dump
> #734205 but as I can see you share dump of #743205 block. Firstly, to
> check that block #734205 is really empty. Because if it is not empty
> then the situation is different.

It looks more like my misspelling when I asked about how should I make
raw dump and after that it already was 743* instead of 734*. So my fault
here.

The dump looks like non-empty (attached), so I skipped this experiment
below.


> 
> If the block #734205 is empty then I suggest to make some experiment:
> 
> 1. Prepare dump of the corrupted partition:
> 
> dd if=<partition (/dev/sdb1)> of=<image file>
> 
> 2. Setup loop device for the image:
> 
> losetup /dev/loop0 <image file>
> 
> 3. Copy block #719300 of ifile (ino = 6) with blkoff = 2 of checkpoint
> #1843 into empty block #734205 (checkpoint #1874):
> 
> dd if=/dev/loop0 of=/dev/loop0 bs=4096 skip=719300 seek=734205 count=1
> 
> 4. Try to mount the loop device.
> 
> Please, share results (console output and dmesg output) of this trying
> to mount.
> 
> But, please, first of all, CHECK THAT TARGET BLOCK IS REALLY EMPTY. This
> manual manipulation can lead to loosing some filesystem state. Moreover,
> it can't fully recover filesystem but maybe driver can recover
> filesystem and to mount.

-- 
 Piosenki  mają  dość  proste i skonstruowane według znanego  schematu:
istota-chłopiec spotyka w świetle srebrnego księżyca istotę-dziewczynę,
księżyc z bliżej nie wyjaśnionych przyczyn wybucha.
  -- Douglas Adams, "Restaurant at The End of The Universe"

Attachment: dump.734205.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