Skip to contentSkip to conversation

Unable to rebuild bitmap.

DISCUSSION Lance Reed 3 participants 8 messages Oct 4, 2005 – Oct 6, 2005

lore
Share & tools
lore

Lance Reed

author
#0 lore raw

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24
lvm2-2.00.09-12

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
......
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
....
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 0xfd00 of format 3.6 with standard journal Count of blocks on the device: 2594701312
Number of bitmaps: 13648
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864 Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

If I mount and try try to write to the filesystem.

Oct  3 20:25:30 livestore2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#1]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: efadd930
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4193, threadinfo=efadc000 task=f5f880b0)
Oct  3 20:25:30 livestore2 kernel: Stack: 0b000001 00000000 cdc2b380 c0143a56 00006100 00000000 00000000 f9383118
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 efadd9e4 0000da62 efaddf30 f90c14fa 00000080 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [find_get_page+22/64] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [<c0143a56>] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2525547/2709224] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c14fa>] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487640/2709224] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b80e7>] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2586603/2709224] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90d037a>] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [d_instantiate+84/96] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c017bcc4>] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2440906/2709224] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aca59>] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436877/2709224] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aba9c>] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436433/2709224] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ab8e0>] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [vfs_mkdir+188/272] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [<c0172bcc>] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [sys_mkdir+166/240] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [<c0175736>] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [sys_write+56/96] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c0164b78>] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:25:30 livestore2 kernel:  <1>Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#2]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: ef9d990c
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4199, threadinfo=ef9d8000 task=f658e620)
Oct  3 20:25:30 livestore2 kernel: Stack: 00000000 00000000 00000000 00000000 00006100 00000000 00000000 00000000
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 ef9d99c0 0000da62 ef9d9ef8 00000000 00000000 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2430588/2709224] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aa20b>] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2438620/2709224] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ac16b>] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [vfs_create+197/288] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [<c0172e45>] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [open_namei+764/976] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [<c0174f4c>] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.4, giving up
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.3, giving up

livestore2:~ #
livestore2:~ # tail -f /var/log/messages

Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Signature · 5 lines
2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux
SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24
lvm2-2.00.09-12
#1 lore raw
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 5 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 8 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

Quoted 263 lines

lvm2-2.00.09-12

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
......
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
....
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 0xfd00 of format 3.6 with standard journal
Count of blocks on the device: 2594701312
Number of bitmaps: 13648
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864
Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

If I mount and try try to write to the filesystem.

Oct  3 20:25:30 livestore2 kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#1]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    
0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at 
scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 
000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 
00000000   esp: efadd930
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4193, 
threadinfo=efadc000 task=f5f880b0)
Oct  3 20:25:30 livestore2 kernel: Stack: 0b000001 00000000 cdc2b380 
c0143a56 00006100 00000000 00000000 f9383118
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 efadd9e4 
0000da62 efaddf30 f90c14fa 00000080 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 
f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [find_get_page+22/64] 
find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [<c0143a56>] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2525547/2709224] 
internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c14fa>] 
internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2413942/2709224] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] 
get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] 
get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487640/2709224] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b80e7>] fix_nodes+0x7a7/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] 
reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] 
reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2586603/2709224] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90d037a>] open_xa_dir+0x26a/0x2a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [d_instantiate+84/96] 
d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c017bcc4>] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2440906/2709224] reiserfs_lookup+0x1e9/0x1f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aca59>] 
reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2436877/2709224] reiserfs_mkdir+0x1bc/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aba9c>] 
reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] 
permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2436433/2709224] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ab8e0>] 
reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [vfs_mkdir+188/272] 
vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [<c0172bcc>] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [sys_mkdir+166/240] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [<c0175736>] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [sys_write+56/96] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c0164b78>] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 
0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:25:30 livestore2 kernel:  <1>Unable to handle kernel NULL 
pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#2]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    
0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at 
scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 
000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 
00000000   esp: ef9d990c
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4199, 
threadinfo=ef9d8000 task=f658e620)
Oct  3 20:25:30 livestore2 kernel: Stack: 00000000 00000000 00000000 
00000000 00006100 00000000 00000000 00000000
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 ef9d99c0 
0000da62 ef9d9ef8 00000000 00000000 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 
f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2413942/2709224] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] 
get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] 
get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] 
reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] 
reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2430588/2709224] search_by_entry_key+0x1b/0x2d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aa20b>] 
search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2438620/2709224] reiserfs_create+0xeb/0x210 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ac16b>] 
reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] 
permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [vfs_create+197/288] 
vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [<c0172e45>] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [open_namei+764/976] 
open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [<c0174f4c>] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 
0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 
192.168.103.4, giving up
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 

