Skip to contentSkip to conversation

--rebuild-tree Questions

DISCUSSION Jeremy Brown [InfoSend] 2 participants 2 messages Sep 12, 2005 – Sep 13, 2005

lore
Share & tools
lore
#0 lore raw

Hi list,

I have an external SCSI disk array (Dell PowerVault 220s) and had some problems altering it's configuration. I was attempting to add 2 disks to the RAID-5 array, and in the process found that 3 of the 4 disks I bought of identical brand and size were bad!

After much toil and tribulation, I got the RAID to work by getting 2 functioning disks in the SCSI disk array. However, without even attempting to resize the partition or anything, I started experiencing problems with the Reiser partition. Some files on the FS are inaccessible with "Permission Denied" errors when I try to ls in the directory. The errors in the log look like this:

Sep 12 14:22:29 pdc kernel: ReiserFS: warning: is_tree_node: node level 0 does not match to the expected one 1
Sep 12 14:22:29 pdc kernel: ReiserFS: sdb1: warning: vs-5150: search_by_key: invalid format found in block 1901161. Fsck?
Sep 12 14:22:29 pdc kernel: ReiserFS: sdb1: warning: vs-13070: reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [141946 595210 0x0 SD]

However, about 95% of the data remains readable. But if we try to overwrite or delete certain files on the fs, we get various errors. Sometimes the kernel panics, sometimes Samba stops responding, etc...

Anyways... I ran a reiserfsck --check on the partition, and it had about 33 errors that it said needed the rebuild-tree option. But I have two questions:

1. What is a ballpark success rate of this command? Does it work more often than not? Even if it put files into lost+found directories, that would be fine with me. I'm just afraid of a total failure of the operation. I do have the data backed up to LTO-2 tape, but I consider restoration of all files on this partition from tape as hopefully a last resort.

2. Most importantly: About how long can I expect the rebuild-tree operation to take? I know there's no definitive answer for this, but I've searched high and low for other people's results with this command and no one has mentioned how long it took (other than a post on this list earlier from someone who's command apparently failed). The partition is 410GB of Ultra-160 SCSI. Again, I know an exact figure isn't possible, but does anyone have a ballpark figure of what I should expect?

I'm sorry if I rambled or left off any important information, but TIA for any help with these questions. I'd be happy to add any information requested.

Signature · 3 lines
Thanks,

Jeremy Brown
#1 lore raw
Quoted 1 line · Jeremy Brown [InfoSend]

Hi list,

Hello Jeremy

Quoted 24 lines

I have an external SCSI disk array (Dell PowerVault 220s) and had some problems altering it's configuration. I was attempting to add 2 disks to the RAID-5 array, and in the process found that 3 of the 4 disks I bought of identical brand and size were bad!

After much toil and tribulation, I got the RAID to work by getting 2 functioning disks in the SCSI disk array. However, without even attempting to resize the partition or anything, I started experiencing problems with the Reiser partition. Some files on the FS are inaccessible with "Permission Denied" errors when I try to ls in the directory. The errors in the log look like this:

Sep 12 14:22:29 pdc kernel: ReiserFS: warning: is_tree_node: node  
level 0 does not match to the expected one 1
Sep 12 14:22:29 pdc kernel: ReiserFS: sdb1: warning: vs-5150:  
search_by_key: invalid format found in block 1901161. Fsck?
Sep 12 14:22:29 pdc kernel: ReiserFS: sdb1: warning: vs-13070:  

reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [141946 595210 0x0 SD]

However, about 95% of the data remains readable. But if we try to overwrite or delete certain files on the fs, we get various errors. Sometimes the kernel panics, sometimes Samba stops responding, etc...

Quoted 5 lines

Anyways... I ran a reiserfsck --check on the partition, and it had about 33 errors that it said needed the rebuild-tree option. But I have two questions:

1. What is a ballpark success rate of this command?

quite successful

Quoted 1 line

Does it work more often than not?

when fs gets corrupted.

Quoted 6 lines

Even if it put files into lost+found
directories, that would be fine with me. I'm just afraid of a total failure of the operation. I do have the data backed up to LTO-2 tape, but I consider restoration of all files on this partition from tape as hopefully a last resort.

Quoted 8 lines

2. Most importantly: About how long can I expect the rebuild-tree operation to take? I know there's no definitive answer for this, but I've searched high and low for other people's results with this command and no one has mentioned how long it took (other than a post on this list earlier from someone who's command apparently failed). The partition is 410GB of Ultra-160 SCSI. Again, I know an exact figure isn't possible, but does anyone have a ballpark figure of what I should expect?

it depends on the amount of data kept on the fs and average file size, 3h-10h.

Quoted 4 lines

I'm sorry if I rambled or left off any important information, but TIA for any help with these questions. I'd be happy to add any information requested.

Signature · 2 lines
Thanks,
Vitaly Fertman