Mailinglist Archive: opensuse (4600 mails)

< Previous Next >
Re: [SLE] bad sectors on hard drive (suse 9.0)
  • From: Aleš Jagodnik <ajagodnik@xxxxxxxxx>
  • Date: Thu, 29 Jan 2004 04:17:55 +0100
  • Message-id: <1075346202.3583.20.camel@xxxxxxxxxxx>
What I did and what I hope will work:

1)Reboot, put SuSE CD1, started install, partitioning
2)made 3 partitions, swap (no format!), / (ext3 format), /home (/ext3
format)
3)proceeded, so that Yast makes & formats the partitions, then canceled
installation before any package has been installed
4) rebooted, put SuSE CD1, choose Rescue, booted to Rescue
5) SWAP: a) format: mkswap -c /dev/hdc1
b) for luck: badblock /dev/hdc1, yielded no results, great?!?
6) /: a)format again: mkfs.ext3 -j -c /dev/hdc2
b)for luck: e2fsck -c -f /dev/hdc2 yielded:

File System was modified.
11/859872 files ... (0.0% non-contiguous) 35202/1716946 blocks

IS THIS OK?

7) /home: format again: mkfs.ext3 -j -c /dev/hdc3, similar output
8) reboot, put SuSE CD1, started install, partitioning, choose current
partition setup with NO FORMAT on swap, / and /home!, just mount points
9) package install etc...
10) WOW my third fresh install this week, I'am totally stressed out,
luckily I have sort of an express backup always ready, but compiling
fluxbox every time is not that great :)

3. questions remain:

1) WHAT TO DO IF MORE BAD BLOCKS HAPPEN? WHAT COMMANDS TO RUN?, SAME?
WHAT DOES e2fsck DO WITH FILES SAVED ON BADBLOCKS?

2) HOW SURE CAN I BE, THAT MY PROBLEMS ARE SOLVED (BADBLOCKS SAFELY
PLACED AWAY FROM USE)? IS THERE A COMMAND I CAN RUN WHILE FS IS MOUNTED
TO CHECK?

3) WILL REGULAR CHECK ON BOOT (every 20 boots as it says) FIND & CORRECT
POSSIBLE BADBLOCKS?





< Previous Next >
Follow Ups
References