Hi everyone,
Merry Xmas! I hope someone can help with the following basic problem:
I have just created my first cluster by adding a single new node. I would now like to set up the internal SSD in order to transfer some VMs over to it. However, it's not working like the master node.
I created the thin pool
However, in the web ui it's isn't found (
Is this correct? Ideally I'd like to just use the single LVM volume group I already have. However, if it really isn't possible then I suppose I could just resize down the current volume group to just contain the root volume and create a separate volume group for the VM storage. That would just be inconvenient to set up since I'd need to reboot the node in system rescue.
Hope someone can advise! Many thanks
Merry Xmas! I hope someone can help with the following basic problem:
I have just created my first cluster by adding a single new node. I would now like to set up the internal SSD in order to transfer some VMs over to it. However, it's not working like the master node.
fdisk -l
:
Code:
Disk /dev/nvme0n1: 113 GiB, 121332826112 bytes, 29622272 sectors
Disk model: APPLE SSD AP0128M
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: BD23D276-B030-4BAB-9EDA-47183A884C5E
Device Start End Sectors Size Type
/dev/nvme0n1p1 256 131327 131072 512M EFI System
/dev/nvme0n1p2 131328 256255 124928 488M Linux filesystem
/dev/nvme0n1p3 256256 29622015 29365760 112G Linux filesystem
Disk /dev/mapper/nvme0n1p3_crypt: 112.01 GiB, 120265375744 bytes, 29361664 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/pve--mac--vg-root: 8 GiB, 8589934592 bytes, 2097152 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/pve--mac--vg-swap_1: 980 MiB, 1027604480 bytes, 250880 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/pve--mac--vg-pve: 103.05 GiB, 110645739520 bytes, 27013120 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
I created the thin pool
/dev/mapper/pve--mac--vg-pve
and added it to the storage config:
Code:
lvmthin: local-lvm-mac
thinpool pve
vgname pve-mac-vg
content rootdir,images
nodes pve-mac
However, in the web ui it's isn't found (
No thin-pool found
). This works just fine for the master node. So right now, I'm wondering if I can use this configuration at all; from reading around, it _seems like_ I have to dedicated an entire drive (or partition?) for storage. Then I can set up everything in the web-ui, possibly starting with creating a new volume group.Is this correct? Ideally I'd like to just use the single LVM volume group I already have. However, if it really isn't possible then I suppose I could just resize down the current volume group to just contain the root volume and create a separate volume group for the VM storage. That would just be inconvenient to set up since I'd need to reboot the node in system rescue.
Hope someone can advise! Many thanks
Last edited: