Hi all!

I ran into a small problem the other day, but I'm not sure if I'm
misinterpreting something:

I got a second hand SCSI drive for one of my systems, which I
partitioned and formatted. Now, whenever I run mke2fs or mkswap, I use
the "-c" switch, i.e. "check for bad blocks". I did so this time as
well and got no error messages. I then proceeded to copy a whole bunch
of data onto that drive, as I was planning to replace a smaller,
existing drive with this one. Again, no error messages.
I then ran a recursive diff over the two directories to verify the copy
- and got an I/O error. It was only then that I pulled up
/var/log/messages and saw a bunch of SCSI MediaErrors. To test that I
proceeded to rerun mke2fs on that partition, again with "-c", while
monitoring /var/log/messages - and sure enough, when the badblocks check
reached the suspicious blocks, the same error messages showed up in the
log. $No_of_Drives-- <sigh>

The one thing I'm wondering about, though: Shouldn't badblocks catch
that and write out errors to stderr or something like that? Or is it
recommended practice to have an eye on the logs when using this stuff?

Cheerio,

Thomas
-- 
             "Look, Ma, no obsolete quotes and plain text only!"

     Thomas Ribbrock | http://www.bigfoot.com/~kaytan | ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to