I am having a “spring clean” and found a reserve machine with Leap 42.2 installed. In the best house keeping tradition I started to get the system up to date before upgrading and received an error message “out of disk space” on my root drive. Since it is 20GB and home is on separate drive I wonder what is going on as it cannot be full unless something has been going on in the background and filled it with rubbish. Where should I look for unwanted junk?
First, because 42.2 is already out of support, I doubt there are many repositories active for it. Thus how do you try to update.
And then, please show
df -h
And is the / file system Btrfs? For ext4 the recommendation is 20 GB, but for Btrfs it is 40GB.
Hi Henk,
Btrfs snapper was the problem. The partition size was set by the installation media and snapper housekeeping not tuned to my needs. Plenty of room to expand to 40 GB which I will do as I upgrade.
Problem solved. Many thanks.
Budge
On Mon, 16 Jul 2018 16:26:03 +0000, Budgie2 wrote:
> I am having a “spring clean” and found a reserve machine with Leap 42.2
> installed. In the best house keeping tradition I started to get the
> system up to date before upgrading and received an error message “out of
> disk space” on my root drive. Since it is 20GB and home is on separate
> drive I wonder what is going on as it cannot be full unless something
> has been going on in the background and filled it with rubbish. Where
> should I look for unwanted junk?
/tmp is usually where I start. Also you can try clearing out the zypper
cache (zypper clean).
Other than that, go to “/” (as root) and run:
du -h --max=1 -x
And see what shows as having the most stuff in it. Change to that
directory, and repeat.
(The ‘-x’ keeps this constrained to the root filesystem).
You can also specify an alternate cache for zypper when running updates/
an upgrade by using -C <directory> (as I recall) - and point it somewhere
off your root partition.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C