FG
💻 Software

How to fill a hard drive in Linux

Fresh5 days ago
Mar 15, 202650375 views
Confidence Score0%
0%

Problem

I'm doing some testing of a piece of code and I want to fill a hard drive with data. I found that can make huge files in an instant, but disagrees. Here's what I tried: shows a 10G file. However, shows that the partition did not shrink. So what do I need to do to make recognize the data is now take…

Error Output

dd

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to fill a hard drive in Linux

Low Risk

As another option to this, you can use the yes along with a single string and its about 10 times faster than running dd if=/dev/urandom of=largefile. Like this

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment