Score:0

Expanded TrueNas Scale Ubuntu VM partition not showing up in VM

ru flag

I have a TrueNas Scale Ubuntu Server 20.04 VM that needed more space. So I increase the zvol in TrueNas and then booted the VM into the GParted Live ISO and resized the partition to use all the free space. That partition is now 30G in size:

fdisk -l
Disk /dev/vda: 30 GiB, 32212254720 bytes, 62914560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F8A5FA44-9747-43DA-854E-64D52B0EC166

Device       Start      End  Sectors  Size Type
/dev/vda1     2048  1103871  1101824  538M EFI System
/dev/vda2  1103872  4773887  3670016  1.8G Linux filesystem
/dev/vda3  4773888 62912511 58138624 27.7G Linux filesystem

But the filesystem:

df -h
Filesystem                             Size  Used Avail Use% Mounted on
udev                                   2.9G     0  2.9G   0% /dev
tmpfs                                  593M  1.2M  592M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv      7.6G  4.4G  2.8G  62% /
tmpfs                                  2.9G  4.0K  2.9G   1% /dev/shm
tmpfs                                  5.0M     0  5.0M   0% /run/lock
tmpfs                                  2.9G     0  2.9G   0% /sys/fs/cgroup
/dev/vda2                              1.7G  107M  1.5G   7% /boot
/dev/vda1                              537M  6.1M  531M   2% /boot/efi
/dev/loop0                              56M   56M     0 100% /snap/core18/2128
/dev/loop3                              71M   71M     0 100% /snap/lxd/21029
/dev/loop1                              56M   56M     0 100% /snap/core18/2667
/dev/loop4                              50M   50M     0 100% /snap/snapd/17950
/dev/loop2                              64M   64M     0 100% /snap/core20/1778
/dev/loop5                              92M   92M     0 100% /snap/lxd/24061
tmpfs                                  593M     0  593M   0% /run/user/1000

So how do I make this /dev/mapper volume use the 30G ?

I see this in /etc/fstab but am lost on what to do next:

/dev/disk/by-id/dm-uuid-LVM-Z0YxbpdOkZl1MWTg7s615CRW5Ql0nCU6tiMjpzERyP6t32rBXBX2C4ohLLB3p2Qg / ext4 defaults 0 1
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.