mispresentation of disk space after update

I use OpenSuse 13.2. In terminal the command df … prompts me that there is no space on dev/sda6 /. When I use mc it says that I do have 1.06GB. The same information about disk space on / partition I get from yast software management.
I cannot install other updates. I got information that there is no space and that rpm datbase isbroken. I tried to rebuild databse with
rpm --rebuilddb
but I was prompted that there is no disk space.
I guess that some update messed up things since everything worked smoothly/ I emptied /tmp and /var/tmp. Please advise.

Thanks,

veki

On 11/10/2015 12:46 PM, veki wrote:
>
> I use OpenSuse 13.2. In terminal the command df … prompts me that there
> is no space on dev/sda6 /. When I use mc it says that I do have 1.06GB.
> The same information about disk space on / partition I get from yast
> software management.
> I cannot install other updates. I got information that there is no space
> and that rpm datbase isbroken. I tried to rebuild databse with
> rpm --rebuilddb
> but I was prompted that there is no disk space.
> I guess that some update messed up things since everything worked
> smoothly/ I emptied /tmp and /var/tmp. Please advise.
>
> Thanks,
>
> veki

Well lets start by getting some more info about the drive. Can you paste
the output from:

df -hT | grep "sda6"

And then

mount | grep "sda6"


openSUSE Leap (42.1) 64 bit
Plasma 5

Hello,
I realized that the disk space is consumed due to accumulated BtrFS snapshots. When I deleted old snapshots I got a lot of space. STill I am not sure how to delete shops that are prompted as illegal snapshots.

Thanks,
Veki

On 11/11/2015 06:16 AM, veki wrote:
>
> Hello,
> I realized that the disk space is consumed due to accumulated BtrFS
> snapshots. When I deleted old snapshots I got a lot of space. STill I am
> not sure how to delete shops that are prompted as illegal snapshots.
>
> Thanks,
> Veki
>
>

First of all, dont use df to look at btrfs, you need to use:


btrfs filesystem df /mount/point

Second, how big is this partition? Assuming all those snapshots are automatic they should be deleted automatically after a certain amount of time (see timeline and number cleanup algorithms in snapper). The YaST and zypper snapshots should all be set with the number cleanup algorithm. Can you verify this? YaST > Snapper, select one of the yast/zypper snapshots and click “Modify”.

Also, have you been scrubbing and balancing this filesystem? Its important to run it regularly.
Probably best to only run one of these at a time:


btrfs scrub start /mount/point
btrfs balance start /mount/point

You can check the status using:


btrfs scrub status /mount/point
btrfs balance status /mount/point

Lastly, please read this link:
https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_I_ran_out_of_disk_space.21

Hope that helps!


openSUSE Leap (42.1) 64 bit
Plasma 5

Thank you very much on your tips for administration of btrfs. I performed scrubbing and scrub status reported that there are no errors.
I still get that snapshot 748 is illegal and I cannot delete it.
Is there any way to delete that snapshot since it is old. I do not need it on my home laptop system.

Thanks,

veki