[opensuse] Root partition gets full

Hi all, A few days days ago I tried to install some updates on my Lenovo G 505 laptop. The wallpaper suddenly disappeared along with the system tray and only the mouse cursor remained showing that it is waiting for something to get finished. I left it and returned to the computer after an hour and it was still waiting for something. I restarted it - but it was not an easy job. It turned out finally that / partion is full. I booted into safe mode and deleted lots of things from /tmp and /var/tmp but it was only a temporary measure. I do not see anything that could fill the 20 G / root partiton. This is an oS 13.2 laptop with KDE 4.14.5. Home is on a separate partiton. Regards, Albert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Sat, Mar 21, 2015 at 12:01 PM, Albert Oszkó <oszko@chem.u-szeged.hu> wrote:
Hi all,
A few days days ago I tried to install some updates on my Lenovo G 505 laptop. The wallpaper suddenly disappeared along with the system tray and only the mouse cursor remained showing that it is waiting for something to get finished. I left it and returned to the computer after an hour and it was still waiting for something. I restarted it - but it was not an easy job. It turned out finally that / partion is full. I booted into safe mode and deleted lots of things from /tmp and /var/tmp but it was only a temporary measure. I do not see anything that could fill the 20 G / root partiton. This is an oS 13.2 laptop with KDE 4.14.5. Home is on a separate partiton.
Is this a default installation of 13.2? If so it's likely snapper snapshot policy not cleaning up old snapshots aggressively enough. What do you get for # btrfs fi show # btrfs fi df / -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

2015-03-21 19:36 keltezéssel, Chris Murphy írta:
On Sat, Mar 21, 2015 at 12:01 PM, Albert Oszkó <oszko@chem.u-szeged.hu> wrote:
Hi all,
A few days days ago I tried to install some updates on my Lenovo G 505 laptop. The wallpaper suddenly disappeared along with the system tray and only the mouse cursor remained showing that it is waiting for something to get finished. I left it and returned to the computer after an hour and it was still waiting for something. I restarted it - but it was not an easy job. It turned out finally that / partion is full. I booted into safe mode and deleted lots of things from /tmp and /var/tmp but it was only a temporary measure. I do not see anything that could fill the 20 G / root partiton. This is an oS 13.2 laptop with KDE 4.14.5. Home is on a separate partiton.
Is this a default installation of 13.2? If so it's likely snapper snapshot policy not cleaning up old snapshots aggressively enough. What do you get for
# btrfs fi show # btrfs fi df /
Chris, these are what the commands return linux-ac2p:~ # btrfs fi show Label: none uuid: 9a4aa63f-cca0-4b76-ad37-d64c546d928a Total devices 1 FS bytes used 17.23GiB devid 1 size 20.00GiB used 20.00GiB path /dev/sda3 Btrfs v3.16.2+20141003 linux-ac2p:~ # btrfs fi df / Data, single: total=16.22GiB, used=16.09GiB System, DUP: total=8.00MiB, used=16.00KiB System, single: total=4.00MiB, used=0.00B Metadata, DUP: total=1.88GiB, used=1.14GiB Metadata, single: total=8.00MiB, used=0.00B GlobalReserve, single: total=400.00MiB, used=0.00B In the meantime I noticed that my very basic gnome environment remains usable, though it complains about low disk space of /. Maybe some KDE related problem is here? Albert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

* Albert Oszkó <oszko@chem.u-szeged.hu> [03-21-15 15:51]:
2015-03-21 19:36 keltezéssel, Chris Murphy írta:
[...]
these are what the commands return
linux-ac2p:~ # btrfs fi show Label: none uuid: 9a4aa63f-cca0-4b76-ad37-d64c546d928a Total devices 1 FS bytes used 17.23GiB devid 1 size 20.00GiB used 20.00GiB path /dev/sda3
Btrfs v3.16.2+20141003 linux-ac2p:~ # btrfs fi df / Data, single: total=16.22GiB, used=16.09GiB System, DUP: total=8.00MiB, used=16.00KiB System, single: total=4.00MiB, used=0.00B Metadata, DUP: total=1.88GiB, used=1.14GiB Metadata, single: total=8.00MiB, used=0.00B GlobalReserve, single: total=400.00MiB, used=0.00B
In the meantime I noticed that my very basic gnome environment remains usable, though it complains about low disk space of /. Maybe some KDE related problem is here?
Yes, gnome is probably having KDE problems, makes sense. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Idézet (Patrick Shanahan <paka@opensuse.org>):
* Albert Oszkó <oszko@chem.u-szeged.hu> [03-21-15 15:51]:
2015-03-21 19:36 keltezéssel, Chris Murphy írta:
[...]
these are what the commands return
linux-ac2p:~ # btrfs fi show Label: none uuid: 9a4aa63f-cca0-4b76-ad37-d64c546d928a Total devices 1 FS bytes used 17.23GiB devid 1 size 20.00GiB used 20.00GiB path /dev/sda3
Btrfs v3.16.2+20141003 linux-ac2p:~ # btrfs fi df / Data, single: total=16.22GiB, used=16.09GiB System, DUP: total=8.00MiB, used=16.00KiB System, single: total=4.00MiB, used=0.00B Metadata, DUP: total=1.88GiB, used=1.14GiB Metadata, single: total=8.00MiB, used=0.00B GlobalReserve, single: total=400.00MiB, used=0.00B
In the meantime I noticed that my very basic gnome environment remains usable, though it complains about low disk space of /. Maybe some KDE related problem is here?
Yes, gnome is probably having KDE problems, makes sense. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I mean that when I start KDE I loose the desktop after a while, but gnome does not disappear and remains usable. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

