Results 1 to 6 of 6

Thread: No space left on device

  1. #1

    Exclamation No space left on device

    I'm having this problem after installing in the wrong partition, see attached picture (Link: https://ibb.co/yh3XFKk ), I'm using all space for /dev/sda2 but I have a lot of free space on /dev/sda3. Snapper and btfrs are not working. I'm getting error to configure them.

    Well, what can I do to free the space on /dev/sda2. The GUI is not lunching anymore since the last installation.

    Thank you all for the help;

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,004
    Blog Entries
    2

    Default Re: No space left on device

    For anyone who has any questions about BTRFS on any topic,
    I've collected what I consider the best links on my Wiki

    https://en.opensuse.org/User:Tsu2

    Specifically regarding running out of space, first efforts to resolve should be to run the "btrfs balance" command as described in these two references
    https://en.opensuse.org/SDB:BTRFS
    https://btrfs.wiki.kernel.org/index.php/Balance_Filters

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: No space left on device

    Quote Originally Posted by tsu2 View Post
    For anyone who has any questions about BTRFS on any topic,
    I've collected what I consider the best links on my Wiki

    https://en.opensuse.org/User:Tsu2

    Specifically regarding running out of space, first efforts to resolve should be to run the "btrfs balance" command as described in these two references
    https://en.opensuse.org/SDB:BTRFS
    https://btrfs.wiki.kernel.org/index.php/Balance_Filters

    HTH,
    TSU
    Thank you for the Wiki files, I found them very helpful and I tried to resolve the problem reading them but As I mentionned my btrfs and snapper are not working, here for example when I tried to run btrfs balance I'm getting: 'ERROR: cannot access ' /mnt/btrfs': No such file or directory. I don't have a btrfs file;

    So what should I do in this case?

    Thanks for the help;

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,004
    Blog Entries
    2

    Default Re: No space left on device

    You didn't provide nearly enough information about what you were doing when you failed the mount.

    The SDB provides a step by step procedure trying different things

    https://en.opensuse.org/SDB:BTRFS#Di...use_of_Snapper

    So, for instance before you try anything more difficult you should attempt to remove any snapshots you don't need... ie. anything that isn't the first or recent. If successful, you may be able to free up enough space to boot and consider other files or other snapshots for removal.

    If you start at the above location and then try one thing after another, report back any success until you run into a failure.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Sep 2012
    Posts
    5,363

    Default Re: No space left on device

    Quote Originally Posted by chourouk View Post
    I'm having this problem after installing in the wrong partition
    What prevents you from installing in the correct partition?

  6. #6

    Default Re: No space left on device

    I ran into this problem last week and gparted made all the necessary corrections to reallocate partition space. I ran out of root (/) partition space just as a result of normal system installs. It is a btrfs partition. I had TBs of space in my /home partition which was formatted ext4. Booting into gparted dvd with nothing else mounted, I successfully increased the root btrfs space and decreased the /home ext4 space to give me plenty of root partition space. First I decreased the ext4 partition size making an Unallocated region. Second I increased the root btrfs space to include the unallocated space. Gparted automatically moved all the files in ext4 partition to accomodate the size reduction. Gparted increased the btrfs size and reformatted the unallocated space from ext4 to btrfs.

    All is now fine and I lost no home partition data or root directory files. All works.

    If you can't boot due to not enough space for root, you need to get a gparted iso disk off another computer or a friend. Then boot into that dvd or usb with gparted on it.

    Worked fine for me. Good luck to you.

    Tom Kosvic

Posting Permissions

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