192.168.103.3, giving up

livestore2:~ #
livestore2:~ # tail -f /var/log/messages

Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 

0f bc d0 29 df c1 e7 03 01 fa

Signature · 1 line
Vitaly
author
#2 lore raw

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

# reiserfsck -V
reiserfsck 3.6.19 (2003 www.namesys.com)

livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
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 0xfd00 of format 3.6 with standard journal Count of blocks on the device: 2594963456
Number of bitmaps: 13656
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864 Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 211 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 7 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 10 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

Quoted 170 lines

lvm2-2.00.09-12

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
......
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
....
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 0xfd00 of format 3.6 with standard journal Count of blocks on the device: 2594701312
Number of bitmaps: 13648
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864 Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

If I mount and try try to write to the filesystem.

Oct  3 20:25:30 livestore2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#1]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: efadd930
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4193, threadinfo=efadc000 task=f5f880b0)
Oct  3 20:25:30 livestore2 kernel: Stack: 0b000001 00000000 cdc2b380 c0143a56 00006100 00000000 00000000 f9383118
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 efadd9e4 0000da62 efaddf30 f90c14fa 00000080 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [find_get_page+22/64] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [<c0143a56>] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2525547/2709224] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c14fa>] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487640/2709224] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b80e7>] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2586603/2709224] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90d037a>] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [d_instantiate+84/96] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c017bcc4>] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2440906/2709224] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aca59>] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436877/2709224] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aba9c>] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436433/2709224] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ab8e0>] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [vfs_mkdir+188/272] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [<c0172bcc>] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [sys_mkdir+166/240] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [<c0175736>] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [sys_write+56/96] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c0164b78>] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:25:30 livestore2 kernel:  <1>Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#2]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: ef9d990c
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4199, threadinfo=ef9d8000 task=f658e620)
Oct  3 20:25:30 livestore2 kernel: Stack: 00000000 00000000 00000000 00000000 00006100 00000000 00000000 00000000
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 ef9d99c0 0000da62 ef9d9ef8 00000000 00000000 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2430588/2709224] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aa20b>] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2438620/2709224] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ac16b>] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [vfs_create+197/288] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [<c0172e45>] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [open_namei+764/976] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [<c0174f4c>] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.4, giving up
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.3, giving up

livestore2:~ #
livestore2:~ # tail -f /var/log/messages

Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
#3 lore raw
Quoted 7 lines · Lance Reed

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

as I have mentioned the current code supports up to the 8Tb only. if you need a larger fs you have to patch both kernel and progs.

Quoted 392 lines

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

# reiserfsck -V
reiserfsck 3.6.19 (2003 www.namesys.com)

livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
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 0xfd00 of format 3.6 with standard journal
Count of blocks on the device: 2594963456
Number of bitmaps: 13656
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864
Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 308 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 7 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 10 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

Quoted 265 lines

lvm2-2.00.09-12

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
......
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
....
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 0xfd00 of format 3.6 with standard journal
Count of blocks on the device: 2594701312
Number of bitmaps: 13648
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864
Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

If I mount and try try to write to the filesystem.

Oct  3 20:25:30 livestore2 kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#1]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    
0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at 
scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 
000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 
00000000   esp: efadd930
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4193, 
threadinfo=efadc000 task=f5f880b0)
Oct  3 20:25:30 livestore2 kernel: Stack: 0b000001 00000000 cdc2b380 
c0143a56 00006100 00000000 00000000 f9383118
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 efadd9e4 
0000da62 efaddf30 f90c14fa 00000080 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 
f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [find_get_page+22/64] 
find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [<c0143a56>] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2525547/2709224] 
internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c14fa>] 
internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2413942/2709224] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] 
get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] 
get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487640/2709224] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b80e7>] fix_nodes+0x7a7/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] 
reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] 
reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2586603/2709224] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90d037a>] open_xa_dir+0x26a/0x2a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [d_instantiate+84/96] 
d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c017bcc4>] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2440906/2709224] reiserfs_lookup+0x1e9/0x1f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aca59>] 
reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2436877/2709224] reiserfs_mkdir+0x1bc/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aba9c>] 
reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] 
permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2436433/2709224] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ab8e0>] 
reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [vfs_mkdir+188/272] 
vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [<c0172bcc>] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [sys_mkdir+166/240] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [<c0175736>] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [sys_write+56/96] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c0164b78>] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 
0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:25:30 livestore2 kernel:  <1>Unable to handle kernel NULL 
pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#2]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    
0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at 
scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 
000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 
00000000   esp: ef9d990c
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4199, 
threadinfo=ef9d8000 task=f658e620)
Oct  3 20:25:30 livestore2 kernel: Stack: 00000000 00000000 00000000 
00000000 00006100 00000000 00000000 00000000
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 ef9d99c0 
0000da62 ef9d9ef8 00000000 00000000 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 
f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2413942/2709224] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] 
reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] 
get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] 
get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] 
reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] 
reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2430588/2709224] search_by_entry_key+0x1b/0x2d0 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aa20b>] 
search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  
[__crc_device_suspend+2438620/2709224] reiserfs_create+0xeb/0x210 
[reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ac16b>] 
reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] 
permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [vfs_create+197/288] 
vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [<c0172e45>] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [open_namei+764/976] 
open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [<c0174f4c>] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 
0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 
192.168.103.4, giving up
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 

192.168.103.3, giving up

livestore2:~ #
livestore2:~ # tail -f /var/log/messages

Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] 
sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 

0f bc d0 29 df c1 e7 03 01 fa

Signature · 1 line
Vitaly
author
#4 lore raw

So, is this problem fixed in Reiserfs4 ?

I can build a new host and use reiserfs4 if this will solve my problem, and just copy the data. I just want to make sure I can make 16TB files systems if I need to.

Thanks so much for all your help and information!

Lance

Quoted 321 lines · Vitaly Fertman
Quoted 9 lines · Lance Reed

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

as I have mentioned the current code supports up to the 8Tb only. if you need a larger fs you have to patch both kernel and progs.

Quoted 301 lines

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

# reiserfsck -V
reiserfsck 3.6.19 (2003 www.namesys.com)

livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
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 0xfd00 of format 3.6 with standard journal Count of blocks on the device: 2594963456
Number of bitmaps: 13656
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864 Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 222 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 9 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 12 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

Quoted 172 lines

lvm2-2.00.09-12

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
......
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap
livestore2:~ # reiserfsck --rebuild-sb /dev/VG01/lvol0
....
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 0xfd00 of format 3.6 with standard journal Count of blocks on the device: 2594701312
Number of bitmaps: 13648
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 919312864 Root block: 23854440
Filesystem is clean
Tree height: 5
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
Device [0x0]
Magic [0x7c282a2f]
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: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 51677
UUID: dfc4b601-40b9-44e4-b246-3cb4c96ac152
LABEL:
Set flags in SB:
ATTRIBUTES CLEAN

Super block seems to be correct

If I mount and try try to write to the filesystem.

