I'm very new to Ubuntu, but willing to learn. I have a newly created Ubuntu 22.04.1 LTS server VM with 2 disks (25G and 2.2T). The larger drive is an XFS drive and is going to be used for backups. When originally created it was a 500G drive, but we now want to expand that to 2.2T. I've done the easy part of adding the space within VMware, but now how do I get the OS to actually know there is 2.2T?
I've Googled like crazy and unfortunately it never seems as simple as with Windows server (a few clicks and you're done), so I'm hoping someone can point me the right direction. I have gathered the following I believe most people ask for, but if more is needed then I will collect that and post:
it_operations@dcbackup6:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 47M 1 loop /snap/snapd/16292
loop1 7:1 0 79.9M 1 loop /snap/lxd/22923
loop2 7:2 0 103M 1 loop /snap/lxd/23541
loop3 7:3 0 63.2M 1 loop /snap/core20/1623
loop4 7:4 0 62M 1 loop /snap/core20/1587
loop5 7:5 0 48M 1 loop /snap/snapd/17029
sda 8:0 0 25G 0 disk
├─sda1 8:1 0 1M 0 part
└─sda2 8:2 0 25G 0 part /
sdb 8:16 0 2.2T 0 disk /mnt/XFSData
sr0 11:0 1 1024M 0 rom
it_operations@dcbackup6:~$ df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 795M 1.2M 794M 1% /run
/dev/sda2 25G 7.4G 16G 32% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sdb 500G 152G 348G 31% /mnt/XFSData
tmpfs 795M 4.0K 795M 1% /run/user/1000
Can someone give me the true steps that I need to do? I will make sure to take notes since we might expand the drive to over 40T after we finish our testing.