From b72f9d891603f8d9eeae34b3db0cde660723f35c Mon Sep 17 00:00:00 2001 From: IntenseWebs Date: Fri, 17 May 2024 03:39:20 -0500 Subject: [PATCH] Add proxmox.txt and Update disks.txt --- disks-partitioning.xlsx | Bin 6981 -> 6979 bytes disks.txt | 16 ++++++++++------ proxmox.txt | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 6 deletions(-) create mode 100644 proxmox.txt diff --git a/disks-partitioning.xlsx b/disks-partitioning.xlsx index 9f987b043817627bcfb72fc9d3dad845063877b3..0c21a4bfe1edd7789d30d2e1ba376c2d29c11ff3 100644 GIT binary patch delta 2789 zcmY*bc{tST7a#kOxwaSvmke2weaV(R42A5njWx1dONqJqMk2;Oma;?)$(minj1;2V zV2BixtYsp5W-NEo@A=((-+#_|Kj(AK`#$HK=Q-z22Q>t}lgVViU0^e?%MkN-3VtH;Nx=&Cyu`uXJoIV@+gKK-eu zoRwT8;lsN48IEe+NZ}HyLT62e1$}7a7Ap5e&Zcy|Vs@1)yX`{sD9Xr&Uf@qsgl=ux zWiM!5Bg__%@3My&S8APCO`dpl$%i07k1{){kWZ8lVN{WR(jz7L4$HNq91ak&=8~+` zGqt57{bX5ZxP9W@6E#tQe4wAflSHYsA85A8!izZvA#WTnC`yt~Kwh1a4=veUhnL%#U=>dlb z6x^}St8gu)>XoG|TS!^7CuLIbd|3AJ-XNKv?6%Kb!s{|7BEgf)3cc?8|9NV zm&lZ4hBtG>tp@+)HS4{er9IrP#F-`G*6(teb5-g?Z3yFBxN=Tu-wW}-u;??~{Ys8R zu=tJ$k|dJfcc%Qc7``E6P++Qs;6A=UsXDpMhZ}CmGA2)XIxJ2wlv{?GO|>joKas)? z2;@FM#8nz{17Ue|X)LQoG7-*s!Cyv$ z!js}F9!Dl2@+!mp9pnyX@q*RVlHs-=-MvDDij-hT#WHUix~%fg@iZqdYdl9`rx@rn z57HcP*igv65*jLJuda*=2omq*4ux=C;!#Wlw;4E!J(baHTUwTL!LzGAb2oVTG^srf zY-v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# apt-get install lvm2 # sudo dnf install lvm2 -# fdisk -l # lsblk # lsblk -fe7 # blkid # parted -l # parted /dev/sde u s p # df -hT # du -sh /home # -# Check FREE SPACE # sfdisk --list-free /dev/vda # hwinfo --short --block # cat /proc/partitions # sudo hdparm -t --direct /dev/nvme0n1p1 +# fdisk -l # lsblk # lsblk -fe7 # blkid # parted -l # parted /dev/sde u s p # df -hT # du -sh /home +# Check FREE SPACE # sfdisk --list-free /dev/vda # hwinfo --short --block # cat /proc/partitions # +# Check SPPED # sudo hdparm -t --direct /dev/nvme0n1p1 # pvs, vgs, lvs, pvdisplay, vgdisplay, lvdisplay # WIPE DESTROY DISK CONTENTS @@ -45,10 +46,13 @@ vi /etc/fstab systemctl daemon-reload mount -a -# REMOVE LVM VOLUME -pvremove /dev/sdb --force --force -umount /dev/vg_extra/vg-backups -lvremove /dev/vg_extra/vg-backups +# REMOVE LVM VOLUME # df -hT # vi /etc/fstab +umount /dev/vgiso/iso && umount /dev/vgvm/vm && umount /dev/vgbackups/backups +lvchange -an /dev/vgiso/iso && lvchange -an /dev/vgvm/vm && lvchange -an /dev/vgbackups/backups +lvremove /dev/vgiso/iso && lvremove /dev/vgvm/vm && lvremove /dev/vgbackups/backups +lvscan +vgremove vgiso && vgremove vgvm && vgremove vgbackups +pvremove /dev/sdd1 --force --force && pvremove /dev/sdd2 --force --force && pvremove /dev/sdd3 --force --force # RESIZE LVM AS ROOT: https://www.golinuxcloud.com/lvm-shrink-logical-volume/ df -hT /home diff --git a/proxmox.txt b/proxmox.txt new file mode 100644 index 0000000..46f8465 --- /dev/null +++ b/proxmox.txt @@ -0,0 +1,15 @@ +cd /usr/share/javascript/proxmox-widget-toolkit +cp proxmoxlib.js proxmoxlib.js.bak +nano proxmoxlib.js +CTRL-W (find): if (res == + +Hit return and this should take you to a line like this (backspace it out) +if (res === null || res === undefined || !res || res + .data.status.toLowerCase() !== 'active') { + +Replace the line with this +if (false) { + +systemctl daemon-reload + +# UPDATE HOST > REPOSITORIES - DISABLE BOTH ENTERPRISE REPOSITORIES & ADD pve-no-subscription