I recently installed debian 12 using debian-12.2.0-arm64-netinst.iso. It is the only OS installed and I used the whole 500GB disk.

I selected something like guided partitioning with separate /home/ using LVM and encryption. Now that I am using my system a bit, I realize that I don’t think it ever asked me how big to make the / partition and it is very small. Only 27GB.

Will this be a problem?

Or, is the LVM going to allow the partition to be resized or otherwise take up as much of the space as it requires?

# lsblk
NAME                    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                       8:0    0 476.9G  0 disk  
├─sda1                    8:1    0   512M  0 part  /boot/efi
├─sda2                    8:2    0   488M  0 part  /boot
└─sda3                    8:3    0   476G  0 part  
  └─sda3_crypt          253:0    0 475.9G  0 crypt 
    ├─mycomputer--vg-root     253:1    0  27.9G  0 lvm   /
    ├─mycomputer--vg-swap_1   253:2    0   976M  0 lvm   [SWAP]
    └─mycomputer--vg-home     253:3    0   447G  0 lvm   /home

I tried booting into a live usb to resize the partition using gparted but I couldn’t seem to do so.

If I need to reinstall and change something I’d rather do it now than later.

  • stuck_in_the_shell@programming.dev
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    1 year ago

    It’s fine. “Only 27GB” is hardly too small for the system, even a bloated system wouldn’t take that much space.

    But if you must have a larger partition I think a reinstall would be easier, resize the partition is possible but because of the encryption not a straight forward thing. I wouldn’t bother really.

    • imaradio@lemmy.caOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      If LVM isn’t somehow mitigating the issue I will do a reinstall.

      I have run out of space on / before and it is a huge pain in the ass. I do not need much room for /home on this system so I would prefer to be cautious and avoid problems down the road.

      Hopefully I will be able to figure out how to specify this… maybe a different installer image.

      • flux@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        It’s two commands to grow the / fs on the fly:

        lvextend -L+10G /dev/mycomputer-vg/root
        resize2fs /dev/mycomputer-vg/root
        

        So don’t worry about it. LVM is great :).