PNET install by default only uses 196 GB despite installation on 2TB

Category >

Run following

echo "=== Filesystems ==="
df -hT

echo "=== Disks and partitions ==="
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT,MODEL

echo "=== Partition tables ==="
fdisk -l | grep -E '^Disk /dev/'

echo "=== LVM ==="
pvs
vgs
lvs

echo "=== Linux software RAID ==="
cat /proc/mdstat

1.8 TB disk is already partitioned and added to LVM.

The issue is simply:

  • Volume group size: 1.82 TB
  • Root logical volume: 200 GB
  • Unallocated LVM space: 1.62 TB

Expand the root logical volume using all available free space:

It should be safe to run following

lvextend -r -l +100%FREE "$(findmnt -no SOURCE /)"

The -r option expands both the logical volume and the ext4 filesystem automatically while the system is running.


Leave a Reply

Your email address will not be published. Required fields are marked *