View previous topic :: View next topic |
Author |
Message |
IvanZD Apprentice
Joined: 04 Jul 2005 Posts: 166
|
Posted: Wed Aug 06, 2008 6:12 pm Post subject: Check for bad sectors |
|
|
Hello.
Please, tell me how I can check disk for bad sectors and other hardware problems? I have problem reading some files on XFS filesystem (and system completely lockup when I try to overwrite that file).
Thanks in advance. _________________ http://www.meteoadriatic.net/ |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Wed Aug 06, 2008 6:45 pm Post subject: |
|
|
S.M.A.R.T. tells you about hardware errors regarding hard disks.
try sys-apps/smartmontools. |
|
Back to top |
|
|
coolsnowmen Veteran
Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Wed Aug 06, 2008 6:52 pm Post subject: |
|
|
badblocks
fsck.*
-n Make no changes to the filesystem
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list _________________ emerge: there are no ebuilds to satisfy "moo" |
|
Back to top |
|
|
|