Proxmox

Proxmox

Installing Proxmox

This is pretty standard install.

Goto the Proxmox website at https://www.proxmox.com/en/downloads, and download version 9.1.

Create a bootable USB ISO and install it on the Minisforum. We will be using the 500GB drive to install Proxmox.

Checking for Nested Virtualization

# cat /sys/module/kvm_amd/parameters/nested                                                                                                  
1 # This means it's enabled

Configuring IP address

This is my IP address configuration in /etc/network/interfaces

auto lo
iface lo inet loopback

auto enp4s0
iface enp4s0 inet manual

auto vmbr0
iface vmbr0 inet manual
        address 192.168.200.10/24
        gateway 192.168.200.1
        bridge-ports enp5s0f0np0
        bridge-stp off
        bridge-fd 0

iface enp3s0 inet manual

iface enp5s0f0np0 inet manual

iface enp5s0f1np1 inet manual

iface wlp6s0 inet manual


source /etc/network/interfaces.d/*

Adding 1TB NVMe

After Promox has been rebooted, run lslbk to get the attached drives.

lsblk /dev/nvme1n1
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme1n1     259:0    0 953.9G  0 disk

We will be adding nvme1n1 to Promox.

Running parted

# Create GPT partition table
parted /dev/nvme1n1 mklabel gpt

# Create a single partition using the entire disk
parted /dev/nvme1n1 mkpart primary 0% 100%

# Set partition type to LVM (optional but good practice)
parted /dev/nvme1n1 set 1 lvm on

# Verify partition created
lsblk /dev/nvme1n1

Create Physical Volume and Volume Group

# Create pv
pvcreate /dev/nvme1n1p1

# Create vg
vgcreate vg-vmstore2 /dev/nvme1n1p1

Adding VG to Promox

Edit the /etc/pve/storage.cfg and add the following lines

lvm: vmstore2-vsan
        vgname vg-vmstore2
        content images
        nodes proxmox

Verify the storage with the following command

# pvesm status                                                                                                                               
Name                     Type     Status     Total (KiB)      Used (KiB) Available (KiB)        %                                                          
local                     dir     active        98497780        24344660        69103572   24.72%                                                          
local-lvm             lvmthin     active       353492992               0       353492992    0.00%                                                          
vmstore2-vsan             lvm     active      1000202240      1000202240               0  100.00%                                                          
vmstore2-workload     lvmthin     active       265936896               0       265936896    0.00%

Post install

Once installed, ssh into it and run the helper scripts, which are located at https://community-scripts.github.io/ProxmoxVE/

https://community-scripts.github.io/ProxmoxVE/scripts?id=post-pve-install

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"

And you will get

This will take a while!

It will ask you to reboot.

Last updated on