[systemd-devel] [Help] Can't log in to homed user account: "No space left on device"

Andrei Borzenkov arvidjaar at gmail.com
Sun Aug 23 12:47:37 UTC 2020


23.08.2020 15:34, Andrii Zymohliad пишет:
>> Here is the log after authentication attempt: https://gitlab.com/-/snippets/2007113
>> And just in case here is the full log since boot: https://gitlab.com/-/snippets/2007112
> 
> Sorry, links are broken, re-uploaded:
> 
> Authentication part: https://gitlab.com/-/snippets/2007123
> Full log: https://gitlab.com/-/snippets/2007124
> 

Yes, as suspected:

> сер 23 14:12:48 az-wolf-pc systemd-homed[917]: Not enough disk space
to fully allocate home.

This comes from

        if (fallocate(backing_fd, FALLOC_FL_KEEP_SIZE, 0, st->st_size) <
0) {

...
                if (ERRNO_IS_DISK_SPACE(errno)) {
                        log_debug_errno(errno, "Not enough disk space to
fully allocate home.");
                        return -ENOSPC; /* make recognizable */
                }

                return log_error_errno(errno, "Failed to allocate
backing file blocks: %m");
        }

So fallocate syscall failed. Try manually

fallocate -l 403G -n /home/azymohliad.home

if it fails too, the question is better asked on btrfs list.


More information about the systemd-devel mailing list