Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: No space left on device

  1. #1

    Default No space left on device

    Hi
    I have a problem, most things i do. I get a message that pops up, eg insert a usb
    Code:
    [1109.197841] sd 10:0:0:0: [sdc] No caching mode page found
    Code:
    [1109.197841] sd 10:0:0:0: [sdc]  Assuming drive cache: write through
    spc
    spc: /mnt/vids/Arduino.mp4 tom@10.0.0.49: No space left on device 100% 100mb 13.1mb/s 00:08
    Code:
    [858.822573] systemd-journald[413]: Failed to create new systems journal:No space left on device

    I thought this might help is this normal
    Code:
    Leap-Server:~> df -Th
    Filesystem     Type      Size  Used Avail Use% Mounted on
    devtmpfs       devtmpfs  3.9G     0  3.9G   0% /dev
    tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
    tmpfs          tmpfs     3.9G  2.0M  3.9G   1% /run
    tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
    /dev/sda6      btrfs      41G   40G   68K 100% /
    /dev/sdb2      ext4      573G   70M  544G   1% /mnt/Videos
    /dev/sda6      btrfs      41G   40G   68K 100% /.snapshots
    /dev/sda6      btrfs      41G   40G   68K 100% /var/spool
    /dev/sda6      btrfs      41G   40G   68K 100% /var/crash
    /dev/sda6      btrfs      41G   40G   68K 100% /srv
    /dev/sda6      btrfs      41G   40G   68K 100% /usr/local
    /dev/sda6      btrfs      41G   40G   68K 100% /var/opt
    /dev/sda6      btrfs      41G   40G   68K 100% /tmp
    /dev/sda6      btrfs      41G   40G   68K 100% /var/tmp
    /dev/sda6      btrfs      41G   40G   68K 100% /boot/grub2/x86_64-efi
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/mysql
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/named
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/pgsql
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/libvirt/images
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/mariadb
    /dev/sda6      btrfs      41G   40G   68K 100% /var/cache
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/machines
    /dev/sda6      btrfs      41G   40G   68K 100% /boot/grub2/i386-pc
    /dev/sda6      btrfs      41G   40G   68K 100% /opt
    /dev/sda6      btrfs      41G   40G   68K 100% /var/log
    /dev/sda6      btrfs      41G   40G   68K 100% /var/lib/mailman
    /dev/sda7      xfs       423G  1.8G  421G   1% /home
    tmpfs          tmpfs     795M     0  795M   0% /run/user/0
    tmpfs          tmpfs     795M     0  795M   0% /run/user/1000
    All of /dev/sda6 are at 100%, i also have to press crtl+c to get back to the prompt
    I should mention this is the minimal install i think its called Leap42 Server
    Your help is appreciated
    Thank you

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,364
    Blog Entries
    15

    Default Re: No space left on device

    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Europe
    Posts
    376

    Default Re: No space left on device

    I see that your root partition ( / on /dev/sda6 ) is 40 GB .

    I had same problem. ( https://forums.opensuse.org/showthre...e-stop-snapper )

    File system btrfs is not able to handle little disk space like 40 GB .

    My opinion is clear : re-install your system and use ext4 instead of btrfs .

    I thought that my 42.2 would resist but it failed a few weeks ago and i lost some important personal datas. And i lost two days to understand, retrieve datas, and re-install .

    So, if little root partition, forget about btrfs and use ext4 since btrfs is not able to use 40GB .

    Other solution : use btrfs but reinsall with only one very large partition on your whole disk = no separate /home .

  4. #4
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    277

    Default Re: No space left on device

    id have to disagree on the 40gb. I have 26gb total with 8gb free, a few extra gb space would be more optimal.

    1) sudo btrfs filesystem usage -h / (to get better idea of usage)
    2) sudo snapper list (to get snapshots)
    3) find out whats taking so much space
    4) out of disk space is not good on btrfs (sort the problem before this occurs) [but can be recovered]

  5. #5

    Default Re: No space left on device

    Thank you , Christophe_deR, ndc33 I looked at the link posted above , in the end i only gained 416kb. ndc33, I think I will give your suggestion a try first. I don't want to reinstall because I have an encrypted partition on another disk, on my system. Thank you, I probably will need more advice PS thank you malcomlewis

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,364
    Blog Entries
    15

    Default Re: No space left on device

    Quote Originally Posted by Subzero01 View Post
    Thank you , Christophe_deR, ndc33 I looked at the link posted above , in the end i only gained 416kb. ndc33, I think I will give your suggestion a try first. I don't want to reinstall because I have an encrypted partition on another disk, on my system. Thank you, I probably will need more advice PS thank you malcomlewis
    Hi
    So what is the output from;
    Code:
    snapper list
    btrfs fi usage /
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2 (x86_64) GNOME 3.20.2
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7

    Default Re: No space left on device

    Code:
    snapper list
    Type   | # | Pre # | Date                     | User | Cleanup | Description           | Userdata     
    -------+---+-------+--------------------------+------+---------+-----------------------+--------------
    single | 0 |       |                                           | root |                   | current                  |              
    single | 1 |       | Mon Oct  2 12:58:14 2017    | root |                   | first root filesystem |              
    single | 2 |       | Mon Oct  2 13:04:27 2017    | root | number       | after installation      | important=yes
    pre    | 3 |        | Sun Oct  8 15:17:53 2017    | root | number       | yast firewall            |              
    post   | 4 | 3     | Sun Oct  8 15:22:32 2017    | root | number  |                       |


    Code:
    Leap-Server:~>btrfs fi usage /
    Overall:
        Device size:          40.00GiB
        Device allocated:          40.00GiB
        Device unallocated:           1.00MiB
        Device missing:             0.00B
        Used:              39.65GiB
        Free (estimated):         252.00KiB    (min: 252.00KiB)
        Data ratio:                  1.00
        Metadata ratio:              2.00
        Global reserve:          48.00MiB    (used: 0.00B)
    
    Data,single: Size:39.44GiB, Used:39.44GiB
       /dev/sda6      39.44GiB
    
    Metadata,DUP: Size:256.00MiB, Used:110.20MiB
       /dev/sda6     512.00MiB
    
    System,DUP: Size:32.00MiB, Used:16.00KiB
       /dev/sda6      64.00MiB
    
    Unallocated:
       /dev/sda6       1.00MiB

  8. #8
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,539

    Default Re: No space left on device

    Well does not look like Snapper is the culprit. Maybe a runaway log file???

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    23,364
    Blog Entries
    15

    Default Re: No space left on device

    On Tue 07 Nov 2017 01:16:01 AM CST, gogalthorp wrote:

    Well does not look like Snapper is the culprit. Maybe a runaway log
    file???


    Hi
    Or core dumps...

    @OP can you check coredumps, clean out the logs and rebalance;

    Code:
    coredumpctl list
    journalctl --vacuum-time=2d
    /etc/cron.weekly/btrfs-balance
    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.2|GNOME 3.20.2|4.4.90-18.32-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!


  10. #10

    Default Re: No space left on device

    Hi,
    sustemctl failed to start at boot, don't know why just happened when i booted today

    coredumpctl returned : No coredumps found

    Code:
    Before balance of /
    Data, single: total=39.44GiB, used=39.41GiB
    System, DUP: total=32.00MiB, used=16.00KiB
    Metadata, DUP: total=256.00MiB, used=116.28MiB
    GlobalReserve, single: total=48.00MiB, used=0.00B
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6        43G   43G   27M 100% /
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=1
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=5
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=10
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=20
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=30
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=40
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x1, state 0x0, force is off
      DATA (flags 0x2): balancing, usage=50
    Done, had to relocate 0 out of 49 chunks
    Done, had to relocate 0 out of 49 chunks
    Dumping filters: flags 0x6, state 0x0, force is off
      METADATA (flags 0x2): balancing, usage=1
      SYSTEM (flags 0x2): balancing, usage=1
    Dumping filters: flags 0x6, state 0x0, force is off
      METADATA (flags 0x2): balancing, usage=5
      SYSTEM (flags 0x2): balancing, usage=5
    Dumping filters: flags 0x6, state 0x0, force is off
      METADATA (flags 0x2): balancing, usage=10
      SYSTEM (flags 0x2): balancing, usage=10
    Dumping filters: flags 0x6, state 0x0, force is off
      METADATA (flags 0x2): balancing, usage=20
      SYSTEM (flags 0x2): balancing, usage=20
    Dumping filters: flags 0x6, state 0x0, force is off
      METADATA (flags 0x2): balancing, usage=30
      SYSTEM (flags 0x2): balancing, usage=30
    After balance of /
    Data, single: total=39.44GiB, used=39.41GiB
    System, DUP: total=32.00MiB, used=16.00KiB
    Metadata, DUP: total=256.00MiB, used=116.28MiB
    GlobalReserve, single: total=48.00MiB, used=0.00B
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda6        43G   43G   27M 100% /
    This was suggested at the end of one of the commands, I hope it is usefull
    dmesg | tail
    Code:
    [  544.476414] BTRFS info (device sda6): 1 enospc errors during balance
    [  544.624226] BTRFS info (device sda6): 2 enospc errors during balance
    [  544.818737] BTRFS info (device sda6): 2 enospc errors during balance
    [  545.027225] BTRFS info (device sda6): 2 enospc errors during balance
    [  545.207055] BTRFS info (device sda6): 2 enospc errors during balance
    [  575.462068] BTRFS info (device sda6): 1 enospc errors during balance
    [  575.676359] BTRFS info (device sda6): 2 enospc errors during balance
    [  575.861161] BTRFS info (device sda6): 2 enospc errors during balance
    [  576.058713] BTRFS info (device sda6): 2 enospc errors during balance
    [  576.211070] BTRFS info (device sda6): 2 enospc errors during balance
    Thank you

Page 1 of 2 12 LastLast

Posting Permissions

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