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

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

  • ClamAV
    How to install and manage ClamAV and ClamTK on Ubuntu Linux Anti-Virus Solution
  • ysvxdf
    Install and configure BigBlueButton on Ubuntu Linux Linux
  • Wiki in Linux
    How to Use Wiki from Linux Terminal Linux
  • images copy
    How to clean packages lying around in Linux Linux
  • yarnfinalfeature
    How to Install and Uninstall Yarn on Ubuntu Linux Linux
  • Gfeature
    How to install Googler on a Linux System Linux

More Related Articles

ClamAV How to install and manage ClamAV and ClamTK on Ubuntu Linux Anti-Virus Solution
ysvxdf Install and configure BigBlueButton on Ubuntu Linux Linux
Wiki in Linux How to Use Wiki from Linux Terminal Linux
images copy How to clean packages lying around in Linux Linux
yarnfinalfeature How to Install and Uninstall Yarn on Ubuntu Linux Linux
Gfeature How to install Googler on a Linux System 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

Veeam Vanguard

  • Hyper V Virtual Switch
    How to Create Hyper-V Virtual Switch Network | Monitoring
  • Norton backup
    How to set up Norton Cloud Backup on Windows Anti-Virus Solution
  • AzureCloudShell
    Provisioning Azure Resources using Azure Az PowerShell Cmdlet from Cloud Shell AWS/Azure/OpenShift
  • images copy
    How to disable automatic screen lock in Ubuntu Linux Linux
  • mendeley
    Run Mendeley Reference Manager and Cite for Word on Windows JIRA|Confluence|Apps
  • Implement Azure Bicep
    How to Deploy Azure Resources Using Azure Bicep Automation
  • APIFEATURE
    Benefits of Azure API Management and how to create an API instance AWS/Azure/OpenShift
  • Azure Local New Policy fix
    How to Resolve New WDAC Policy Issues in Azure Stack Virtualization

Subscribe to Blog via Email

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

Join 1,813 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

Active Directory 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.