Logical Volume Management(LVM) is a powerful tool that greatly simplifies disk space management. WithLVM, the task of allocating additional space to a file system becomes effortless. Whenever a file system requires more space, it can easily draw from the available free space in its corresponding ...
How to Extend/Reduce LVM’s (Logical Volume Management) in Linux How to Take ‘Snapshot of Logical Volume and Restore’ in LVM 概述 在Linux中扩展/缩减LVM 前面我们已经了解了怎样使用LVM创建弹性的磁盘存储。这里,我们将了解怎样来扩展卷组,扩展和缩减逻辑卷。在这里,我们可以缩减或者扩展逻辑卷管理(LVM...
Compression allows you to reduce the size of a file. By decreasing use of the inodes table, it means more files and folders can be stored, maximizing the spa...
Let’s start by defining abad sector/bad block, it is a section on a disk drive or flash memory that can no longer be read from or written to, which usually happens due topermanent physical damage on the disksurface or failing flash memory transistors. As more bad sectors build up, the...
The init program is a user-space program like any other program on the Linux system, and you’ll find it in /sbin along with many of the other system binaries. Its main purpose is to start and stop the essential service processes on the system, but newer versions have more responsibilitie...
However, i was not able doreduce the maximum available disk space, meaning what wsl is allowed to use. Example: The disk is shown with 251G which i want to reduce to say 100G. I'm not sure if justsudo resize2fs /dev/sdb <sizeInMegabytes>Mwould be enough?
However, if you want to check disk usage for directories and files, you are going to use the “du” command. Check Disk Space on Linux using du The du command stands for “disk usage” and it is used in order to have disk usage information related to directories and files on your sys...
Now that you have some directories, create some files. There are multiple ways to create files. To create files using shell redirection, refer toHow to manipulate files with shell redirection and pipelines in Linux. You can also create empty files with thetouchcommand. Here are its options and...
Low /boot space in Linux is typically mostly used by having multiple kernel versions installed concurrently, we can uninstall older kernel versions that are no longer required to clear up and reduce the disk space. The yum configuration can also be modified so that only a specified number of ...
this can be done on the fly at VMware level. VM assigned disk can be increased in size without any downtime. But, you need to take care of increasing space at OS level within VM. In such a scenario we often think, how to increase disk size in Linux when VMware disk size is increas...