Install not using whole disk
Jon LaBadie
ubu at labadie.us
Fri Jun 3 05:45:22 UTC 2022
On Thu, Jun 02, 2022 at 04:15:28PM -0700, David wrote:
>Folks
>
>I am trying to install the "live server" of 22.04 onto a 200 GB
>drive. I have selected the following options
> Use Entire Disk
> Set up this disk as an LVM grup
>and used pretty much the defaults from then on. After the install, I
>find most of the 200 GB drive unused. The 'lsblk' command reveals
>three partitions:
> sda1 size 1m
> sda2 size 2G mounted on /boot
> sda3 size 198g
> ubuntu--vg-ubuntu--lv size 99G (lvm) mounted on /
>
>If I read this correctly, I have a partition of size 198G of which
>only 1/2 (99G) is used by the Logical Volume. Indeed, if I start
>moving data onto the drive, it fills up after the 99G limit. What
>happened to the "Use Entire Disk" option? Do I need to do something
>to start using this extra space?
>
Read up on LVM, you do not understand it.
I'm certain the entire disk has been "used". The 198GB of /dev/sda3
have been allocated to your vg (volume group). Half of that was
used to create an lv (logical volume) which was used for the root
file system (much too much in my view).
The remaining 99GB of the vg are available for you to tell LVM what
to do with them. You could create 1 or more additional lv's, say for
/home or /data. You could resize the existing lv (up or down) making
sure to appropriatly expand or shrink the root file system too.
--
Jon H. LaBadie ubu at labadie.us
More information about the ubuntu-users
mailing list