Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • 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

  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • screenshot 2020 05 05 at 22.42.35
    How to run Windows applications on Linux via WineHQ Linux
  • wine 2 1
    How to install and uninstall WineHQ on Linux Linux
  • FLUTTER Feature
    How to Set Up Flutter with Android Studio on Linux Linux
  • nodejs install on ubuntu
    How to install Node.js on Ubuntu Linux
  • MV command in Linux
    Rename or Move Files or Directories in Linux with Bash Terminal Linux

More Related Articles

fba7f screenshot 2019 04 15 at 18.33.30 File System Overview: How to decide on the right File System to use for your USB Linux
screenshot 2020 05 05 at 22.42.35 How to run Windows applications on Linux via WineHQ Linux
wine 2 1 How to install and uninstall WineHQ on Linux Linux
FLUTTER Feature How to Set Up Flutter with Android Studio on Linux Linux
nodejs install on ubuntu How to install Node.js on Ubuntu Linux
MV command in Linux Rename or Move Files or Directories in Linux with Bash Terminal 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

  • Enable or Disable Mac asking for Password
    Enable or Disable Mac asking for Password after Sleep or Screen Saver Mac
  • image 78
    How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows
  • Docker Volumes
    Create and Mount Volume to Docker Container Containers
  • Git not Recognized Image banner
    Fix Git is not recognised as an internal or external command Version Control System
  • KIOSK AssignedAccess
    Windows Single or Multi App Kiosks Windows
  • hero activedirectory 2
    Concept of Active Directory Computer Account Windows Server
  • Raise or Downgrade AD Domain and Forest Functional Level
    Raise or Downgrade AD Domain and Forest Functional Level Windows Server
  • azure active director
    AD Connect Error: The Synchronisation service scheduler is currently synchronization and the configuration change cannot be made at this time AWS/Azure/OpenShift

Subscribe to Blog via Email

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

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