[CALUG] Zero out un-used space

Grant Stavely grant at grantstavely.com
Mon Nov 30 07:35:02 EST 2009


Try scrub -x

       -X, --freespace
              Create specified directory and fill it with  files  until  write
              returns  ENOSPC  (file  system  full),  then  scrub the files as
              usual.  The size of each file can be set with -s,  otherwise  it
              will  be  the  maximum file size creatable given the user's file
              size limit or 1g if umlimited.

https://computing.llnl.gov/linux/scrub.html

I'd run it during maintenance hours if /var or /tmp, for example, are on the same file system being scrubbing.

Grant

On Nov 30, 2009, at 7:21 AM, Jason C. Miller wrote:

> Does anyone know how to zero out the un-allocated space in a filesystem 
> (ext2/3/4 in particular)?  I'm looking to remove residual data from 
> deleted files while maintaining the integrity of the used filesystem.
> 
>                                ~j
> 
> 
> _______________________________________________
> CALUG mailing list
> CALUG at unknownlamer.org
> http://lists.unknownlamer.org/listinfo/calug





More information about the CALUG mailing list