Oct  3 20:25:30 livestore2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#1]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: efadd930
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4193, threadinfo=efadc000 task=f5f880b0)
Oct  3 20:25:30 livestore2 kernel: Stack: 0b000001 00000000 cdc2b380 c0143a56 00006100 00000000 00000000 f9383118
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 efadd9e4 0000da62 efaddf30 f90c14fa 00000080 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [find_get_page+22/64] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [<c0143a56>] find_get_page+0x16/0x40
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2525547/2709224] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c14fa>] internal_insert_childs+0x1fa/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487640/2709224] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b80e7>] fix_nodes+0x7a7/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2586603/2709224] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90d037a>] open_xa_dir+0x26a/0x2a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [d_instantiate+84/96] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c017bcc4>] d_instantiate+0x54/0x60
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2440906/2709224] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aca59>] reiserfs_lookup+0x1e9/0x1f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436877/2709224] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aba9c>] reiserfs_mkdir+0x1bc/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2436433/2709224] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ab8e0>] reiserfs_mkdir+0x0/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [vfs_mkdir+188/272] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [<c0172bcc>] vfs_mkdir+0xbc/0x110
Oct  3 20:25:30 livestore2 kernel:  [sys_mkdir+166/240] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [<c0175736>] sys_mkdir+0xa6/0xf0
Oct  3 20:25:30 livestore2 kernel:  [sys_write+56/96] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [<c0164b78>] sys_write+0x38/0x60
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:25:30 livestore2 kernel:  <1>Unable to handle kernel NULL pointer dereference at virtual address 00000c20
Oct  3 20:25:30 livestore2 kernel:  printing eip:
Oct  3 20:25:30 livestore2 kernel: f90a52aa
Oct  3 20:25:30 livestore2 kernel: *pde = 00000000
Oct  3 20:25:30 livestore2 kernel: Oops: 0000 [#2]
Oct  3 20:25:30 livestore2 kernel: SMP
Oct  3 20:25:30 livestore2 kernel: CPU:    1
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[__crc_device_suspend+2410267/2709224]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EIP:    0060:[<f90a52aa>]    Not tainted
Oct  3 20:25:30 livestore2 kernel: EFLAGS: 00010246   (2.6.4-52-smp)
Oct  3 20:25:30 livestore2 kernel: EIP is at scan_bitmap_block+0x1da/0x480 [reiserfs]
Oct  3 20:25:30 livestore2 kernel: eax: ffffffff   ebx: 00000c20   ecx: 000000f8   edx: 00000000
Oct  3 20:25:30 livestore2 kernel: esi: f9376310   edi: 00000c20   ebp: 00000000   esp: ef9d990c
Oct  3 20:25:30 livestore2 kernel: ds: 007b   es: 007b   ss: 0068
Oct  3 20:25:30 livestore2 kernel: Process rsync (pid: 4199, threadinfo=ef9d8000 task=f658e620)
Oct  3 20:25:30 livestore2 kernel: Stack: 00000000 00000000 00000000 00000000 00006100 00000000 00000000 00000000
Oct  3 20:25:30 livestore2 kernel:        00000000 f5c65800 ef9d99c0 0000da62 ef9d9ef8 00000000 00000000 0000da62
Oct  3 20:25:30 livestore2 kernel:        00008000 f5c65800 00000001 f90a6105 00008000 00000001 00000001 00000000
Oct  3 20:25:30 livestore2 kernel: Call Trace:
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2413942/2709224] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90a6105>] reiserfs_allocate_blocknrs+0x3e5/0xc89 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2481484/2709224] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b68db>] get_far_parent+0x15b/0x350 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2485508/2709224] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7893>] get_empty_nodes+0xf3/0x1a0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2487055/2709224] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90b7e9e>] fix_nodes+0x55e/0x1f30 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2539052/2709224] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90c49bb>] reiserfs_insert_item+0x18b/0x2f0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2452812/2709224] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90af8db>] reiserfs_new_inode+0x46b/0x9d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2430588/2709224] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90aa20b>] search_by_entry_key+0x1b/0x2d0 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [__crc_device_suspend+2438620/2709224] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [<f90ac16b>] reiserfs_create+0xeb/0x210 [reiserfs]
Oct  3 20:25:30 livestore2 kernel:  [permission+98/128] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [<c0172852>] permission+0x62/0x80
Oct  3 20:25:30 livestore2 kernel:  [vfs_create+197/288] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [<c0172e45>] vfs_create+0xc5/0x120
Oct  3 20:25:30 livestore2 kernel:  [open_namei+764/976] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [<c0174f4c>] open_namei+0x2fc/0x3d0
Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.4, giving up
Oct  3 20:27:36 livestore2 sm-notify[3328]: Unable to notify 192.168.103.3, giving up

livestore2:~ #
livestore2:~ # tail -f /var/log/messages

Oct  3 20:25:30 livestore2 kernel:  [filp_open+40/80] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [<c0162468>] filp_open+0x28/0x50
Oct  3 20:25:30 livestore2 kernel:  [sys_open+77/144] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [<c01624dd>] sys_open+0x4d/0x90
Oct  3 20:25:30 livestore2 kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:  [<c01091c9>] sysenter_past_esp+0x52/0x79
Oct  3 20:25:30 livestore2 kernel:
Oct  3 20:25:30 livestore2 kernel: Code: f3 af 74 09 33 47 fc 83 ef 04 0f bc d0 29 df c1 e7 03 01 fa
#5 lore raw
Quoted 1 line · Lance Reed

So, is this problem fixed in Reiserfs4 ?

reiser4 is absolutely different fs written from the scratch, it is in the mm kernel only yet.

regarding the reiserfs, there is a patch that solves the problem, not accepted though, if you tell me the kernel number you would like to work with I can send it to you.

Quoted 123 lines

I can build a new host and use reiserfs4 if this will solve my problem, and just copy the data. I just want to make sure I can make 16TB files systems if I need to.

Thanks so much for all your help and information!

Lance

Quoted 112 lines · Vitaly Fertman
Quoted 9 lines · Lance Reed

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

as I have mentioned the current code supports up to the 8Tb only. if you need a larger fs you have to patch both kernel and progs.

Quoted 94 lines

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 45 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 9 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 12 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

Signature · 1 line
Vitaly
#6 lore raw
Quoted 11 lines · Vitaly Fertman
Quoted 3 lines · Lance Reed

