All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antoine Beaupre <anarcat@orangeseeds.org>
To: fio@vger.kernel.org
Subject: could fio be used to wipe disks?
Date: Wed, 15 Mar 2017 17:42:55 -0400	[thread overview]
Message-ID: <87fuie2p40.fsf@curie.anarc.at> (raw)

Hi,

I'm writing a stress-testing tool and i'm looking at using fio to
stress-test disks. The point is not exactly to benchmark the disks, but
put sustained load on the disks to make sure they are generally in
working order.

Right now, I came up with something like this:

      fio --name=stressant --readwrite=randrw  --filename=/dev/sdX \
          --size=100% --numjob=4 --sync=1 --direct=1 --group_reporting

My question is:

 1. will this reliably wipe the whole drive? i know that some data can
    remain due to magnetic properties of the drive or nasty SSD tricks,
    but assume we don't do crazy forensics

 2. if not, is there a way to directly test write I/O directly through
    the device (to ignore filesystem-related issues) non-destructively?

Thanks!

A.

PS: for those curious, my prototype is available here:

https://gitlab.com/anarcat/stressant/blob/master/stressant.py

Nothing serious so far...

-- 
La publicité est la dictature invisible de notre société.
                        - Jacques Ellul


             reply	other threads:[~2017-03-15 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 21:42 Antoine Beaupre [this message]
2017-03-16  7:42 ` could fio be used to wipe disks? Sitsofe Wheeler
2017-03-16 12:30   ` Antoine Beaupré
2017-03-16 17:35     ` Sitsofe Wheeler
     [not found]   ` <CAGpXXZ+bWSkOp3KqUvycgHY1gaonriGX95-7tUQ-nND-sGbaeA@mail.gmail.com>
2017-03-16 17:14     ` Sitsofe Wheeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuie2p40.fsf@curie.anarc.at \
    --to=anarcat@orangeseeds.org \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.