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

Re: [Xen-users] Clean deleted space in linux diks?

I have to admit, I've always wondered why FS tools don't have a "wipe free space" function. While it's easy to do it with the techniques mentioned, I can't help wondering if it has any knock on effects on the filesystem. Does it, for example, have any impact on the number of size of free extents at the end of it ? Does it make some files (eg log files) that would otherwise be contiguous (or nearly so) get split when free space is almost non-existant ?

I'm guessing the answer is probably "yes, but insignificant in the grand scheme of things".

Oh yes, if a single big file is OK, then a simpler command is :
  cat /dev/zero >bigfile ; rm bigfile

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.