So, is this problem fixed in Reiserfs4 ?

reiser4 is absolutely different fs written from the scratch, it is in the mm kernel only yet.

You did not answer the question.;-)

Quoted 3 lines

regarding the reiserfs, there is a patch that solves the problem, not accepted though,

any reason to not send it in?

Quoted 151 lines

if you tell me the kernel number you would
like to work with I can send it to you.

Quoted 142 lines

I can build a new host and use reiserfs4 if this will solve my problem, and just copy the data. I just want to make sure I can make 16TB files systems if I need to.

Thanks so much for all your help and information!

Lance

Quoted 129 lines · Vitaly Fertman
Quoted 11 lines · Lance Reed

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

as I have mentioned the current code supports up to the 8Tb only. if you need a larger fs you have to patch both kernel and progs.

Quoted 106 lines

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed
reiserfs_open_ondisk_bitmap: wrong either bitmaps number, count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 55 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 11 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 14 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.

author
#7 lore raw
In reply to Vitaly Fertman

Well, the host this one is on is using kernel 2.6.4-52-smp which is a stock Suse 9.1 Pro kernel.

However, since this is under LVM and on an external storage array, I could build a new host off of Suse Pro 9.3 which uses a stock 2.6.11.4-21.7-bigsmp kernel, and is advertised to be able to mount reiserfs4 file systems.

Not sure which one would be simpler.....
If you have a patch that works with the older 2.6.4-52-smp kernel, that would be the fastest for me.

Thanks for all your help and taking the time!

Lance

Quoted 154 lines · Vitaly Fertman
Quoted 3 lines · Lance Reed

So, is this problem fixed in Reiserfs4 ?

reiser4 is absolutely different fs written from the scratch, it is in the mm kernel only yet.

regarding the reiserfs, there is a patch that solves the problem,
not accepted though, if you tell me the kernel number you would like to work with I can send it to you.

Quoted 135 lines

I can build a new host and use reiserfs4 if this will solve my problem, and just copy the data. I just want to make sure I can make 16TB files systems if I need to.

Thanks so much for all your help and information!

Lance

Quoted 122 lines · Vitaly Fertman
Quoted 11 lines · Lance Reed

Thanks for the info!

I have tried this. I made the new 3.6.19 code.
Ran a --rebuild-sb, seemed better. When I try to run a --check, it still says that it can not read the bitmap.
So, is this problem with the reiserfs code in the kernel I am booting? I thought that we could get up to 16 TB.

as I have mentioned the current code supports up to the 8Tb only. if you need a larger fs you have to patch both kernel and progs.

Quoted 100 lines

Is there a way to force a rebuild of the superblock. maybe delete it with dd at offset 64 ? something like this maybe ?

dd if=/dev/zero of=/dev/VG01/lvol0 bs=1024 seek=64 count=1
(http://lists.suse.com/archive/suse-linux-e/2003-Dec/1731.html)

Then rebuild the bitmap?
This might be a bit crazy....?

Anybody got any ideas?

Thank you so much for the assistance!

Lance

livestore2:~ # reiserfsck --check /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Tue Oct 4 21:36:46 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

livestore2:~ # reiserfsck --fix-fixable /dev/VG01/lvol0
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --fix-fixable started at Tue Oct 4 21:38:34 2005
###########
Replaying journal..
Reiserfs journal '/dev/VG01/lvol0' in blocks [18..8211]: 0 transactions replayed reiserfs_open_ondisk_bitmap: wrong either bitmaps number,
count of blocks or blocksize, run with --rebuild-sb to fix it
reiserfsck: Could not open bitmap

Quoted 53 lines · Vitaly Fertman
Quoted 8 lines · Lance Reed

I seem to be stuck in a catch 22 and can not seem to rebuild a bitmap. reiserfsck --check says the bitmap is bad.
reiserfsck --rebuild-sb says it is ok.

I do seem some errors but can not seem to repair them.. "Fs state field: 0x1:
some corruptions exist."

Quoted 11 lines

If I mount the filesystem and try to write to it, I get a kernel oops.

The Filesystem has recently been increased to just under 10 TB.

Anybody have any ideas?

this is a known problem revealed recently. the reiserfs has the 16 bits bitmap couter, so the maximum fs size is (0xffff * BlockSize * 8 * BlockSize) = 8T for 4k blocksize.

Quoted 14 lines

TIA.

Lance

2 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux SuSE Linux 9.1 (i586)
VERSION = 9.1
reiserfs-3.6.13-24

please update the progs to the latest (3.6.19) version.