To check the bad block for HDD (hard disk)

November 28, 2006 / General Discussion

Use following command to check the badblocks of the hard drive (HDD)/sbin/badblocks -vv /dev/hdXXThis is a part of the e2fsprogs-1.27-3 rpm which is full of utilities used for file system.

/sbin/badblocks
/sbin/debugfs
/sbin/dumpe2fs
/sbin/e2fsck
/sbin/e2image
/sbin/e2label
/sbin/fsck
/sbin/fsck.ext2
/sbin/fsck.ext3
/sbin/mke2fs
/sbin/mkfs.ext2
/sbin/mkfs.ext3
/sbin/resize2fs
/sbin/tune2fs
/usr/bin/chattr
/usr/bin/lsattr
/usr/bin/uuidgen
/usr/sbin/mklost+found