If all inodes in a file system are exhausted, the kernel can not create new files even when there is available space on the disk. In this short article, we will show you how to increase the number of inodes in a file system in Linux. When creating a new file system on a partition,...
The Linuxfreecommand displays how much of your computer's memory is in use and how much is still available for programs to use. Its output can be confusing to the uninitiated, but we'll show you how to understand it. The free Command Thefreecommand prints a quick summary of memory usage...
First method: Linux df command One of the easiest ways to check free disk space in Linux ubuntu is the Linux df command, which displays available and accessible disk space. The main syntax of the df command is as follows: df [options] [devices] Substitutions in brackets are optional. To ...
To access data on a disk, the Linux kernel uses the system of layers shown in Figure 4-2. The SCSI subsystem and everything else described in 3.6 In-Depth: SCSI and the Linux Kernel are represented by a single box. (Notice that you can work with the disk through the filesystem as w...
When you create a file or directory, you get the error message "No space left on device", "Cannot create directory", or "Couldn't create temporary archive name."In Linux,
For example, to recover the file systems in vg_root-var_audit, run the following command: fsck /dev/vg_root/var_audit The command output is as follows: fsck from util-linux 2.35.2 e2fsck 1.45.6 (28-Mar-2028) /dev/mapper/vg_root-var_audit contains a file system with errors, check...
Method #1: Use the df Command to Check the Disk Space in Linux Thedfcommand is one of the easiestways to check disk space usageand available block size. Launch the terminal and enter the following command: # df As you can see, thedfcommand, which stands for disk free, displays how muc...
In this chapter, we’ll discuss in detail how to work with disks on a Linux system. You’ll learn how to partition disks, create and maintain the filesystems that go inside disk partitions, and work with swap space. 在第三章中,我们讨论了内核提供的一些顶层磁盘设备。 在本章中,我们将...
In Linux, we want to report disk space, we use the df command.The df (disk free) command is used for displays information on the utilization of the file system, partition by partition (disk partition is also called disk slicing for managing each region separately) on which the invoking use...
Each line corresponds to one filesystem, each of which is broken into six fields. These fields are as follows, in order from left to right: 每一行对应一个文件系统,每个文件系统分为六个字段。 这些字段如下、 按从左到右的顺序排列: o The device or UUID. Most current Linux systems no longer...