Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Linux » What the Fallocate command does
  • http to https redirection
    URL Rewrite: How to redirect from HTTP to HTTPS Web Server
  • increaseEmailsize
    Email Size Limits: Boost for High Profile Users in Exchange 2010 Network | Monitoring
  • Banner
    How to determine Tombstone Lifetime in Active Directory Windows Server
  • AWS Principals
    MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
  • Plex DS923+ NAS
    Step-by-step guide on how to set up the Synology DS923+ NAS Reviews
  • dism failed errors windows thumbnail 1
    Error 0x800f0830: Discard the modified Image and start again, no operation was performed Windows Server
  • screenshot 2020 02 07 at 20.59.01
    How to use the utility “Whoami” in windows Windows
  • ansible vault
    Fix AttributeError ‘ShellModule’ Object Has No Attribute ‘ECHO’ Configuration Management Tool

What the Fallocate command does

Posted on 10/09/202110/04/2023 Christian By Christian No Comments on What the Fallocate command does
fallocate

This is one of the least used and known commands in Linux and can be very useful for Administrators when building or configuring monitoring of disk space and directory usage. The fallocate command is used for the pre-allocation of blocks to a File. A team of Administrators are on a task to monitor specific directories in multiple servers. How do we test that? Fallocate command helps do this by allocating blocks requiring no I/O to the data blocks. In this article, you will learn “What the Fallocate command does” Please refer to these related guides: How to fix CPU at 100% when nothing is running problem on Windows, what are the advantage of using a 3rd party software for Backup (N2WS by Veeam) over AMI,
how to monitor Windows hosts via Nagios, how to Hide or Remove the Search Button from Windows 10 Taskbar, and how to prevent your computers from sending Diagnostics & feedback off via Windows Settings and Group Policy.

Linux Fallocate Command

NOTE: This command is supported on BTRFS, EXT4, OCTFS2, and XFS filesystems

fallocate --help

Shows the basic usage and command syntax.

image_2021_09_10T04_02_50_422Z

To use this command lets check our current disk usage

df -hT
image_2021_09_10T03_53_25_162Z

Test by creating a 20GB file

fallocate -l 20G testfile1

view the file size and disk usage

image_2021_09_10T04_02_21_278Z

The Fallocate command is similar to the dd command, however, dd exists mostly for older versions of Linux. Top 10 communication software for Mac 2021.

I hope you found this blog post helpful on what the Fallocate command does? Please let me know in the comment section if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux

Post navigation

Previous Post: How to create a static pod in Kubernetes
Next Post: Change expired RDP Password: How to change a password on a Remote Desktop session

Related Posts

  • Featured image WSL2 installation
    How to install WSL2 on Windows Server Linux
  • mailx
    [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
  • sshfs
    Mounting remote directory using sshfs Linux
  • whois4578uh
    How to get Domain information using WHOIS Command in Linux Linux
  • ntp server testen
    Enable or disable Linux System’s Clock Sync with NTP Server Linux
  • elasticsearch error feature
    Elasticsearch: How to stop systemd service start operation from timing out Linux

More Related Articles

Featured image WSL2 installation How to install WSL2 on Windows Server Linux
mailx [MAILX ERROR: STATUS=BOUNCED] Fixing Mailx error when sending emails from Command line Linux
sshfs Mounting remote directory using sshfs Linux
whois4578uh How to get Domain information using WHOIS Command in Linux Linux
ntp server testen Enable or disable Linux System’s Clock Sync with NTP Server Linux
elasticsearch error feature Elasticsearch: How to stop systemd service start operation from timing out Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • http to https redirection
    URL Rewrite: How to redirect from HTTP to HTTPS Web Server
  • increaseEmailsize
    Email Size Limits: Boost for High Profile Users in Exchange 2010 Network | Monitoring
  • Banner
    How to determine Tombstone Lifetime in Active Directory Windows Server
  • AWS Principals
    MFA on Root Account: Create a User on AWS and Register MFA AWS/Azure/OpenShift
  • Plex DS923+ NAS
    Step-by-step guide on how to set up the Synology DS923+ NAS Reviews
  • dism failed errors windows thumbnail 1
    Error 0x800f0830: Discard the modified Image and start again, no operation was performed Windows Server
  • screenshot 2020 02 07 at 20.59.01
    How to use the utility “Whoami” in windows Windows
  • ansible vault
    Fix AttributeError ‘ShellModule’ Object Has No Attribute ‘ECHO’ Configuration Management Tool

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,825 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.