mirror of
https://github.com/IntenseWebs/servercode.git
synced 2024-11-21 16:27:22 -06:00
Add proxmox.txt and Update disks.txt
This commit is contained in:
parent
34bf28f977
commit
b72f9d8916
Binary file not shown.
16
disks.txt
16
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
|
||||
|
15
proxmox.txt
Normal file
15
proxmox.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user