Git Product home page Git Product logo

Comments (5)

khuedoan avatar khuedoan commented on May 20, 2024

Ohhh I didn't notice that, thank you!

Fixed in 0171288, it will not create a /home partition anymore (we don't store anything in there anyway), but you will need to replace the nodes one by one (just added the document in 056e906).

Before:

NAME               MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                  8:0    0 119.2G  0 disk
├─sda1               8:1    0   600M  0 part /boot/efi
├─sda2               8:2    0     1G  0 part /boot
└─sda3               8:3    0 117.7G  0 part
  ├─rl_metal0-root 253:0    0    70G  0 lvm  /
  ├─rl_metal0-swap 253:1    0   7.9G  0 lvm  [SWAP]
  └─rl_metal0-home 253:2    0  39.8G  0 lvm  /home

After:

NAME               MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                  8:0    0 119.2G  0 disk
├─sda1               8:1    0   600M  0 part /boot/efi
├─sda2               8:2    0     1G  0 part /boot
└─sda3               8:3    0 117.7G  0 part
  ├─rl_metal3-root 253:0    0    70G  0 lvm  /
  └─rl_metal3-swap 253:1    0   7.9G  0 lvm  [SWAP]

from homelab.

khuedoan avatar khuedoan commented on May 20, 2024

Hmmm just realized the root partition is still 70GB even without the /home partition, I'll need to check that.

from homelab.

khuedoan avatar khuedoan commented on May 20, 2024

We'll need something more advance like this https://dark.ca/2009/08/03/complex-partitioning-in-kickstart/

However I'm thinking of switching to Rook Ceph for better performance and use a separate partition for data.

from homelab.

dexter136 avatar dexter136 commented on May 20, 2024

Without the /home partition it is much easier to grow root:

lvextend -l +100%FREE /dev/<vg name>/root
xfs_growfs /dev/mapper/<vg name>-root

That feels like something that can be automated.

from homelab.

khuedoan avatar khuedoan commented on May 20, 2024

Fully fixed in bce3291:

  • Remove LVM
  • Create boot (0.5GiB) and root (remaining) partitions manually instead of using automatic partitioning
root@all (4)[f:5]$ lsblk
metal0 | CHANGED | rc=0 >>
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 118.8G  0 part /
metal1 | CHANGED | rc=0 >>
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 118.8G  0 part /
metal2 | CHANGED | rc=0 >>
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 118.8G  0 part /
metal3 | CHANGED | rc=0 >>
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 119.2G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 118.8G  0 part /

image

This is subject to change since I may switch to Rook Ceph.

from homelab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.