By default, Red Hat Enterprise Linux 7 uses all available space during installation. If this is the case with your system, then you must first add a new physical volume to the volume group used by the swap space.
After adding additional storage to the swap space's volume group, it is now possible to extend it. Procedure To test if the swap logical volume was successfully extended and activated, inspect active swap space:. To test if the swap logical volume was successfully created and activated, inspect active swap space:. Creating a Swap File.
Add a Swap File Determine the size of the new swap file in megabytes and multiply by to determine the number of blocks. For example, the block size of a 64 MB swap file is If you feel that some directories are not important, you can simply delete a few sub-directories or delete the entire folder to free up some space.
To find the largest files in a particular location, just include the path beside the find command:. Finding the biggest files and folders is no big deal. Even a novice administrator can easily find them. If you find this tutorial useful, please share it on your social networks and support TecMint. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation.
We are thankful for your never ending support. The Flags column lists the flags set for the partition. Available flags are boot, root, swap, hidden, raid, lvm, or lba. Doing so allows you to view or configure the partition table of a device. Creating a Partition. Do not attempt to create a partition on a device that is in use.
Before creating a partition, boot into rescue mode or unmount any partitions on the device and turn off any swap space on the device. If there is not enough free space, you can resize an existing partition. Refer to Section 8. Making the Partition. From the partition table, determine the start and end points of the new partition and what partition type it should be. You can only have four primary partitions with no extended partition on a device. If you need more than four partitions, you can have three primary partitions, one extended partition, and multiple logical partitions within the extended.
For example, to create a primary partition with an ext3 file system from megabytes until megabytes on a hard drive type the following command:. If you use the mkpartfs command instead, the file system is created after the partition is created. However, parted does not support creating an ext3 file system.
Thus, if you wish to create an ext3 file system, use mkpart and create the file system with the mkfs command as described later. The changes start taking place as soon as you press Enter , so review the command before executing to it. After creating the partition, use the print command to confirm that it is in the partition table with the correct partition type, file system type, and size.
Also remember the minor number of the new partition so that you can label it. You should also view the output of. Just plain data backed by real customer reviews, both positive and negative.
We've been collecting them since Nevertheless, some content may include ads and sponsored links. Yeah, passion alone does not pay the rent. This helps us pay for the servers and parsers. Thank you for understanding. One of the largest US-based web hosting providers powering millions of websites worldwide.
One of the oldest web hosts in the United States with great scalability options. How to copy or Move the files and folder based on date modified on linux? Follow this steps : 1.
Check the files modified date In this post, I will explain to you how to check concurrent users on a linux server.
0コメント