diff --git a/docs/portainer-stacks/Ombi.md b/docs/portainer-stacks/Ombi.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/proxmox/Debian-VM.md b/docs/proxmox/Debian-VM.md new file mode 100644 index 0000000..ae64211 --- /dev/null +++ b/docs/proxmox/Debian-VM.md @@ -0,0 +1,12 @@ +``` +df -h +``` + +sudo fdisk -l + +sudo apt-get install -y parted + +sudo parted /dev/sda + +print +resizepart 2 100% \ No newline at end of file diff --git a/docs/proxmox/Passthrough.md b/docs/proxmox/Passthrough.md index d88287e..9e43e26 100644 --- a/docs/proxmox/Passthrough.md +++ b/docs/proxmox/Passthrough.md @@ -21,6 +21,6 @@ lxc.mount.entry: /dev/tty7 dev/tty7 none bind,create=file ``` ``` -lxc.cgroup.devices.allow: c 188:* rwm +lxc.cgroup2.devices.allow: c 188:* rwm lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file ``` \ No newline at end of file diff --git a/docs/proxmox/Ubuntu-VM-Resize-Disk copy 2.md b/docs/proxmox/Ubuntu-VM-Resize-Disk copy 2.md new file mode 100644 index 0000000..ae64211 --- /dev/null +++ b/docs/proxmox/Ubuntu-VM-Resize-Disk copy 2.md @@ -0,0 +1,12 @@ +``` +df -h +``` + +sudo fdisk -l + +sudo apt-get install -y parted + +sudo parted /dev/sda + +print +resizepart 2 100% \ No newline at end of file diff --git a/docs/proxmox/VM-Passthrough-Harddrives.md b/docs/proxmox/VM-Passthrough-Harddrives.md new file mode 100644 index 0000000..2ddf07e --- /dev/null +++ b/docs/proxmox/VM-Passthrough-Harddrives.md @@ -0,0 +1,38 @@ +# Passthrough Harddisks to Proxmox VM's + +1. In Proxmox terminal install `lshw`: +``` +apt-get update && apt-get install -y lshw +``` + +2. Look and copy harddisk `product`: +``` +lshw -class disk -class storage +``` + +3. Get the full id with, replace `{{product id you copied}}` with the product id you copied from last command: +``` +ls -l /dev/disk/by-id/ | grep {{product id you copied}} +``` + +4. Add it to your VM: +``` +qm set {{VM ID}} -scsi2 /dev/disk/by-id/{{Full ID copied from last command}} +``` + +`-scsi2` this is assuming VM only has 1 Harddisks +If you are adding multiple Harddisks `-scsi2` should always increase +1. + +EG: +First Disk: +``` +qm set {{VM ID}} -scsi2 /dev/disk/by-id/{{Full ID copied from last command}} +``` +Second Disk: +``` +qm set {{VM ID}} -scsi3 /dev/disk/by-id/{{Full ID copied from last command}} +``` +Third Disk: +``` +qm set {{VM ID}} -scsi4 /dev/disk/by-id/{{Full ID copied from last command}} +``` diff --git a/mkdocs.yml b/mkdocs.yml index 5684618..bfc36f9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -76,10 +76,12 @@ nav: # - Tutorials: # - MKDocs with Gitea and Drone: tutorials/mkdocs-with-gitea-and-drone.md - Proxmox: + - Debian VM: proxmox/Debian-VM.md - Home Assistant on Proxmox: proxmox/how-to-install-home-assistant.md - LXC Debian: proxmox/LXC-Debian.md - LXC Passthrough: proxmox/Passthrough.md - Proxmox send CPU Temp to Home-Assistant/MQTT: proxmox/send-cpu-temp-to-ha.md + - Ubuntu VM Resize Disk: proxmox/Ubuntu-VM-Resize-Disk - Portainer Stacks: - Authentik: portainer-stacks/Authentik.md - Bazarr: portainer-stacks/bazarr.md