![]() | Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||
Solution Type Technical Instruction Sure Solution 1009431.1 : HOWTO: Check a disk for bad blocks / disk errors in Linux
PreviouslyPublishedAs 213032
Applies to:Sun Fire V20z ServerSun Fire V40z Server Sun Fire V60x Server Sun Fire V65x Server Sun LX50 Server All Platforms GoalThis document describes how to use the command badblocks to check a Linux disk for bad blocks / disk errors.SolutionIn order to check for bad blocks on a disk device in Linux, use the command, "badblocks". The example below is a verbose non-destructive write test:
The "badblocks" command can be very useful in isolating problems with syncing LVM partitions within Linux. LVM operations will fail due to bad blocks on a disk. Bad blocks on either the source or destination disk within a LVM mirror will cause a synchronization failure. Badblocks can also be used in conjunction with the fsck and makefs to mark the blocks as bad. Warning: The mis-use of these commands can cause data loss. Additional information on the command "badblocks" is available using the "man badblocks" command. Previously Published As 81294 Attachments This solution has no attachment |
||||||||||||
|