Edmond Rodriguez on 3 Aug 2009 13:04:27 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Hard Drive warranty RMA


>>create a large file on a mounted partition from
>>/dev/urandom, write it to the drive to be wiped with dd, then read the
>>data and ensure that it matches that which was written.

Why not just create a file large as could be on the disk and write some constant character to it, say "a".  Then unmount the disk, remount it, and scan for anything that is not "a" in that large as can be file?


----- Original Message ----
> From: K.S. Bhaskar <ksbhaskar@gmail.com>
> To: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
> Sent: Monday, August 3, 2009 12:07:00 PM
> Subject: Re: [PLUG] Hard Drive warranty RMA
> 
> I have used something like sudo dd if=/dev/urandom of=/dev/sdb bs=xxx
> count=yyy to write random data to non-root disks before sending them
> onwards.  Don't use /dev/random because your system may run out of
> entropy and take a few years to wipe the drive.  If you are paranoid,
> make multiple passes.  If you are tin-hat paranoid (and want to
> protect yourself against the eventuality of a broken write wire to the
> disk head), create a large file on a mounted partition from
> /dev/urandom, write it to the drive to be wiped with dd, then read the
> data and ensure that it matches that which was written.
> 
> Cheers
> -- BHaskar
> 
> On Thu, Jul 30, 2009 at 10:14 PM, TuskenTowerwrote:
> > On Wed, Jul 29, 2009 at 10:50 PM, Tomwrote:
> >> On Sunday 26 July 2009 13:33:00 TuskenTower wrote:
> >>> Apparently, there might be something wrong with the disk, fsck.hfsplus
> >>> spat this out in the end.
> >>> ** The volume Time Machine Backups could not be repaired after 3 attempts.
> >>>
> >>> I can't mount the file system RW either:
> >>> [804012.270353] hfs: Filesystem was not cleanly unmounted, running
> >>> fsck.hfsplus is recommended.  mounting read-only.
> >>>
> >>> I'm going to do some Googling for a partition wiping utility.  Anyone
> >>> have any knowledge about these tools?
> >>>
> >>> thanks,
> >>> Amul
> >>>
> >> dban (www.dban.org) works well.  I just wiped 2 machines I'm sending back to
> >> IT at work with it.
> >>
> >> HTH,
> >> Tom
> >
> > I thought dban works by booting the whole machine right?  I have an
> > external disk that needs nuking.
> >
> > For the curious, I am using badblock + writing random data to the disk.
> >
> > thanks,
> > Amul
> > ___________________________________________________________________________
> > Philadelphia Linux Users Group         --        http://www.phillylinux.org
> > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> > General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> >
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --  http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug