Skip to main content

Add additional space to ext4 filesystem in RHEL

 To add additional space to an ext4 filesystem on a Red Hat Enterprise Linux (RHEL) system, you can use the following steps:

  1. Use the command df -h to check the current usage and available space on the filesystem.
  2. Use the command fdisk -l to check the available disk space on the system.
  3. If there is free space on the disk, you can use the command fdisk /dev/sda (replacing /dev/sda with the appropriate device name) to create a new partition with the free space.
  4. Use the command mkfs.ext4 /dev/sdaX (replacing /dev/sdaX with the appropriate device name) to create a new ext4 filesystem on the new partition.
  5. Use the command mount /dev/sdaX /mnt (replacing /dev/sdaX and /mnt with the appropriate device name and mount point) to mount the new filesystem.
  6. Use the command df -h again to check the new available space on the filesystem.
  7. If you want to mount this filesystem automatically during boot, you should add an entry in the /etc/fstab file.

Please, be aware that this is a dangerous operation, if any mistake happens, it can cause data lost. It's strongly recommended to backup your data before doing this operation.




Comments

Popular posts from this blog

Upskilling is Survival

Upskilling is no longer a “nice to have” for leaders. It's " SURVIVAL " The unpleasant reality? The moment they begin managing, most leaders stop learning. While the world moves more quickly than their perspective, they rely on prior experiences. Technology evolves. Teams evolve. Expectations change throughout time. You become the bottleneck if you don't. Today, being a leader isn't about knowing everything. It's about remaining current enough to pose pertinent queries. The most effective leaders I've encountered: Acquire knowledge more quickly than their teams Continue to be involved in change Invest in your abilities before they become essential. If you’re not actively upskilling, you’re not leading you’re just holding position. And in today’s market, that’s a risk you can’t afford.

Kerberos Authentication Protocol

  Kerberos Authentication Protocols is a network authentication protocol that provides secure communication over an insecure network by using secret-key cryptography. It was originally developed at MIT and is now widely used in many different organizations, including Microsoft Windows. Kerberos authentication works by using a third-party authentication server to verify the identities of users and services. When a user requests access to a resource, such as a file server, the user's computer sends a request to the Kerberos authentication server. The authentication server verifies the user's identity and issues a ticket-granting ticket (TGT) that the user can use to request access to other resources on the network. The user then presents the TGT to a ticket-granting server (TGS), which issues a service ticket for the requested resource. The user presents this service ticket to the resource server, which grants access if the ticket is valid. Kerberos authentication is widely used ...

Audiobooks and its Benefits

 What is Audiobook? An audiobook is a recorded reading of a book or other written work, typically on a CD or as a digital download. Audiobooks can be listened to on a variety of devices, such as smartphones, tablets, and laptops, and are often narrated by professional voice actors. They can be a convenient and accessible way to enjoy literature, and have been shown to improve vocabulary and comprehension, especially in children. Audiobooks can be a great option for people who have difficulty reading traditional print books, or who want to make the most of their time by multitasking while listening to a book. There are several benefits to listening to an audiobook summary:     Time-saving: Audiobook summaries are typically shorter than the original audiobook, allowing you to get a general understanding of the book's content in less time.     Convenience: Many audiobook summary services offer summaries in a variety of formats, such as audio or written, m...