Tweak default disk sizes

root=32G, +16G
ceph=8G,  -8G
This commit is contained in:
Joshua Boniface 2023-09-01 15:41:54 -04:00
parent 9204baa72d
commit 4531600a5a
1 changed files with 4 additions and 4 deletions

View File

@ -222,15 +222,15 @@ echo -n "Creating LVM VG named 'vgx'... "
yes | vgcreate vgx ${target_disk}3 >&2 yes | vgcreate vgx ${target_disk}3 >&2
echo "done." echo "done."
echo -n "Creating root logical volume (16GB)... " echo -n "Creating root logical volume (32GB)... "
lvcreate -L 16G -n root vgx >&2 lvcreate -L 32G -n root vgx >&2
echo "done." echo "done."
echo -n "Creating filesystem on root logical volume (ext4)... " echo -n "Creating filesystem on root logical volume (ext4)... "
yes | mkfs.ext4 /dev/vgx/root >&2 yes | mkfs.ext4 /dev/vgx/root >&2
echo "done." echo "done."
echo -n "Creating ceph logical volume (16GB, ext4)... " echo -n "Creating ceph logical volume (8GB, ext4)... "
yes | lvcreate -L 16G -n ceph vgx >&2 yes | lvcreate -L 8G -n ceph vgx >&2
echo "done." echo "done."
echo -n "Creating filesystem on ceph logical volume (ext4)... " echo -n "Creating filesystem on ceph logical volume (ext4)... "
mkfs.ext4 /dev/vgx/ceph >&2 mkfs.ext4 /dev/vgx/ceph >&2