From 88258c0fbea0abc654f27d4876423e3fce75852d Mon Sep 17 00:00:00 2001 From: mathwhiz1212 Date: Sat, 26 Apr 2025 22:02:51 -0600 Subject: [PATCH] Tell before making changes, and correction. --- Proxmox/proxmox-setup.sh | 2 +- Proxmox/reduce-ssd-writes.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Proxmox/proxmox-setup.sh b/Proxmox/proxmox-setup.sh index 45e5288..9c2e1d4 100755 --- a/Proxmox/proxmox-setup.sh +++ b/Proxmox/proxmox-setup.sh @@ -22,7 +22,7 @@ pveupgrade echo "Now installing some monitoring software." # Install some software, mostly monitoring tools. sensors and smartcl -a can provide monitoring data. lshw provides hardware info. -apt install -y screen curl htop iotop #speedtest-cli smartmontools lm-sensors lshw # sysstat # smartmontools is included in Proxmox for use only by Proxmox. +apt install -y screen curl htop iotop #speedtest-cli smartmontools lm-sensors lshw # sysstat # smartmontools is installed in Proxmox as a package by default. # Download templates for Ubuntu Server 24.04.2 LTS / Proxmox Ubuntu Cloud image 24.04.2 for containers. diff --git a/Proxmox/reduce-ssd-writes.sh b/Proxmox/reduce-ssd-writes.sh index dac447b..6ce155e 100755 --- a/Proxmox/reduce-ssd-writes.sh +++ b/Proxmox/reduce-ssd-writes.sh @@ -11,6 +11,7 @@ echo "Enabling a variety of settings to reduce writes on SSDs. This may cause data loss and increase the usage of other resources like CPU. DO NOT run this on a hard drive. Hit Ctrl + C to cancel." sleep 10 +echo "starting changes" echo 'options zfs zfs_txg_timeout=30' > /etc/modprobe.d/zfs.conf # Set txg_timeout to 30 seconds. This introduces a higher risk of data loss. zfs set atime=off rpool # Turn off atime.