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

2020-09-04 Thread Lennart Poettering
On Mo, 24.08.20 01:24, Chris Murphy (li...@colorremedies.com) wrote: > User reports this from 'homectl inspect' > > LUKS Discard: online=no offline=yes > > Does this mean 'fstrim' is issued before luksClose? And 'fallocate' is > issued before luksOpen? Yes. Lennart -- Lennart Poettering,

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

2020-09-04 Thread Lennart Poettering
On So, 23.08.20 06:34, Andrii Zymohliad (azymohl...@protonmail.com) wrote: > Thanks for taking time to read this far! Is there anything obvious > here that I can do to fix it? Or any hints where to look? So as you figured out by now this is due to homed's "discard" handling. At logout we'll

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

2020-08-24 Thread Chris Murphy
On Mon, Aug 24, 2020 at 2:44 AM Andrii Zymohliad wrote: > > > I suspect that the workaround until > > this is figured out why the fallocate fails (I suspect shared extents, > > there's evidence this home file has been snapshot and I don't know > > what effect that has on fallocating the file) is

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

2020-08-24 Thread Andrei Borzenkov
23.08.2020 09:34, Andrii Zymohliad пишет: > Hello! I've lost the ability to log in to my systemd-homed user account. I > would be very grateful for any help! > > If I log in as root and try to authenticate: > > # homectl authenticate azymohliad > > Then after typing my password I get the

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

2020-08-24 Thread Andrii Zymohliad
> I suspect that the workaround until > this is figured out why the fallocate fails (I suspect shared extents, > there's evidence this home file has been snapshot and I don't know > what effect that has on fallocating the file) is to use > --luks-discard=true ? That should avoid the need to

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

2020-08-24 Thread Chris Murphy
On Sun, Aug 23, 2020 at 6:47 AM Andrei Borzenkov wrote: > > 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 >

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

2020-08-23 Thread 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:

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

2020-08-23 Thread Andrii Zymohliad
> As far as I can tell if discards are disabled, systemd tries to allocate > full size of backing file. It is possible that there is simply not > enough space to ensure full 400G (i.e. available space it consumed by > something else). Are there are snapshots Sorry, I think I lack some

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

2020-08-23 Thread Andrei Borzenkov
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:

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

2020-08-23 Thread Andrii Zymohliad
Hello! I've lost the ability to log in to my systemd-homed user account. I would be very grateful for any help! If I log in as root and try to authenticate: # homectl authenticate azymohliad Then after typing my password I get the following output: Operation on home azymohliad failed: Not

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

2020-08-23 Thread Andrei Borzenkov
23.08.2020 09:34, Andrii Zymohliad пишет: > Hello! I've lost the ability to log in to my systemd-homed user account. I > would be very grateful for any help! > > If I log in as root and try to authenticate: > > # homectl authenticate azymohliad > > Then after typing my password I get the