User Tools

Site Tools


proxmox_setup


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox_setup [2023/09/11 22:54] adminproxmox_setup [2024/11/14 02:30] (current) – external edit 127.0.0.1
Line 1: Line 1:
- 
 ====== Proxmox Setup ====== ====== Proxmox Setup ======
 A list of some things I did/do when I set up a new Proxmox instance so I can keep track for future problem solving/etc. A list of some things I did/do when I set up a new Proxmox instance so I can keep track for future problem solving/etc.
 +
 +==== Create zpool ====
 +<code>
 +/sbin/zpool create -o ashift=12 pool1 raidz /dev/disk/by-id/scsi-35000cca012204e74 /dev/disk/by-id/scsi-35000c50095fd533f /dev/disk/by-id/scsi-35000c5009603e45f
 +</code>
 +
 +Add the -f tag if the drives are slightly different capacities or whatever.
  
 ==== Nginx Proxy ==== ==== Nginx Proxy ====
Line 74: Line 80:
 <code> <code>
 sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
 +</code>
 +
 +==== remove local-lvm ====
 +https://forum.proxmox.com/threads/need-to-delete-local-lvm-and-reuse-the-size.34087/
 +
 +https://www.reddit.com/r/toordotone/comments/souiub/remove_locallvm_from_proxmox/
 +
 +  - Click on “Datacenter” and then click on “Storage”.
 +  - Click on “local-lvm” and click on “Remove” 
 +  - Enter the following commands:
 +<code>
 +lvremove /dev/pve/data &&
 +lvresize -l +100%FREE /dev/pve/root &&
 +resize2fs /dev/mapper/pve-root
 +</code>
 +
 +==== Update grub for PCIe passthru ====
 +Find
 +<code>
 +GRUB_CMDLINE_LINUX_DEFAULT="quiet"
 +</code>
 +
 +Modify to:
 +<code>
 +GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt"
 +</code>
 +
 +Update /etc/modules
 +<code>
 +vfio
 +vfio_iommu_type1
 +vfio_pci
 +vfio_virqfd
 +</code>
 +
 +Update initramfs
 +<code>
 +update-initramfs -u -k all
 </code> </code>
proxmox_setup.1694472896.txt.gz · Last modified: 2024/11/14 02:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki