From d4850c3aa3a337668952da7069e340a82d30e55f Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Wed, 25 Feb 2026 01:40:02 +0200 Subject: [PATCH] Fix as the small limit is much smaller (does it even make sense to have?) https://forum.virtualmin.com/t/backup-and-restore-failures-no-space-left-on-device/136639/32?u=ilia --- mount/system_info.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mount/system_info.pl b/mount/system_info.pl index 71af04d77..f9b4bdb7c 100644 --- a/mount/system_info.pl +++ b/mount/system_info.pl @@ -85,7 +85,7 @@ my @rv = ({ 'type' => 'html', # Check if the filesystem the Webmin temp dir is on is too small my $tmp = $gconfig{'tempdir'} || &default_webmin_temp_dir(); -my $small = $gconfig{'tempdir_min_size'} || 10*1024*1024*1024; # 10 GB +my $small = $gconfig{'tempdir_min_size'} || 10*1024*1024; # 10 MB foreach my $disk (sort { length($b->{'dir'}) <=> length($a->{'dir'}) } @$disks) { if (&is_under_directory($disk->{'dir'}, $tmp)) { if ($disk->{'total'} <= $small && &foreign_available("webmin")) {