I have an old optiplex computer I use to host my smart home devices and back up files to. I run Ubuntu Server 22.04.3 LTS, and when partitioning the drive in set up I think something went wrong.
Running lsblk will show the total expected size of the hard dive:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSloop0 7:0 0 95.7M 1 loop /snap/kata-containers/2446loop1 7:1 0 63.5M 1 loop /snap/core20/2015loop2 7:2 0 40.4M 1 loop /snap/snapd/20671loop3 7:3 0 63.9M 1 loop /snap/core20/2105loop4 7:4 0 298.7M 1 loop /snap/nextcloud/39212loop5 7:5 0 111.9M 1 loop /snap/lxd/24322loop6 7:6 0 55.7M 1 loop /snap/core18/2796loop7 7:7 0 296.1M 1 loop /snap/nextcloud/38457loop9 7:9 0 40.9M 1 loop /snap/snapd/20290loop10 7:10 0 55.7M 1 loop /snap/core18/2812sda 8:0 0 465.8G 0 disk├─sda1 8:1 0 1M 0 part├─sda2 8:2 0 2G 0 part /boot└─sda3 8:3 0 417.1G 0 part└─ubuntu--vg-ubuntu--lv 253:0 0 417.1G 0 lvm /sr0 11:0 1 4G 0 rom
But when I run df -h it shows this amount of space available:
Filesystem Size Used Avail Use% Mounted ontmpfs 380M 2.8M 377M 1% /run/dev/mapper/ubuntu--vg-ubuntu--lv 98G 31G 62G 34% /tmpfs 1.9G 0 1.9G 0% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/lock/dev/sda2 2.0G 251M 1.6G 14% /boottmpfs 380M 4.0K 380M 1% /run/user/1000
In using the server, all signs point to my server only having access to the 98 gigs. I would like to regain the additional space for server use without having to reinstall from scratch as all of my smart home devices would be need to be reconfigured. I have root access plus physical access to the computer if any additional information is needed.