Results 1 to 4 of 4

Thread: URGENT:Unable to boot, write lastlog failed: No space left

Hybrid View

  1. #1

    URGENT:Unable to boot, write lastlog failed: No space left

    Good day!

    Would appreciate if anyone can help me as we badly need help on our production environment.
    All of a sudden pops a message that disk is full so we deleted some file on root but after checking using
    Code:
    df -h
    it still shows that 100% is Use even though 91Gb out of 100Gb is being used.

    So we tried rebooting the server to refresh reclaim the storage and that's when it got worse.
    Server no longer boots and just display terminal with the messages below.

    https://imgur.com/XczmUNd

    Thanks in advance.

    Rob
    Last edited by rrbacalan03; 13-Oct-2019 at 04:11.

  2. Re: URGENT:Unable to boot, write lastlog failed: No space le

    Hi and welcome to the Forum
    You need to clean up the snapper snapshots first and then run the btrfs maintenance routines to clean up and recover space....

    https://en.opensuse.org/SDB:BTRFS
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    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

    Re: URGENT:Unable to boot, write lastlog failed: No space le

    Man, you're a life-saver!!!
    Thank you so much!!!

    We were able to boot to Gnome after deleting several snapshots and was able to run balance command.

    If you don't mind, I would also like to clarify below(sorry,still a newbie)
    1. I'm aware that we need to free-up space but is it possible that the metadata can fill up due to system activities(system update, crash logs, etc.)
    2. I just tried transferring(cut and paste) 20Gb of files(from /usr/sap/ folder) to another partition but only around 5Gb has been freed up and %Use is still the same. Do I need to run the balance command again? Is this a maintenance thing I should perform regularly?

    Again, thank you so much!

  4. Re: URGENT:Unable to boot, write lastlog failed: No space le

    Quote Originally Posted by rrbacalan03 View Post
    Man, you're a life-saver!!!
    Thank you so much!!!

    We were able to boot to Gnome after deleting several snapshots and was able to run balance command.

    If you don't mind, I would also like to clarify below(sorry,still a newbie)
    1. I'm aware that we need to free-up space but is it possible that the metadata can fill up due to system activities(system update, crash logs, etc.)
    2. I just tried transferring(cut and paste) 20Gb of files(from /usr/sap/ folder) to another partition but only around 5Gb has been freed up and %Use is still the same. Do I need to run the balance command again? Is this a maintenance thing I should perform regularly?

    Again, thank you so much!
    Hi
    You need to look at the snapper config file in /etc/snapper/configs/root and modify the amount of snapshots kept, clean up snapshots again and run the balance routines a few times should help.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Bookmarks

Posting Permissions

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