Results 1 to 5 of 5

Thread: mispresentation of disk space after update

  1. #1

    Default 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

  2. #2
    alanbortu NNTP User

    Default Re: mispresentation of disk space after update

    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:

    Code:
    df -hT | grep "sda6"
    And then

    Code:
    mount | grep "sda6"
    --
    openSUSE Leap (42.1) 64 bit
    Plasma 5

  3. #3

    Default Re: mispresentation of disk space after update

    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

  4. #4
    alanbortu NNTP User

    Default Re: mispresentation of disk space after update

    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:
    Code:
    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:
    Code:
    btrfs scrub start /mount/point
    btrfs balance start /mount/point
    You can check the status using:
    Code:
    btrfs scrub status /mount/point
    btrfs balance status /mount/point
    Lastly, please read this link:
    https://btrfs.wiki.kernel.org/index...._disk_space.21

    Hope that helps!

    --
    openSUSE Leap (42.1) 64 bit
    Plasma 5

  5. #5

    Default Re: mispresentation of disk space after update

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •