Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Check for bad sectors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
IvanZD
Apprentice
Apprentice


Joined: 04 Jul 2005
Posts: 166

PostPosted: Wed Aug 06, 2008 6:12 pm    Post subject: Check for bad sectors Reply with quote

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
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Wed Aug 06, 2008 6:45 pm    Post subject: Reply with quote

S.M.A.R.T. tells you about hardware errors regarding hard disks.
try sys-apps/smartmontools.
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Wed Aug 06, 2008 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum