what is the fastest way to create a big file to fill up a filesystem.. need to do this for a test in the lab.. was thinkin of loopin somethin and >> to file.. anyway to do this faster? thanks
thnks.. i created the file but for some reason i cant push it anymore even tho it says i still have about 92mb left on device and 99%.. i need to force to be at 100% full and 0 bytes left on device.. i do get warnings on console saying that filesystem is full even tho is at 99%.. any ideas // thanks
How big of a file are you trying to create? What OS are you on? Some have limits on file size.
What's the exact command you're using?
Do you have any quotas turned on?
Some filesystem types have a "minfree" that makes sure it can never fill up. Normal users can't create files when that limit is hit. The root user can still create files. You can use [tt]tunefs[/tt] to change this limit. "[tt]man tunefs[/tt]" for more info.
As you start getting close to the limit, maybe start creating smaller files. Maybe that last one you try is too big to fit and when it fails it leaves your 1% free.
solaris 10
mkfile 8g bigfile
no quotas
performing this as root
i cannot create smaller files to fill it.. even tho is at 99% it wont let me create more files using mkfile.. cp .. etc.. but i can touch files ie.. echo data > file
that works.. however i did a infinite while loop to fill in a file but it just hangs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.