Welcome to the new SUSE Linux Enterprise Server for POWER discussion forum. Please feel free to post any discussion or questions regarding this product here.
[QUOTE=Automatic Reply;34983]Welcome to the new SUSE Linux Enterprise Server for POWER discussion forum. Please feel free to post any discussion or questions regarding this product here.
We have SUSE Linux Enterprise Server 12 SP1.
In every default installation of this SUSE build with even 100GB of space allocated to disk, space gets full in just 2-3 days automatically.
Seems like snapshots are building continuously in SUSE and we are not able to find a solution to stop them.
We tried below possible solutions :
Uninstalled snapper plugin
Removed snapper cron job files
Deleted Snapshot files from .snapshot directory
But still snapshots keeps generating and when we try to delete snapshot directory or its files, command stops working in SUSE machine like ls, cd, scp, etc. not even yast is not able to open.
Can you please help in finding a solution to stop as well as remove these snapshots.
Hi
You need to configure the settings in the /etc/snapper/configs/root
file, to reduce the snapshot number. If your installing a file here and
a file there on the system, then yes snapshots build up.
Deleting the cronjob is not the right thing to do, you need to manually
run so it will cleanup, also ensure the btrfs maintenance tools are
installed and run the weekly cronjob to balance btrfs filesystem.
Manual deletion of snapshots may break the system (esp 0 and 1) if you
don’t use the tools provided to cleanup the snapshots.
Your not running something like a database etc on btrfs? If so this
should be off on it’s own (xfs) partition.
Is this really a power system?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
[QUOTE=malcolmlewis;37162]Hi
You need to configure the settings in the /etc/snapper/configs/root
file, to reduce the snapshot number. If your installing a file here and
a file there on the system, then yes snapshots build up.
Deleting the cronjob is not the right thing to do, you need to manually
run so it will cleanup, also ensure the btrfs maintenance tools are
installed and run the weekly cronjob to balance btrfs filesystem.
Manual deletion of snapshots may break the system (esp 0 and 1) if you
don’t use the tools provided to cleanup the snapshots.
Your not running something like a database etc on btrfs? If so this
should be off on it’s own (xfs) partition.
Is this really a power system?
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks![/QUOTE]
Yes this is powerSystem 8.
So deleting these snapshots using Yast is safe?
And is there any specific snapshot we should not even touch while cleanup ?
Hi
The first two, if you run the command from a terminal (as root user);
snapper list
You should see ‘Current’ and ‘first root filesystem’ don’t remove
those.
But running the cron job /etc/cron.daily/suse.de-snapper and
then /etc/cron.weekly/btrfs-balance should clean things up with using
the YaST tool, as long as you have configured the snapshot
Timeline and Number in the config file.
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!