Re: [PATCH] e2fsck: zap extent-format inode with no extent header

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

 




Thank you for this patch, I tryed it on my computer and it does fix the error our bug caused:

bo@ubuntu:~/src/e2fsprogs-1.42.13$ sudo mount -t ext4 /dev/sdb5 /mnt
bo@ubuntu:~/src/e2fsprogs-1.42.13$ ls -l /mnt
ls: cannot access /mnt/testa: Input/output error
total 20
drwx------ 2 root root 16384 Nov 28 18:09 lost+found
-????????? ? ?    ?        ?            ? testa
-rw-r--r-- 1 root root     1 Nov 28 18:15 testb
bo@ubuntu:~/src/e2fsprogs-1.42.13$ sudo umount /mnt
bo@ubuntu:~/src/e2fsprogs-1.42.13$ sudo ./e2fsck/e2fsck -fy /dev/sdb5
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Inode 12 has corrupt extent header.  Clear inode? yes

Pass 2: Checking directory structure
Entry 'testa' in / (2) has deleted/unused inode 12.  Clear? yes

Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Inode bitmap differences:  -12
Fix? yes

Free inodes count wrong for group #0 (115, counted=116).
Fix? yes

Free inodes count wrong (115, counted=116).
Fix? yes


/dev/sdb5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb5: 12/128 files (0.0% non-contiguous), 15/256 blocks
bo@ubuntu:~/src/e2fsprogs-1.42.13$ sudo mount -t ext4 /dev/sdb5 /mnt
bo@ubuntu:~/src/e2fsprogs-1.42.13$ ls -l /mnt
total 20
drwx------ 2 root root 16384 Nov 28 18:09 lost+found
-rw-r--r-- 1 root root     1 Nov 28 18:15 testb
bo@ubuntu:~/src/e2fsprogs-1.42.13$

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux