mirror of
				https://github.com/bashclub/proxmox-zfs-postinstall.git
				synced 2025-11-04 00:32:26 +01:00 
			
		
		
		
	Fixed arc_size bug in /etc/modprobe.d/zfs.conf
This commit is contained in:
		@@ -192,10 +192,10 @@ echo $ZFS_ARC_MAX_BYTES > /sys/module/zfs/parameters/zfs_arc_max
 | 
			
		||||
 | 
			
		||||
cat << EOF > /etc/modprobe.d/zfs.conf
 | 
			
		||||
options zfs zfs_arc_min=$ZFS_ARC_MIN_BYTES
 | 
			
		||||
options zfs zfs_arc_min=$ZFS_ARC_MAX_BYTES
 | 
			
		||||
options zfs zfs_arc_max=$ZFS_ARC_MAX_BYTES
 | 
			
		||||
EOF
 | 
			
		||||
 | 
			
		||||
echo "Updating initramfs - This will take some time..."
 | 
			
		||||
update-initramfs -u -k all > /dev/null 2>&1
 | 
			
		||||
 | 
			
		||||
echo "Proxmox postinstallation finished!"
 | 
			
		||||
echo "Proxmox postinstallation finished!"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user