Score:0

Ubuntu Server Install Did Not Use Entire Disk

jp flag

Using Ubuntu Focal ubuntu-20.04.2-live-server-amd64.iso, I created a kvm image that was 250G. But the ubuntu-20.04.2-live-server-amd64.iso installer only used 123G of it for the root. Why is this when I selected for it to use the entire disk? Is my only option to grow the lvm if possible?

% df -h
Filesystem                         Size  Used Avail Use% Mounted on
udev                               1.2G     0  1.2G   0% /dev
tmpfs                              243M 1016K  242M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv  123G  9.2G  107G   8% /
tmpfs                              1.2G     0  1.2G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                              1.2G     0  1.2G   0% /sys/fs/cgroup
/dev/vda2                          976M  106M  804M  12% /boot
/dev/loop1                          56M   56M     0 100% /snap/core18/1944
/dev/loop0                          56M   56M     0 100% /snap/core18/2128
/dev/loop3                          32M   32M     0 100% /snap/snapd/10707
/dev/loop2                          71M   71M     0 100% /snap/lxd/21029
/dev/loop4                          33M   33M     0 100% /snap/snapd/12704
/dev/loop5                          70M   70M     0 100% /snap/lxd/19188
tmpfs                              243M     0  243M   0% /run/user/1000
ru flag
Yes, it's always possible to grow the LVM. The Live installer by default defaults to 50% of the drive and then lets the admin modify that value to fill the disk BEFORE writing to disk - in case the admin is going to make multiple LVs within the disk other than just the root disk.
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.