Replacing a disk on a Debian (Lenny) .. PowerPC
24-Feb-10 09:17 Arkiveret i:
up, close and
personal
When you have one(only 1) disk in your
mail/web/whatever server... and the disk is starting to go
“Unable to read block #” ..... then you really better
hurry to get your disk replaced!!!
it will within a very short timeframe.. fail completely... and if you (as I have!) set up the drive with LVM... it is not just as simple as making a clone from old to new disk using “dd” .... (which.. in retrospect I should have!!)
1. Follow most of the instructions here
until you get to the “ext2online” .. which i think is a RedHar/Fedora thing....
and use:
e2fsck -f “LV Name”
resize2fs “LV Name”
“LV Name” you get from the “lvdisplay” command.....
Sigh...... This is a complete f€!€!€#€€ up....
beware if you’re on PowerPC platform... then these commands will definitely screw up your installation...
You have to boot using a rescue cd... and _not_until_then_ when you have these devices _not_ mounted will you be able to use the “e2fsck” command..
and so another PowerPC Linux got stuffed.....
it will within a very short timeframe.. fail completely... and if you (as I have!) set up the drive with LVM... it is not just as simple as making a clone from old to new disk using “dd” .... (which.. in retrospect I should have!!)
1. Follow most of the instructions here
until you get to the “ext2online” .. which i think is a RedHar/Fedora thing....
and use:
e2fsck -f “LV Name”
resize2fs “LV Name”
“LV Name” you get from the “lvdisplay” command.....
Sigh...... This is a complete f€!€!€#€€ up....
beware if you’re on PowerPC platform... then these commands will definitely screw up your installation...
You have to boot using a rescue cd... and _not_until_then_ when you have these devices _not_ mounted will you be able to use the “e2fsck” command..
and so another PowerPC Linux got stuffed.....