lkml.org 
[lkml]   [2004]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRE: another hard disk broken or xfs problems?
    Quote from Stephen Satchell <list@satchell.net>:
    > /bin/nice -n 15 /bin/dd if=/dev/hda of=/dev/null bs=128k
    > /bin/nice -n 15 /bin/dd if=/dev/hdc of=/dev/null bs=128k
    > /bin/nice -n 15 /bin/dd if=/dev/sda of=/dev/null bs=128k
    >
    > This ensures that all sectors are readable, regardless of file system
    > state, and relocates and reassigns those sectors that can be read in any
    > way.

    The majority of drives do not re-allocate on read, only on write.
    Therefore, the above cron jobs will simply find them each time they
    run, unless something writes to the defective block inbetween runs.

    John.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.018 / U:0.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site