All pastes #566835 Raw Edit

lol reiserfs

public text v1 · immutable
·published 2007-06-14 17:25 UTC
rendered paste body
host:~# mount -t reiserfs -o ro /dev/sda4 /backups
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

host:~# fsck.reiserfs --fix-fixable /dev/sda4
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will check consistency of the filesystem on /dev/sda4
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Jun 12 16:16:11 2007
###########
Replaying journal..
Reiserfs journal '/dev/sda4' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
        Leaves 1322502
        Internal nodes 8239
        Directories 398394
        Other files 7728509
        Data block pointers 259964599 (93014 of them are zero)
        Safe links 0
###########
reiserfsck finished at Tue Jun 12 18:27:18 2007
###########
host:~# mount -t reiserfs -o ro /dev/sda4 /backups
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

host:~# fsck.reiserfs --rebuild-sb /dev/sda4
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will check superblock and rebuild it if needed
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
Reiserfs super block in block 16 on 0x804 of format 3.6 with standard journal
Count of blocks on the device: 363249728
Number of bitmaps: 11086
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 102028106
Root block: 342208331
Filesystem is clean
Tree height: 5
Hash function used to sort names: not set
Objectid map size 972, max 972
Journal parameters:
        Device [0x0]
        Magic [0x0]
        Size 8193 blocks (including 1 for journal header) (first block 18)
        Max transaction length 1024 blocks
        Max batch size 900 blocks
        Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0:
sb_version: 2
inode generation number: 5207953
UUID: 6d1851ab-7602-41a2-bfb6-6b3714e4f8c7
LABEL:
Set flags in SB:

Super block seems to be correct

host:~#
host:~#
host:~# fsck.reiserfs --clean-attributes /dev/sda4
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will clean file attributes on /dev/sda4
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --clean-attributes started at Wed Jun 13 09:43:28 2007
###########
Replaying journal..
Reiserfs journal '/dev/sda4' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck finished at Wed Jun 13 09:43:28 2007
###########
host:~# mount -t reiserfs -o ro /dev/sda4 /backups
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

host:~# fsck.reiserfs --rebuild-tree /dev/sda4
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** Do not  run  the  program  with  --rebuild-tree  unless **
** something is broken and MAKE A BACKUP  before using it. **
** If you have bad sectors on a drive  it is usually a bad **
** idea to continue using it. Then you probably should get **
** a working hard drive, copy the file system from the bad **
** drive  to the good one -- dd_rescue is  a good tool for **
** that -- and only then run this program.                 **
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will rebuild the filesystem (/dev/sda4) tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
Replaying journal..
Reiserfs journal '/dev/sda4' in blocks [18..8211]: 0 transactions replayed
###########
reiserfsck --rebuild-tree started at Wed Jun 13 10:54:32 2007
###########

