ni dari kutipan manual badblocks
atau gunakan smartmoontools, direpository dah ada....
badblocks is used to search for bad blocks on a device (usually a disk partition). device is
the special file corresponding to the device (e.g /dev/hdc1). last-block is the last block to
be checked; if it is not specified, the last block on the device is used as a default. first-
block is an optional parameter specifying the starting block number for the test, which allows
the testing to start in the middle of the disk. If it is not specified the first block on the
disk is used as a default.
Important note: If the output of badblocks is going to be fed to the e2fsck or mke2fs pro‐
grams, it is important that the block size is properly specified, since the block numbers
which are generated are very dependent on the block size in use by the filesystem. For this
reason, it is strongly recommended that users not run badblocks directly, but rather use the
-c option of the e2fsck and mke2fs programs.
The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks. It should run on any modern Linux system.
Users browsing this forum: No registered users and 56 guests