Need a boot disk with newest reiserfs tools
Last night I attempted to resize my root partition (yes, I know, BAD IDEA :), using a GNU parted boot disk. Early on, it encountered an error and died, after which the partition became unbootable. I was still able to mount it from that boot disk, but there were plenty of errors in the process. So I ran a reiserfsck --fix-fixable which fixed a few problems, but left 56 problems that require --rebuild-tree.
Unfortunately, every time I try a --rebuild-tree, after about 30 seconds errors just start flying by on the screen. After about 30 minutes of this, I get a timeout error and reiserfsck just dies. I've had success in the past with various reiserfs problems by using an updated copy of the reiserfs progs, but as my root partition isn't bootable, and I have no space left to create another partition, I need a boot disk to do it. As such, I need a boot disk with a recent version of the reiserfs progs that can deal with a 3ware RAID array.
My laptop still works, so if I need to make my own bootdisk somehow I can, unfortunately I have no idea of what's involved in the process. It's running Debian unstable so if you're familiar with any tools that would allow me to make a boot disk relatively easily with reiserfs support, I'd greatly appreciate it. TIA.
Signature · 4 lines
Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
Consider booting from a recent version of Knoppix. Even if it doesn't have the tools you need, you'll be able to download them and install them in the ramdisk Knoppix provides you. I think that the main Knoppix distribution is RAID-aware, but I've never been lucky enough to have a RAID setup on which to test it.
Consider passing it the option of not booting into a GUI if RAM is an issue.
Also, do run badblocks or your RAID setup's physical-error-detection program to make sure it's not that your disks are broken themselves.
-- Asheesh.
Quoted 22 lines · Alex Malinovich
Last night I attempted to resize my root partition (yes, I know, BAD IDEA :), using a GNU parted boot disk. Early on, it encountered an error and died, after which the partition became unbootable. I was still able to mount it from that boot disk, but there were plenty of errors in the process. So I ran a reiserfsck --fix-fixable which fixed a few problems, but left 56 problems that require --rebuild-tree.
Unfortunately, every time I try a --rebuild-tree, after about 30 seconds errors just start flying by on the screen. After about 30 minutes of this, I get a timeout error and reiserfsck just dies. I've had success in the past with various reiserfs problems by using an updated copy of the reiserfs progs, but as my root partition isn't bootable, and I have no space left to create another partition, I need a boot disk to do it. As such, I need a boot disk with a recent version of the reiserfs progs that can deal with a 3ware RAID array.
My laptop still works, so if I need to make my own bootdisk somehow I can, unfortunately I have no idea of what's involved in the process. It's running Debian unstable so if you're familiar with any tools that would allow me to make a boot disk relatively easily with reiserfs support, I'd greatly appreciate it. TIA.
Re: --rebuild-tree with bad blocks (Was: Need a boot disk...)
Quoted 11 lines · Asheesh Laroia
Consider booting from a recent version of Knoppix. Even if it doesn't have the tools you need, you'll be able to download them and install them in the ramdisk Knoppix provides you. I think that the main Knoppix distribution is RAID-aware, but I've never been lucky enough to have a RAID setup on which to test it.
Consider passing it the option of not booting into a GUI if RAM is an issue.
Also, do run badblocks or your RAID setup's physical-error-detection program to make sure it's not that your disks are broken themselves.
Thanks for the response. I actually had a Knoppix CD image already downloaded... unfortunately, it was in the affected partition. Instead I deleted my swap partition and used the space to do a quick install of Debian so that I could try running the latest reiserfsprogs. Unfortunately, I've found out that it seems to be a bad block issue. I ran 3ware's 3DM monitoring utility and allowed it to do a media scan overnight. It generated a page full of ECC errors and was apparently unable to fix any of them. (According to 3ware's tech support, if an ECC error is fixable, it will be fixed and marked as such in the log.)
So now I'm left with quite a dilemma. I have a relatively small number of blocks killing the rebuild-tree scan and the computer along with it. (I start getting various scsi0: Command failed and IO errors and the disk becomes unresponsive). Is there any way that I can just avoid those blocks? Only about 15% of the data on that drive is REALLY important. I don't mind losing all the rest if I can just get that 15% moved somewhere safe somehow. Any way to do that?
Signature · 4 lines
Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
Re: --rebuild-tree with bad blocks (Was: Need a boot disk...)
Hello,
Quoted 7 lines
So now I'm left with quite a dilemma. I have a relatively small number of blocks killing the rebuild-tree scan and the computer along with it. (I start getting various scsi0: Command failed and IO errors and the disk becomes unresponsive). Is there any way that I can just avoid those blocks? Only about 15% of the data on that drive is REALLY important. I don't mind losing all the rest if I can just get that 15% moved somewhere safe somehow. Any way to do that?
I am sending you in the next email reiserfsprogs-3.6.12-pre1 that is just waiting for the proper documentation to be released. They have bad block support included. Prepare the list of bad block with the following:
/sbin/badblocks -b 4096 -o bad_block_list /dev/xxx
and then run
reiserfsck --rebuild-tree --badblocks bad_block_list /dev/xxx
Signature · 2 lines
Thanks, Vitaly Fertman