diff --git a/disks-partitioning.xlsx b/disks-partitioning.xlsx index 9f987b0..0c21a4b 100644 Binary files a/disks-partitioning.xlsx and b/disks-partitioning.xlsx differ diff --git a/disks.txt b/disks.txt index 9d424b6..c4717d4 100644 --- a/disks.txt +++ b/disks.txt @@ -1,7 +1,8 @@ # https://linuxconfig.org/linux-lvm-logical-volume-manager # 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