# How can I extend a partition capacity?

**URL:** <https://forums.rockylinux.org/t/how-can-i-extend-a-partition-capacity/11475>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8\
**Created:** [October 4, 2023, 12:34pm UTC](https://forums.rockylinux.org/t/how-can-i-extend-a-partition-capacity/11475 "2023-10-04T12:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 4, 2023, 12:46pm UTC](https://forums.rockylinux.org/t/how-can-i-extend-a-partition-capacity/11475/3 "2023-10-04T12:46:46Z")

</div>

First, bitmap screenshots are inconvenient; one can copy-paste text from terminal (and preferably use the code tags – The `</>` button above).

You seem to have _legacy_ boot mode installation (UEFI mode is current hype) and the default LVM2-based volumes.

You can see/show more with commands, like `lsblk`, `pvs`, `vgs`, `lvs`, and

```plaintext
lsblk -o name,type,fstype,size,fsavail,mountpoints

```

An example from latter:

```plaintext
$ lsblk -o name,type,fstype,size,fsavail,mountpoints
NAME TYPE FSTYPE SIZE FSAVAIL MOUNTPOINTS
sda disk 465.8G         
├─sda1 part ext4 1G         
├─sda2 part LVM2_member 138G         
│ ├─centos_x-swap lvm swap 4G         
│ ├─centos_x-opt lvm ext4 10G         
│ ├─centos_x-home lvm ext4 100G 93.2G /local
│ └─centos_x-root lvm ext4 24G         
├─sda3 part ext4 1G 596.6M /boot
├─sda4 part 1K         
└─sda5 part LVM2_member 34G         
  ├─almalinux_x-root lvm ext4 24G 13.7G /
  └─almalinux_x-opt lvm ext4 10G 8G /opt

```

* * *

Yes, there are commands, but the appropriate ones depend on the details; what you have.

---

_[View the full topic](https://forums.rockylinux.org/t/how-can-i-extend-a-partition-capacity/11475)._
