Badblock check in linux

Read only test:

badblocks -b512 -c65536  -sv /dev/sdX

Read-Write test:

badblocks  -b512 -c65536 -svw /dev/sdX 

~~LINKBACK~~