Can someone help me out with this. My disk is 500G and I want to use the rest of the unused space on nvme0n1p2. I have been trying all kinds of commands but I’m just not getting anywhere.
Here is the lsblk output
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 500G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
└─nvme0n1p2 259:2 0 9G 0 part
├─rhel-server-root 253:0 0 8G 0 lvm /
└─rhel-server-swap 253:1 0 1G 0 lvm [SWAP]