Tools and methods for populating disk space

Source: Internet
Author: User

Usually when testing (such as test installation, save files to local, etc.), you may need to construct a situation where the local hard disk space is insufficient, here is a method.

  First, fsutil command1. Run cmd as an Administrator 2. Enter the corresponding drive letter 3. Command: fsutil file createnew hello.txt 100000, where "hello.txt" created file size 100000. Generally created file size is the drive space size of the right-to-left number 8th bit small 1 can be the method has a small disadvantage, is to calculate the size of the generated file yourself, a little bit of trouble. Second, FIllDisk.exeHere is a tool: FillDisk.exe official introduction: Filldisk is a simple utility, that fills up a disk with data. It starts WITH1GB files, then drops to 512MB, 256MB and so on until it fills up completely the disk with files. (Filldisk Tools Of workThe principle is that Mr. 1GB file, when the disk space is less than 1GB, the generation of 512MB, then not enough to generate 256MB, and so on, gradually generate small files, until the disk space is fully filled. The use of the method is very simple, open the FillDisk.exe, fill in the path of the file (path to already exist, otherwise please manually created locally, otherwise will error), click the Go button will be OK. Third, Fsutil+filldiskCombine the fsutil command with the Filldisk tool to achieve an ideal effect, first generate a large file with the fsutil command, and then fill the remaining space with the Filldisk tool, so that a free space is 0 bytes of local disk, you can also delete Filldisk the generated files, making available space for other data situations.

Tools and methods for populating disk space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.