Tell before making changes, and correction.
This commit is contained in:
		
							parent
							
								
									24e670f2db
								
							
						
					
					
						commit
						88258c0fbe
					
				@ -22,7 +22,7 @@ pveupgrade
 | 
				
			|||||||
echo "Now installing some monitoring software."
 | 
					echo "Now installing some monitoring software."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install some software, mostly monitoring tools. sensors and smartcl -a can provide monitoring data. lshw provides hardware info.
 | 
					# 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.
 | 
					# Download templates for Ubuntu Server 24.04.2 LTS / Proxmox Ubuntu Cloud image 24.04.2 for containers.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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."
 | 
					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
 | 
					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.
 | 
					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.
 | 
					zfs set atime=off rpool # Turn off atime.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user