Pass 0:
####### Pass 0 #######
Loading on-disk bitmap .. ok, 261221622 blocks marked used
Skipping 19296 blocks (super block, journal, bitmaps) 261202326 blocks will be read
0%block 5087234: The number of items (4096) is incorrect, should be (1) - corrected
block 5087234: The free space (49152) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 5087234, item (0): Unknown item type found [514 570430216 0x6f1 ??? (15)] - deleted
block 5194366: The number of items (2048) is incorrect, should be (1) - corrected
block 5194366: The free space (256) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 5194366, item (0): Unknown item type found [376576 4278192128 0x8000005 ??? (15)] - deleted
block 6128190: The number of items (64768) is incorrect, should be (1) - corrected
block 6128190: The free space (2560) is incorrect, should be (208) - corrected
pass0: vpf-10110: block 6128190, item (0): Unknown item type found [3840 1909882880 0x3000a00fd41cd0e ??? (11)] - deleted
block 6131687: The number of items (512) is incorrect, should be (1) - corrected
block 6131687: The free space (3584) is incorrect, should be (3536) - corrected
pass0: vpf-10110: block 6131687, item (0): Unknown item type found [69120 1073741824 0x100208000f01 ??? (13)] - deleted
block 6295204: The number of items (2048) is incorrect, should be (1) - corrected
block 6295204: The free space (256) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 6295204, item (0): Unknown item type found [376576 4278192128 0x8000005 ??? (15)] - deleted
block 6660303: The number of items (17920) is incorrect, should be (1) - corrected
block 6660303: The free space (53208) is incorrect, should be (4048) - corrected
pass0: vpf-10150: block 6660303: item 0: Wrong key [0 0 0x3538fc9f SD (0)], deleted
.block 12558654: The number of items (15) is incorrect, should be (1) - corrected
block 12558654: The free space (29) is incorrect, should be (208) - corrected
verify_directory_item: block 12558654, item 909127736 875968816 0x2000a027e323832 DIR (3), len 3840, location 256 entry count 225, fsck need 10, format new: All entries were deleted from the directory
block 12558708: The number of items (15) is incorrect, should be (1) - corrected
block 12558708: The free space (29) is incorrect, should be (208) - corrected
verify_directory_item: block 12558708, item 909127736 875968816 0x2000a027e323832 DIR (3), len 3840, location 256 entry count 225, fsck need 10, format new: All entries were deleted from the directory
block 12570766: The number of items (784) is incorrect, should be (1) - corrected
block 12570766: The free space (64768) is incorrect, should be (3792) - corrected
pass0: vpf-10110: block 12570766, item (0): Unknown item type found [1033 1252 0x409 ??? (15)] - deleted
block 12591524: The number of items (15) is incorrect, should be (1) - corrected
block 12591524: The free space (29) is incorrect, should be (208) - corrected
verify_directory_item: block 12591524, item 909127736 875968816 0x2000a027e323832 DIR (3), len 3840, location 256 entry count 225, fsck need 10, format new: All entries were deleted from the directory
block 12591540: The number of items (15) is incorrect, should be (1) - corrected
block 12591540: The free space (29) is incorrect, should be (208) - corrected
verify_directory_item: block 12591540, item 909127736 875968816 0x2000a027e323832 DIR (3), len 3840, location 256 entry count 225, fsck need 10, format new: All entries were deleted from the directory
...block 133061229: The number of items (256) is incorrect, should be (1) - corrected
block 133061229: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10150: block 133061229: item 0: Wrong key [0 0 0x1000000 IND (1)], deleted
block 137679138: The number of items (24) is incorrect, should be (0) - corrected
block 137679138: The free space (12) is incorrect, should be (4072) - corrected
block 137735996: The number of items (24) is incorrect, should be (1) - corrected
block 137735996: The free space (12) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 137735996, item (0): Unknown item type found [4139586561 2494220798 0x1 ??? (15)] - deleted
block 145148222: The number of items (1280) is incorrect, should be (1) - corrected
block 145148222: The free space (7680) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 145148222, item (0): Unknown item type found [262151 1768440576 0x7f00066e ??? (15)] - deleted
block 149773024: The number of items (65024) is incorrect, should be (1) - corrected
block 149773024: The free space (51712) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 149773024, item (0): Unknown item type found [134219776 134219776 0x8000800 ??? (15)] - deleted
block 168977118: The number of items (2560) is incorrect, should be (1) - corrected
block 168977118: The free space (1024) is incorrect, should be (3536) - corrected
pass0: vpf-10110: block 168977118, item (0): Unknown item type found [1053463 133888 0x502090f ??? (15)] - deleted
block 169163789: The number of items (16) is incorrect, should be (1) - corrected
block 169163789: The free space (0) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 169163789, item (0): Unknown item type found [83888399 768 0x30000 ??? (15)] - deleted
block 175601579: The number of items (5143) is incorrect, should be (1) - corrected
block 175601579: The free space (256) is incorrect, should be (1232) - corrected
pass0: vpf-10200: block 175601579, item 0: The item [16783360 1321472 0x4180003000a0002 IND (1)] with wrong offset is deleted
block 195356199: The number of items (5143) is incorrect, should be (1) - corrected
block 195356199: The free space (256) is incorrect, should be (1232) - corrected
pass0: vpf-10200: block 195356199, item 0: The item [16783360 1321472 0x4180003000a0002 IND (1)] with wrong offset is deleted
block 195531662: The number of items (253) is incorrect, should be (1) - corrected
block 195531662: The free space (4) is incorrect, should be (3792) - corrected
pass0: vpf-10200: block 195531662, item 0: The item [33558766 1311744 0x4fc000f00fc0007 IND (1)] with wrong offset is deleted
block 199428618: The number of items (34) is incorrect, should be (1) - corrected
block 199428618: The free space (249) is incorrect, should be (3280) - corrected
pass0: vpf-10110: block 199428618, item (0): Unknown item type found [268501242 3489723648 0xe80014 ??? (15)] - deleted
block 204444199: The number of items (1) is incorrect, should be (0) - corrected
block 204444199: The free space (0) is incorrect, should be (4072) - corrected
block 204610340: The number of items (31) is incorrect, should be (0) - corrected
block 204610340: The free space (0) is incorrect, should be (4072) - corrected
block 205458110: The number of items (1) is incorrect, should be (0) - corrected
block 205458110: The free space (0) is incorrect, should be (4072) - corrected
block 205495362: The number of items (1) is incorrect, should be (0) - corrected
block 205495362: The free space (0) is incorrect, should be (4072) - corrected
block 216046707: The number of items (12) is incorrect, should be (0) - corrected
block 216046707: The free space (2519) is incorrect, should be (4072) - corrected
block 220234498: The number of items (12) is incorrect, should be (0) - corrected
block 220234498: The free space (2519) is incorrect, should be (4072) - corrected
block 229482689: The free space (4) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 229482689, item (0): Unknown item type found [50331909 327683 0x1080008 ??? (15)] - deleted
block 232144064: The number of items (15616) is incorrect, should be (1) - corrected
block 232144064: The free space (252) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 232144064, item (0): Unknown item type found [285167949 1585234053 0xb0e8b04741c5d38 ??? (14)] - deleted
block 233873396: The number of items (12) is incorrect, should be (0) - corrected
block 233873396: The free space (2519) is incorrect, should be (4072) - corrected
block 264865940: The number of items (12) is incorrect, should be (0) - corrected
block 264865940: The free space (2519) is incorrect, should be (4072) - corrected
block 284785876: The number of items (1) is incorrect, should be (0) - corrected
block 284785876: The free space (1) is incorrect, should be (4072) - corrected
block 284785886: The number of items (1) is incorrect, should be (0) - corrected
block 284785886: The free space (1) is incorrect, should be (4072) - corrected
block 311915721: The number of items (20157) is incorrect, should be (1) - corrected
block 311915721: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 311915721, item (0): Unknown item type found [13 3758751894 0xec100002f940003 ??? (4)] - deleted
block 311935062: The number of items (1) is incorrect, should be (0) - corrected
block 311935062: The free space (20912) is incorrect, should be (4072) - corrected
block 314314331: The number of items (75) is incorrect, should be (1) - corrected
block 314314331: The free space (77) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 314314331, item (0): Unknown item type found [3145796 2729902125 0x3b76 ??? (15)] - deleted
block 315484758: The number of items (20157) is incorrect, should be (1) - corrected
block 315484758: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 315484758, item (0): Unknown item type found [13 3758751894 0xec100002f940003 ??? (4)] - deleted
block 315511216: The number of items (1) is incorrect, should be (0) - corrected
block 315511216: The free space (20912) is incorrect, should be (4072) - corrected
block 316016041: The free space (4) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 316016041, item (0): Unknown item type found [50331909 327683 0x1080008 ??? (15)] - deleted
block 317263116: The number of items (20157) is incorrect, should be (1) - corrected
block 317263116: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 317263116, item (0): Unknown item type found [13 3758751894 0xec100002f940003 ??? (4)] - deleted
block 317282379: The number of items (1) is incorrect, should be (0) - corrected
block 317282379: The free space (20912) is incorrect, should be (4072) - corrected
block 318277679: The number of items (12) is incorrect, should be (0) - corrected
block 318277679: The free space (2519) is incorrect, should be (4072) - corrected
block 328133231: The number of items (65280) is incorrect, should be (1) - corrected
block 328133231: The free space (65535) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 328133231, item (0): Unknown item type found [8 1076129792 0xc6a9cbb6 ??? (15)] - deleted
block 328636253: The number of items (2048) is incorrect, should be (1) - corrected
block 328636253: The free space (4098) is incorrect, should be (3792) - corrected
pass0: vpf-10110: block 328636253, item (0): Unknown item type found [2147486208 369098752 0x1a0800 ??? (15)] - deleted
block 329329262: The number of items (2) is incorrect, should be (1) - corrected
block 329329262: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 329329262, item (0): Unknown item type found [0 369 0xc7803251 ??? (15)] - deleted
block 330219418: The number of items (4096) is incorrect, should be (1) - corrected
block 330219418: The free space (49152) is incorrect, should be (4048) - corrected
pass0: block 330219418, item 0: The item, which has wrong offset [116466176 3204448256 0x60000001 IND (1)], is deleted
block 330221757: The number of items (4096) is incorrect, should be (1) - corrected
block 330221757: The free space (49152) is incorrect, should be (4048) - corrected
pass0: block 330221757, item 0: The item, which has wrong offset [116466176 3204448256 0x60000001 IND (1)], is deleted
block 330856080: The number of items (2048) is incorrect, should be (1) - corrected
block 330856080: The free space (33024) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 330856080, item (0): Unknown item type found [1811967744 1275076608 0x67006f00 ??? (15)] - deleted
block 334482214: The number of items (3) is incorrect, should be (0) - corrected
block 334482214: The free space (9) is incorrect, should be (4072) - corrected
block 334482338: The number of items (3) is incorrect, should be (0) - corrected
block 334482338: The free space (9) is incorrect, should be (4072) - corrected
block 335672868: The number of items (1) is incorrect, should be (0) - corrected
block 335672868: The free space (0) is incorrect, should be (4072) - corrected
block 335952673: The number of items (1) is incorrect, should be (0) - corrected
block 335952673: The free space (0) is incorrect, should be (4072) - corrected
block 337111932: The number of items (1) is incorrect, should be (0) - corrected
block 337111932: The free space (0) is incorrect, should be (4072) - corrected
block 340704653: The number of items (12) is incorrect, should be (0) - corrected
block 340704653: The free space (2519) is incorrect, should be (4072) - corrected
block 346447988: The number of items (25532) is incorrect, should be (1) - corrected
block 346447988: The free space (0) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 346447988, item (0): Unknown item type found [268435456 2720596115 0x3c2000135f30004 ??? (6)] - deleted
block 348625894: The number of items (12) is incorrect, should be (0) - corrected
block 348625894: The free space (2519) is incorrect, should be (4072) - corrected
block 349385884: The number of items (12) is incorrect, should be (0) - corrected
block 349385884: The free space (2519) is incorrect, should be (4072) - corrected
block 349797499: The free space (4) is incorrect, should be (2000) - corrected
pass0: vpf-10110: block 349797499, item (0): Unknown item type found [50331909 327683 0x1080008 ??? (15)] - deleted
block 352923586: The free space (4096) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 352923586, item (0): Unknown item type found [0 65536 0x8400 ??? (15)] - deleted
block 353072468: The free space (4096) is incorrect, should be (4048) - corrected
pass0: vpf-10110: block 353072468, item (0): Unknown item type found [0 65536 0x8400 ??? (15)] - deleted
block 359111472: The number of items (12) is incorrect, should be (0) - corrected
block 359111472: The free space (2519) is incorrect, should be (4072) - corrected

8126902 directory entries were hashed with "r5" hash.
Selected hash ("r5") does not match to the hash set in the super block (not set).
        "r5" hash is selected
Flushing..finished
        Read blocks (but not data blocks) 261202326
                Leaves among those 1322618
                        - leaves all contents of which could not be saved and deleted 116
                Objectids found 5993592

Pass 1 (will try to insert 1322502 leaves):
####### Pass 1 #######
Looking for allocable blocks .. finished
0%....20%....40%....60%....80%....100%
Flushing..finished
        1322502 leaves read
                1318007 inserted
                4495 not inserted
####### Pass 2 #######

Pass 2:
0%....20%....40%....60%....80%....100%
Flushing..finished
        Leaves inserted item by item 4495
Pass 3 (semantic):
####### Pass 3 #########
Flushing..finished
        Files found: 5152475
        Directories found: 398395
        Symlinks found: 159285
        Others: 270776
Pass 3a (looking for lost dir/files):
####### Pass 3a (lost+found pass) #########
Looking for lost directories:
Flushing..finished
Pass 4 - finished
Flushing..finished
Syncing..finished
###########
reiserfsck finished at Wed Jun 13 23:04:53 2007
###########
host:~# mount -t reiserfs -o ro /dev/sda4 /backups
host:~#