Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Cleaning private data off of a drive to return it

  1. #1
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Cleaning private data off of a drive to return it

    Hi

    I have an external usb hard drive 500GB. It's faulty and if I return it to the supplier it will be replaced. I used it to store years of data, some of it sensitive like banking data etc.

    I have formatted it but I understand that doesn't remove the underlying files.

    Is there an app in openSUSE thet removes the underlying files or wipes the drive so they can't be reconstructed?

    Thanks
    Swerdna
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,743
    Blog Entries
    20

    Default Re: Cleaning private data off of a drive to return it

    Will parted magic wipe it?

    Not sure if that's enough. I know it takes an age
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    U.K.
    Posts
    119

    Default Re: Cleaning private data off of a drive to return it

    Ah! An easy one.

    Look for /usr/bin/shred

    Use it something like this (as root):

    shred -vfz -n 100 /dev/hda

    It can take a long time.

    Cheers

    BTW It can take a very long time if the drive is faulty.

    Ok - ok - I do leap in sometimes.....You have formatted the drive so shred will not work. There is an app out there called Nuke (sometimes called dban). Try that... I personally use Hirens boot disk for things like that and a lot of people will not approve.

    :-(
    Linux User No. 483060

  4. #4
    Join Date
    Jun 2008
    Location
    U.K.
    Posts
    119

    Default Re: Cleaning private data off of a drive to return it

    dban can be foudn at

    linux.softpedia.com/get/System/Hardware/DBAN-6081.shtml
    Linux User No. 483060

  5. #5
    Join Date
    Dec 2008
    Location
    (Canada)
    Posts
    773

    Thumbs up Re: Cleaning private data off of a drive to return it

    Quote Originally Posted by KaptRoger View Post
    dban can be foudn at

    linux.softpedia.com/get/System/Hardware/DBAN-6081.shtml
    That is very good info
    Thank you it help me in the future.

  6. #6

    Default Re: Cleaning private data off of a drive to return it

    There is an easier solution, Encrypted Root File System - openSUSE

    Use
    dd if=/dev/urandom of=/dev/sda3

    Any tool used will work like **** if the disk is damaged so it doesn't make any difference what You use.
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  7. #7

    Default Re: Cleaning private data off of a drive to return it

    There is no problem using shred on a drive that is formatted. You just make sure you run shred for the entire drive and not for a single file.

    The number of overwrite iterations you use is related to your paranoia. 100 is overkill. Some sources say that as few as one may now be acceptable. More reading on the subject:
    Data remanence - Wikipedia, the free encyclopedia

    The trouble with failing drives is that you never know how the drive firmware will treat failed sectors. If you are extremely paranoid, you have to physically destroy the drive because it's always possible the firmware will stop writing to failed sectors entirely, and your data will be left after running an operation like shred.

  8. #8

    Default Re: Cleaning private data off of a drive to return it

    I wouldn't be that sure about that article, professional ways to recover data from a disk involve some magnetic shadowing or something (you can see 7 or 8 writes back) so 100 may be an overkill but 20 would be quite sure but it will still take hell lot of time.
    How does a linux geek make love??

    - rtfm; unzip; strip; touch; finger; mount; fsck; more; yes; umount; zip; sleep;

  9. #9

    Default Re: Cleaning private data off of a drive to return it

    Quote Originally Posted by swerdna View Post
    Hi

    I have an external usb hard drive 500GB. It's faulty and if I return it to the supplier it will be replaced. I used it to store years of data, some of it sensitive like banking data etc.

    I have formatted it but I understand that doesn't remove the underlying files.

    Is there an app in openSUSE thet removes the underlying files or wipes the drive so they can't be reconstructed?

    Thanks
    Swerdna
    Not being sarcastic, how much the usb drive cost vs. sensitive banking data.
    In this circumstances and if your paranoid that someone can obtain information from this hardware better to just use the hammer. My feeling is if the drive is faulty there is a big chance that there will be a failure in erasing the datas stored.
    People who do not break things first will never learn to create anything

  10. #10
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: Cleaning private data off of a drive to return it

    Thanks folks. The fault is in the spin-up process, not the surface itself, so I feel I can shred it with confidence in the result.

    I have to power it on 10-15 times to get a result, and bang the case each time. It's going now at last. I've set it to shred with 25 iterations. It will run all night.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •