How to zero-write free disk space?

Hello:
I need to zero write the free space of the hard disk to ensure that data is
erased and because im using a virtual hard disk and i need to zero off free space to be
able to compact the disk
how can I do that? is there any command to do that ?
thank you everybody
juan

Did everything proceed smoothly when doing this?  Posts I can see with this issue often indicate the user did something such as try to cancel the erase.  Normally it writes zeros, then deletes that file.  Have you tried a normal empty trash?

Similar Messages

  • Free disk Space in jdk1.5

    How to find the free disk space .I have jdk1.5 being installed.
    Can we use getFreeSpace() ?
    Which all packages to import

    Windows doesn't have a command that cleanly returns the amount of free space in a root drive. There are a number of ways that you can get the information.
    One is to create a .bat batch file that does a "dir" command on the root directory, and then pipe the results through a filter to eliminate all but the one line that has the disk space information. like this:
    dir c:\ | find "Dir(s)"Execute the batch file using Runtime.exec, then parse the returned line in the Java code.

  • Determining free disk space in a platform independent "java-like" way?

    how can i determine free disk space in a platform independent "java-like" way?

    Search the forum "free disk space".

  • Error message need to free disk space-how do I do that?

    I am getting an error message when I try to burn a dvd.  "Not enough free disk space for encoding the remaining assets"  How do I free the space?

    By deleting or temporarily removing items (non system / not DVD related) from your HD.
    Take a look here: http://support.apple.com/kb/HT1583
    Regards.

  • How to find the amount of free disk space on my pc....... in java of course

    how to find the amount of free disk space on my pc

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=free+disk+space&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

  • Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive.

    Please for referral information, how can I get more disk space, or actually information and guidelines that can have enough free disk space. How, I have to delete documents or downloading to another drive. (The problem is that Safari could not download the file "iTunesSetup.exe" because there is not enough free disk space.Try deleting documents or downloading to another drive) ... Perhaps this is the main problem why can not open iTunes and inscription is: the folder "iTunes" can not be found or created, and is required. The default location for this folder is inside the "Music" folder. - And after options ok, appears option: Choose iTunes Library with inscription iTunes needs a library to continue. You may choose an existing iTunes library or create a new one - but still following options Choose Library and the following options can not open iTunes ... Please for instructions on how to eliminate the problem or eror ...
    Mac is running OS X v10.6.8, Safari should be 5.1.10. Or  Mac OS X  /  Version  10.6.8  /  Build 10K549 / Serial Number W8****ATM  /  Processor 2.4 GHz Intel Core 2 Duo  /  Memory 4 GB 1067 MHz DDR3 or More Info:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro7,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2,4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1,07 GHz
      Boot ROM Version: MBP71.0039.B0B
      SMC Version (system): 1.62f7
      Serial Number (system): W80394HFATM
      Hardware UUID: 94647506-C5D0-5D73-BC7F-FC680D238F43
      Sudden Motion Sensor:
      State: Enabled
    <Personsl Information Edited by Host>

    buy an external HD   1TB for $60
    NO notebook is a mass storage device, so dont try to turn it into one, it doesnt work that way.
    Unless youre using it every couple weeks, its static data and should be on an external HD
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace.  You should never be put in the position of considering “deleting things” on your macbook SSD in order to ‘make space’.
    Professionals who create and import very large amounts of data have almost no change in the available space on their computers internal HD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your macbook has a HD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your computer to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.

  • How Can I Get the Amount of Free Disk Space Using space using windows 7 please share example using GetDiskSpace

    How Can I Get the Amount of Free Disk Space  using windows 7 please share example using GetDiskSpace i have already studied http://digital.ni.com/public.nsf/allkb/9958B8E473C4EF1786256BBC0053B64F

    Reading your question a bit more in detail, I doubt whether you are using Win32 API GetDiskFreeSpace function (for which my previous post is the solution) of Programmer's Toolbox GetDiskSpace function.
    With reference to the second one, it works even with disks larger than 2GB but you need to use the proper formatting code to display the returned value. I updated my example to show total free space in the debug output window and added a comparison with 3GB value using UInt64TypeCompareUInt from the Programmer's Toolbox.

  • I'm losing 2GB of free disk space every day. How can I prevent this?

    Every day this week I notice that I lose about 2GB of free disk space on my MacBook Pro. I'm now down to 20GB. When I started the week, I had over 30GB. I haven't installed any new programs of signficance. I store my large documents (photos, music, movies) on an external hard disk. While the MBP is not giving me problems, performance-wise, I'm concerned about the constant loss of free space.
    I checked the size of my sleepimage and swapfile in /private/var/vm and they appear to be normal. The sleepimage size remains constant at 4.29GB and there is only one swapfile that is using 67.1 megs.
    I don't seem retain disk space even after clearing the User and System caches, repairing permissions, and restarting my computer.
    I checked my recent Console messages and here is a short snippet:
    5/13/10 9:49:04 AM com.apple.launchd.peruser.514[285] (com.shirtpocket.backuponmount) Throttling respawn: Will start in 9 seconds
    5/13/10 9:49:13 AM osascript[3781] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
    /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    5/13/10 9:49:13 AM com.shirtpocket.backuponmount[3781] osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
    5/13/10 10:31:20 AM PreferenceSyncClient[4405] Preference plist was NOT a dictionary.
    I reviewed my Login Items and there doesn't seem to be anything out of the ordinary there that could be chewing up disk space.
    GrowlHelperApp
    AdobeResourceSynchronizer
    textexpanderd
    iTunesHelper
    Rogue Amoeba Schedule Helper
    VMware Fusion Helper
    Dropbox
    Lastly, I did a search in Finder using the following criteria and came up empty:
    Kind is Any
    File visibility = Visible or Invisible
    Last modified date is within last 5 days
    Size is greater than 10 MB

    Yes, I'm running TechTool Pro 5 and it definitely looks like the Data Recovery feature is causing the disk space to be lost. I see lots of recent dates under the Directory Backups list. Looking at the Help guide, I haven't yet found how to turn this feature off.

  • How many free disk space after install OS X lion (10.7) ?

    Hi,
    I would like to know that how many free disk space after install OS X lion (10.7) on MBA i5.
    Many Thanks,
    Eric

    I want to buy MBA i5, I would like to free disk space of MBA 13" i5, Could anyone tell it to me? Thanks
    As you're buing a new MacBook Air, it will come pre-installed with Lion.  The actual installation will be somewhat larger than a "clean" Lion install as it will come with iLife preinstalled.  Obviously, with an Air's limited storage space, you want to be sure that you have enough room for any applications and data that you'll want to keep on the SSD as well.  It is fairly easy to upgrade the SSD on an Air:
    http://eshop.macsales.com/shop/SSD/OWC/Aura_Pro_Express
    The amount of RAM you have installed is probably more important.  Fortunately, the newest 13" MacBook Airs all come with 4GB standard now.

  • Zero KB of 3 TB available (time capsule message) though airport utility says 2.4T free disk space. any idea?

    I do have a 3TB Airport Time Capsule and there is free disk space if I do check on the Airport Utility but also if I add up the disk usage. However, TimeCapsule does not backup anymore. Message I get is "Zero KB of 3 TB available". I did already delete the backup on the Time Capsule and did restart the backup. No success. Any idea?

    You need to compact the sparsebundle.. you might have deleted material but if it is inside a sparsebundle no space is retrieved.
    See the article by Pondini about deleting files.
    http://pondini.org/TM/12.html
    The pink box on issues with the sparsebundle.

  • How to get free disk space in linux   Using JAVA program ?

    Hi,
    I am new to such adavance topics.. like JNI
    I have to check linux system free disk space , if space is more than 80% it should email to user.
    But how to check that Using Java program ??
    can u give me one sample example ? i will do it if u can do some for me
    thanks
    give me possible solutions...

    Using the Runtime class you can execute any linux command. Check it out.

  • Free disk space in Finder vs Terminal df command

    i am in process of writing a shell script to backup our data.
    before starting the backup process, i am checking how much space is left on the disk:
    terminal> df -k /my_data_directory/
    Filesystem   1024-blocks      Used Available Capacity  Mounted on
    /dev/disk0s2   244781464 173055384  71470080    71%    /
    this states 71.47 GB free space on /
    however, the Finder reports 96.17 GB free space on Macintosh HD (which is also mounted on /).
    where does that difference come from? how can i "calculate" the real free disk space?

    tuscan wrote:
    do i get your answer right:
    this means the Finder is reporting an amount of free space one can never use?
    its number includes those bytes that are unused in used disk blocks?
    e.g. say a block is 8k an my specific disk, and i'm saving a file with 1k of text.
    the Finder would report 7k of these 8k as free space?
    while df takes the whole 8k block as "used"?
    As jsd2 points out, it is more complicated than that. I don't have local snapshots running on my machine but I still have a significant discrepancy, although not as large as yours.
    df is a fast tool and only looks at blocks. The Finder does more work and keeps track of file sizes and, apparently, the potential to delete them. But if you had a one-byte file, those other 4095 bytes wouldn't necessarily be wasted. You could write another 4095 bytes to that file without losing any disk space.

  • Not enough free disk space to export photos

    Apple Mavericks OSX 10.9.4, processor 3.06 GHz, memory 4gb 1067 MHz
    iphoto 8.1.2 (424)
    I am having trouble exporting a sizable photo album slideshow from iPhoto to a flash drive.
    I have spent countless hours captioning some 3000 family photos into about 20 albums. The number of photos in albums ranges from 20 to 295.
    I've been successful in exporting each album slideshow to a 16gb flash drive except for the two largest ones, with 232 (351mb) and 295 photos (555mb). For these two, I get a very quick error message "not enough free disk space. Free up space on the disk and try again." There is plenty of space on my 16gb flash drive, and my desktop has more than 440gb free space out of 495 total.
    I've tried updating iPhoto to v. 9.1 without success. Is this an iPhoto issue? I'd rather not switch to iLife and have to pay for it.
    I am very average at systems stuff, so please make your suggestions in language I can understand! Any ideas are welcome and appreciated!

    How did you arrive at the numbers you got for available space? Some things are not counted in the amount of space depending on what you did (like local Time Machine snapshots, etc) and some things are. I use the "df -kt" (shows everything in KBytes - use "-mt" if you prefer to see the numbers in Mbytes or "-gt" to see in GBytes) command in a Terminal window to list the total size, amount used, amount free for all mounted volumes.
    Do you have "Read&Write" permissions on the disk you're trying to save to? Perhaps there are some "hidden" folders taking up a lot of space?

  • Erase free disk space: 1 time or 7 times?

    hey guys,
    if I erase free disk space (with disk utility), should I do 1 cycle or 7? Why would there be a difference? In the first cycle, all data will be overwritten with zeros, right? (This does suggest a cycle is not 100% accurate, and you therefore need more cycles?)
    And if I do 7 times a single cycle, is that the same as doing one time 7 consecutive cycles?
    Thanks for making this clearer... (obviously this is not very urgent, I'm just wondering)

    And if I do 7 times a single cycle, is that the same as doing one time 7 consecutive cycles?
    No. A single pass just writes zeroes. Do it seven times, and it writes zeros seven times. The multi-pass command uses different bit patterns for each pass. One pass is sufficient, though. A modern drive packs the bits so close together that recovery of any data after a singe overwrite of zeroes is very unlikely. If somebody is that determined to get your data, they will go after you, not the disc. Use the Dictionary widget to look up the second definition of "rendition".

  • Free Disk Space vs Mac Memory Usage

    Hi,
    I'm wondering if you might be able to help me - I'm so confused with this issue.
    I have a MacBook 2008 with an upgraded 320GB HDD, with currently 203GB free disk space.
    My back up disk is 120GB - perfect for a time machine back up of 117 GB of data. However, the TM says theres not enough memory because the full size of the back is 150GB? How can this be?
    For some reason, the free disk space figure is different to the memory usage figures in About My Mac?
    Can anyone explain to me why this is?
    My other half uses this computer and has only pictures and files on it, no music or movies? So how can she have utilised 117GB of data? This was previously a shared Mac, but I've deleted my user acc since upgrading and wanted to make this Mac entirely hers.
    Any help regarding this will be truly appreciated.
    Sincerely,
    Tarmak

    CarbonCopyClone.  It is "donateware" ... pay if you want to.  Others use SuperDuper! (both a free and a paid version).  I prefer CCC, but do not let that stop you from paying for SuperDuper if others convince you as both are very competent.
    It makes a bootable copy of your system partition, and used repeatedly will make "incremental" backups that take far less time than the original backup.  I have a TimeMachine backup (I consider it "secondary") and a CCC backup whic I consider "primary" and will eventually save me when my system partition gets cranky and refuses to boot -- use the option key at startup to choose the external disk to boot from.
    When you boot from the external drive, which will have CCC running in it, you can then "clone back" to the new internal drive.

Maybe you are looking for