* oszko@chem.u-szeged.hu <oszko@chem.u-szeged.hu> [03-21-15 16:33]: [...]
I mean that when I start KDE I loose the desktop after a while, but gnome does not disappear and remains usable.
Well, you probably should decide on a miniminal wm rather than kde, or gnome, maybe xfce, as you have no much space for files. But that is my opinion. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Sat, Mar 21, 2015 at 1:53 PM, Albert Oszkó <oszko@chem.u-szeged.hu> wrote:
these are what the commands return
linux-ac2p:~ # btrfs fi show Label: none uuid: 9a4aa63f-cca0-4b76-ad37-d64c546d928a Total devices 1 FS bytes used 17.23GiB devid 1 size 20.00GiB used 20.00GiB path /dev/sda3
Btrfs v3.16.2+20141003 linux-ac2p:~ # btrfs fi df / Data, single: total=16.22GiB, used=16.09GiB System, DUP: total=8.00MiB, used=16.00KiB System, single: total=4.00MiB, used=0.00B Metadata, DUP: total=1.88GiB, used=1.14GiB Metadata, single: total=8.00MiB, used=0.00B GlobalReserve, single: total=400.00MiB, used=0.00B
You have ~2.77GiB free. So it's not super urgent but Btrfs doesn't like getting wedged into a distinctly low free space situation, so I wouldn't push it unless you're testing its limits and want to file bug reports. :-D Otherwise, follow Malcom's advice, configure snapper and delete some snapshots. I'm not familiar enough yet with snapper to know how to ask it to do the snapshot deletion rather than using Btrfs commands to delete them manually (which would certainly confuse snapper and not be a good idea). I think there's a bug filed against snapper, that its default configuration is not doing a good enough job cleaning up snapshots in a default installation. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On 03/21/2015 05:32 PM, Chris Murphy wrote:
I think there's a bug filed against snapper, that its default configuration is not doing a good enough job cleaning up snapshots in a default installation.
+1 Its possible to install on just 20G and have a usable system, provided, as Patrick points out, you don't go with one of the heavier GUIs or try for both Gnome and KDE. It might also help top have all logging done remotely. I've done this with ext4, BtrFS and ReiserFS. With ext4 I eventually ran into the problem that you preallocate the inode vs data ratio & hence spaces, a pice of idiocy that has been around since the days of UNIX V6 and before, and which I've written about many times. Sensible file systems such as XFS, ReiserFS and BtrFS don't succumb to this design flaw. The problem with BtrFS on a small disk (or partition) seems to be to do with snapper. I installed and let the immediate post install updates happen and after a few hours .... Well it seems if you have a small disk or partition snapper doesn't work well. Clean-up as disk fills doesn't happen. On that machine I shrunk other partitions and grew the BtrFS rootfs to 30G, cleaned up snapper, turned off the hourly snapshots and from then on the automatic clean-up seemed to work. The downside of the the Closet of Anxieties is its all old equipment from W/95 or W/Xp days and not endowed with large disks or lots of memory, so I find out about mis-behaviour with resource limits :-) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Sat 21 Mar 2015 07:01:26 PM CDT, Albert Oszkó wrote:
Hi all,
A few days days ago I tried to install some updates on my Lenovo G 505 laptop. The wallpaper suddenly disappeared along with the system tray and only the mouse cursor remained showing that it is waiting for something to get finished. I left it and returned to the computer after an hour and it was still waiting for something. I restarted it - but it was not an easy job. It turned out finally that / partion is full. I booted into safe mode and deleted lots of things from /tmp and /var/tmp but it was only a temporary measure. I do not see anything that could fill the 20 G / root partiton. This is an oS 13.2 laptop with KDE 4.14.5. Home is on a separate partiton.
Regards, Albert Hi You need to configure snapper (or disable)
Edit the file /etc/snapper/configs/root and set the timeline create to no (if not already no) and then set number limit to say 2 and important to 2. Manually run the cron job /etc/cron.daily called suse.de-snapper Then use the command `snapper list` you should only have a few entries and disk space back... -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.38-44-default up 1 day 23:01, 4 users, load average: 0.50, 0.24, 0.17 CPU AMD A4-5150M APU @ 3.3GHz | GPU Richland Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

2015-03-21 22:10 keltezéssel, Malcolm írta:
On Sat 21 Mar 2015 07:01:26 PM CDT, Albert Oszkó wrote:
Hi all,
A few days days ago I tried to install some updates on my Lenovo G 505 laptop. The wallpaper suddenly disappeared along with the system tray and only the mouse cursor remained showing that it is waiting for something to get finished. I left it and returned to the computer after an hour and it was still waiting for something. I restarted it - but it was not an easy job. It turned out finally that / partion is full. I booted into safe mode and deleted lots of things from /tmp and /var/tmp but it was only a temporary measure. I do not see anything that could fill the 20 G / root partiton. This is an oS 13.2 laptop with KDE 4.14.5. Home is on a separate partiton.
Regards, Albert Hi You need to configure snapper (or disable)
Edit the file /etc/snapper/configs/root and set the timeline create to no (if not already no) and then set number limit to say 2 and important to 2.
Manually run the cron job /etc/cron.daily called suse.de-snapper
Then use the command `snapper list` you should only have a few entries and disk space back...
Malcolm, Thanks for the help, I did what you suggested and it works. Regards, Albert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Albert Oszkó
-
Anton Aylward
-
Chris Murphy
-
Malcolm
-
oszko@chem.u-szeged.hu
-
Patrick Shanahan