Members
  • Total Members: 14176
  • Latest: toxxxa
Stats
  • Total Posts: 42952
  • Total Topics: 16150
  • Online Today: 4651
  • Online Ever: 51419
  • (01. January 2010., 10:27:49)









Author Topic: 4 pass disk wipe with bad blocks support  (Read 4724 times)

0 Members and 1 Guest are viewing this topic.

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
4 pass disk wipe with bad blocks support
« on: 17. March 2013., 23:04:13 »
(misleading title, I know:)

Mostly for my own convenience, posted here.

When I have to check disk for errors OR if I have to wipe a disk with data, there is one tool I use.

I mostly attach the drive in question with a SATA/PATA to usb adapter  to my old PC which I boot with a live Ubuntu server disk OR even to my regular Windows PC with the adatper connected to a VMWare installation of Ubuntu Server x64.

Then, with mount and ls /dev/sd* I figure out which disk is which (to prevent accidents! :>).

Then, it's time to do some read/write testing.

Badblocks supports two modes: destructive read-write testing and non-destructive read/write testing.

non destructive read write command?
sudo badblocks -svn -c 250000 /dev/sdX

destructive, secure 4 pass pattern writing command?
sudo badblocks -svw -c 250000 /dev/sdX

For example:
badblocks -svn -c 250000 /dev/sdb

You might adjust the -c value. It tells you how many blocks (whatever:) can be scanned every pass. You need RAM to accommodate this feature :)

Karma,

Devvie


~~~ notemail@facebook.com ~~~

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare
——
All spelling mistakes are my own and may only be distributed under the GNU General Public License! – (© 95-1 by Coredump; 2-013 by DevNullius)
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

Samker's Computer Forum - SCforum.info

4 pass disk wipe with bad blocks support
« on: 17. March 2013., 23:04:13 »

Samker

  • SCF Administrator
  • *****
  • Posts: 7528
  • KARMA: 322
  • Gender: Male
  • Whatever doesn't kill us makes us stronger.
    • SCforum.info - Samker's Computer Forum
Re: 4 pass disk wipe with bad blocks support
« Reply #1 on: 18. March 2013., 19:27:28 »
Nice!  :up:

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
Re: 4 pass disk wipe with bad blocks support
« Reply #2 on: 04. June 2013., 12:03:06 »
IF repeated badblocks -svn /dev/sda keeps returning same errors, it is time to do a badblocks -svw /dev/sda - a destructive 4 pass read write test that will DESTROY all date FOREVER on your drive. So backup first maybe? ;p

This often will brush away errors not repaired by badblocks -svn ...

Karma,

devnullius
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
Re: 4 pass disk wipe with bad blocks support
« Reply #3 on: 20. January 2014., 20:41:16 »
Other solutions for secure hard disk wiping? Go here: http://scforum.info/index.php/topic,5474.msg22615.html#msg22615

 :-*

devnullius
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

Samker's Computer Forum - SCforum.info

Re: 4 pass disk wipe with bad blocks support
« Reply #3 on: 20. January 2014., 20:41:16 »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters):www.scforum.info:

Enter your email address to receive daily email with 'SCforum.info - Samker's Computer Forum' newest content:

Terms of Use | Privacy Policy | Advertising