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

  • Convert PEM to PPK 1
    Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
  • ClamAV
    How to install and manage ClamAV and ClamTK on Ubuntu Linux Anti-Virus Solution
  • Wiki in Linux
    How to Use Wiki from Linux Terminal Linux
  • openstack ola
    Openstack Deployment with Devstack Linux
  • featurekube
    How to Install and Use Minikube on a Linux System Containers
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift

More Related Articles

Convert PEM to PPK 1 Convert a PEM Key to a PPK Key on a Linux and Windows AWS/Azure/OpenShift
ClamAV How to install and manage ClamAV and ClamTK on Ubuntu Linux Anti-Virus Solution
Wiki in Linux How to Use Wiki from Linux Terminal Linux
openstack ola Openstack Deployment with Devstack Linux
featurekube How to Install and Use Minikube on a Linux System Containers
Webp.net resizeimage 1 Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift

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

  • screenshot 2020 02 08 at 20.02.50
    Windows 10 Administrative Shortcut command key Windows Server
  • screenshot 2020 03 13 at 21.22.29
    How to determine Cygwin version Windows Server
  • newsroom hero image password security
    Unable to update the password value provided for the new password and Password Policy Windows Server
  • How to Make More Space Available on the Windows 11 Taskbar
    How to Make More Space Available on the Windows 11 Taskbar Windows
  • ESXi
    How to install ESXi on VirtualBox Virtualization
  • gfhj
    Debugging: How to debug a PowerShell script Windows
  • Screenshot 2020 06 22 at 23.27.40 1
    Install MSSQL 2019 Developer Edition and SSMS on Windows Oracle/MSSQL/MySQL
  • Retieve BitLocker Recovery Keys from microsoft sql
    Get MBAM BitLocker Recovery Keys from Microsoft SQL Server Windows

Subscribe to Blog via Email

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

Join 1,823 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.