All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane@colin.guthr.ie>
To: linux-btrfs@vger.kernel.org
Cc: systemd-devel@lists.freedesktop.org
Subject: Re: No space left errors on shutdown with systemd-homed /home dir
Date: Tue, 31 May 2022 13:44:28 +0100	[thread overview]
Message-ID: <t752jd$pjm$1@ciao.gmane.io> (raw)
In-Reply-To: <CAEg-Je9rr4Y7JQbD3iO1UqMy48j7feAXFFeaqpJc6eP7FSduEw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3398 bytes --]

Hi,

Neal Gompa wrote on 01/02/2022 19:55:
> On Tue, Feb 1, 2022 at 2:02 PM Colin Guthrie <colin@booksterhq.com> wrote:
>>
>> Goffredo Baroncelli wrote on 30/01/2022 09:27:
>>> On 29/01/2022 19.01, Chris Murphy wrote:
>>>> On Sat, Jan 29, 2022 at 2:53 AM Goffredo Baroncelli
>>>> <kreijack@libero.it> wrote:
>>>>>
>>>>> I think that for the systemd uses cases (singled device FS), a simpler
>>>>> approach would be:
>>>>>
>>>>>        fstatfs(fd, &sfs)
>>>>>        needed = sfs.f_blocks - sfs.f_bavail;
>>>>>        needed *= sfs.f_bsize
>>>>>
>>>>>        needed = roundup_64(needed, 3*(1024*1024*1024))
>>>>>
>>>>> Comparing the original systemd-homed code, I made the following changes
>>>>> - 1) f_bfree is replaced by f_bavail (which seem to be more
>>>>> consistent to the disk usage; to me it seems to consider also the
>>>>> metadata chunk allocation)
>>>>> - 2) the needing value is rounded up of 3GB in order to consider a
>>>>> further 1 data chunk and 2 metadata chunk (DUP))
>>>>>
>>>>> Comments ?
>>>>
>>>> I'm still wondering if such a significant shrink is even indicated, in
>>>> lieu of trim. Isn't it sufficient to just trim on logout, thus
>>>> returning unused blocks to the underlying filesystem?
>>>
>>> I agree with you. In Fedora 35, and the default is ext4+luks+trim
>>> which provides the same results. However I remember that in the past the
>>> default
>>> was btrfs+luks+shrunk. I think that something is changed i.
>>>
>>> However, I want to provide do the systemd folks a suggestion ho change
>>> the code.
>>> Even a warning like: "it doesn't work that because this, please drop it"
>>> would be sufficient.
>>
>>
>> Out of curiosity (see other thread on the systemd list about this), what
>> it the current recommendation (by systemd/btrfs folks rather then Fedora
>> defaults) for homed machine partitioning?
>>
> 
> I'd probably recommend Btrfs with the /home subvolume set with
> nodatacow if you're going to use loops of LUKS backed Btrfs homedir
> images. The individual Btrfs loops will have their own COW anyway.
> 
> Otherwise, the Fedora defaults for Btrfs should be sufficient.

Thought I'd wait for Fedora 36 to be released with everything I need to 
test this setup.

Fell at the first hurdle of transferring my data in!

I transferred a subset of my data (240Gb) onto an external disk and used:

   homectl with colin -- rsync ...


The transfer worked but the colin.home file grew to 394Gb. Only about 
184Gb used (I presume due to compression).

Ultimately, this was then unmounted and while it said it could shrink 
the filesystem with a "Ready to..." message this either didn't happen or 
the backing file wasn't shrunk to match it. I did receive a message later

I'm not sure now where it's at with recovery but as nothing is strictly 
needed to make this work, I think I'll leave my playing with homed there 
for now and try again at some later date.

I love the whole idea but it's still a bit to bleeding edge and quirky 
for my daily driver just yet!


I've attached various logs in case they are useful (will post separately 
if the list removes this!)


Cheers

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited http://www.tribalogic.net/
Open Source:
   Mageia Contributor http://www.mageia.org/
   PulseAudio Hacker http://www.pulseaudio.org/
   Trac Hacker http://trac.edgewall.org/

[-- Attachment #2: 1.homectl-with-file-transfer.log --]
[-- Type: text/x-log, Size: 4398 bytes --]

May 31 09:30:11 colins-laptop systemd-homed[865]: colin: changing state inactive → activating-for-acquire
May 31 09:30:11 colins-laptop systemd-homework[8653]: Provided password unlocks user record.
May 31 09:30:11 colins-laptop systemd-homework[8653]: Successfully locked image file '/home/colin.home'.
May 31 09:30:11 colins-laptop systemd-homework[8653]: Backing file is fully allocated already.
May 31 09:30:11 colins-laptop systemd-homework[8653]: Setting up loopback device /dev/loop0 completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Setting up LUKS device /dev/mapper/home-colin completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Provided password unlocks user record.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Probing file system completed (found btrfs).
May 31 09:30:12 colins-laptop systemd-homework[8653]: File system check completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Mounting file system completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Discovered used loopback device /dev/loop0.
May 31 09:30:12 colins-laptop systemd-homework[8653]: offset = 1048576, size = 423003255296, image = 423004320768
May 31 09:30:12 colins-laptop systemd-homework[8653]: Ready to resize image size 393.9G → 458.1G, partition size 393.9G → 458.1G, file system size 393.9G → 458.0G.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Couldn't change image size.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Read embedded .identity file.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Provided password unlocks user record.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Reconciling user identities completed (host and header version were identical).
May 31 09:30:12 colins-laptop systemd-homework[8653]: Reconciling embedded user identity completed (host and embedded version were identical).
May 31 09:30:12 colins-laptop systemd-homework[8653]: Recursive changing of ownership not necessary, skipped.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Synchronized disk.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Moving to final mount point /home/colin completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Activation completed.
May 31 09:30:12 colins-laptop systemd-homework[8653]: Image size is 393.9G, file system size is 393.9G, file system payload size is 393.9G, file system free is 393.5G.
May 31 09:30:12 colins-laptop systemd-homed[865]: Home colin is signed exclusively by our key, accepting.
May 31 09:30:12 colins-laptop systemd-homed[865]: colin: changing state activating-for-acquire → active
May 31 09:30:12 colins-laptop systemd-homed[865]: Rebalancing complete.
May 31 09:39:47 colins-laptop systemd-homed[865]: Rebalancing complete.
May 31 09:49:23 colins-laptop systemd-homed[865]: Rebalancing complete.
May 31 09:58:25 colins-laptop systemd-homed[865]: Got notification that all sessions of user colin ended, deactivating automatically.
May 31 09:58:25 colins-laptop systemd-homed[865]: colin: changing state active → deactivating
May 31 09:58:25 colins-laptop systemd-homework[9567]: Discarded unused 212.6G.
May 31 09:58:26 colins-laptop systemd-homework[9567]: Syncing completed.
May 31 09:58:27 colins-laptop systemd-homework[9567]: Discovered used LUKS device /dev/mapper/home-colin, and validated password.
May 31 09:58:27 colins-laptop systemd-homework[9567]: Successfully re-activated LUKS device.
May 31 09:58:27 colins-laptop systemd-homework[9567]: Discovered used loopback device /dev/loop0.
May 31 09:58:27 colins-laptop systemd-homework[9567]: offset = 1048576, size = 423003255296, image = 423004320768
May 31 09:58:27 colins-laptop systemd-homework[9567]: Ready to resize image size 393.9G → 181.0G, partition size 393.9G → 181.0G, file system size 393.9G → 181.0G.
May 31 09:58:28 colins-laptop systemd-homework[9567]: Unmounting completed.
May 31 09:58:28 colins-laptop systemd-homework[9567]: Discovered used LUKS device /dev/mapper/home-colin.
May 31 09:58:28 colins-laptop systemd-homework[9567]: Device home-colin is not active.
May 31 09:58:28 colins-laptop systemd-homed[865]: block device /sys/devices/virtual/block/dm-0 has been removed.
May 31 09:58:28 colins-laptop systemd-homework[9567]: Everything completed.
May 31 09:58:28 colins-laptop systemd-homed[865]: colin: changing state deactivating → inactive


[-- Attachment #3: 2.homectl-with-test-after-reboot.log --]
[-- Type: text/x-log, Size: 2932 bytes --]

May 31 10:48:36 colins-laptop systemd[1]: Starting systemd-homed.service - Home Area Manager...
May 31 10:48:36 colins-laptop systemd-homed[861]: Successfully loaded private key pair.
May 31 10:48:36 colins-laptop systemd-homed[861]: Watching /home.
May 31 10:48:36 colins-laptop systemd-homed[861]: User record colin.identity is signed only by us, accepting.
May 31 10:48:36 colins-laptop systemd-homed[861]: Added registered home for user colin.
May 31 10:48:36 colins-laptop systemd[1]: Started systemd-homed.service - Home Area Manager.
May 31 10:50:19 colins-laptop systemd-homed[861]: colin: changing state inactive → activating-for-acquire
May 31 10:50:19 colins-laptop systemd-homework[2865]: None of the supplied plaintext passwords unlock the user record's hashed passwords.
May 31 10:50:19 colins-laptop systemd-homed[861]: Activation failed: Required key not available
May 31 10:50:19 colins-laptop systemd-homed[861]: colin: changing state activating-for-acquire → inactive
May 31 10:50:19 colins-laptop systemd-homed[861]: Got notification that all sessions of user colin ended, deactivating automatically.
May 31 10:50:19 colins-laptop systemd-homed[861]: Home colin already deactivated, no automatic deactivation needed.
May 31 10:50:22 colins-laptop systemd-homed[861]: colin: changing state inactive → activating-for-acquire
May 31 10:50:22 colins-laptop systemd-homework[2873]: Provided password unlocks user record.
May 31 10:50:22 colins-laptop systemd-homework[2873]: Successfully locked image file '/home/colin.home'.
May 31 10:50:22 colins-laptop systemd-homed[861]: Activation failed: No space left on device
May 31 10:50:22 colins-laptop systemd-homed[861]: colin: changing state activating-for-acquire → inactive
May 31 10:50:22 colins-laptop systemd-homed[861]: Got notification that all sessions of user colin ended, deactivating automatically.
May 31 10:50:22 colins-laptop systemd-homed[861]: Home colin already deactivated, no automatic deactivation needed.
May 31 11:25:45 colins-laptop systemd-homed[861]: colin: changing state inactive → authenticating
May 31 11:25:45 colins-laptop systemd-homework[4330]: None of the supplied plaintext passwords unlock the user record's hashed passwords.
May 31 11:25:45 colins-laptop systemd-homed[861]: Authentication failed: Required key not available
May 31 11:25:45 colins-laptop systemd-homed[861]: colin: changing state authenticating → inactive
May 31 11:25:48 colins-laptop systemd-homed[861]: colin: changing state inactive → authenticating
May 31 11:25:48 colins-laptop systemd-homework[4335]: Provided password unlocks user record.
May 31 11:25:48 colins-laptop systemd-homework[4335]: Successfully locked image file '/home/colin.home'.
May 31 11:25:48 colins-laptop systemd-homed[861]: Authentication failed: No space left on device
May 31 11:25:48 colins-laptop systemd-homed[861]: colin: changing state authenticating → inactive


[-- Attachment #4: 3.homectl-with-test-debug.log --]
[-- Type: text/x-log, Size: 10256 bytes --]

May 31 11:31:46 colins-laptop systemd-homed[861]: Setting log level to debug.
May 31 11:31:46 colins-laptop systemd-homed[861]: Sent message type=method_return sender=n/a destination=:1.144 path=n/a interface=n/a member=n/a cookie=41 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: New incoming connection.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: Connections of user 0: 0 (of 1024 max)
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Setting state idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: New incoming message: {"method":"io.systemd.UserDatabase.GetUserRecord","parameters":{"userName":"colin","service":"io.systemd.Home"}}
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → processing-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Sending message: {"parameters":{"record":{"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid">
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-method → processed-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processed-method → idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Got POLLHUP from socket.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → pending-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state pending-disconnect → processing-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-disconnect → disconnected
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: New incoming connection.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: Connections of user 0: 0 (of 1024 max)
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Setting state idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: New incoming message: {"method":"io.systemd.UserDatabase.GetUserRecord","parameters":{"userName":"colin","service":"io.systemd.Home"}}
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → processing-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Sending message: {"parameters":{"record":{"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid">
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-method → processed-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processed-method → idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Got POLLHUP from socket.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → pending-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state pending-disconnect → processing-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-disconnect → disconnected
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: New incoming connection.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: Connections of user 0: 0 (of 1024 max)
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Setting state idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: New incoming message: {"method":"io.systemd.UserDatabase.GetUserRecord","parameters":{"userName":"colin","service":"io.systemd.Home"}}
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → processing-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Sending message: {"parameters":{"record":{"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid">
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-method → processed-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processed-method → idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Got POLLHUP from socket.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → pending-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state pending-disconnect → processing-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-disconnect → disconnected
May 31 11:32:06 colins-laptop systemd-homed[861]: Got message type=method_call sender=:1.145 destination=org.freedesktop.home1 path=/org/freedesktop/home1 interface=org.freedesktop.home1.Manager member=AcquireHome cookie=2 reply_cookie=0>
May 31 11:32:06 colins-laptop systemd-homed[861]: Sending to worker: {"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid":60242,"homeDirectory":"/home/coli>
May 31 11:32:06 colins-laptop systemd-homed[861]: Successfully forked off '(sd-homework)' as PID 4678.
May 31 11:32:06 colins-laptop systemd-homed[861]: colin: changing state inactive → activating-for-acquire
May 31 11:32:06 colins-laptop systemd-homework[4678]: None of the supplied plaintext passwords unlock the user record's hashed passwords.
May 31 11:32:06 colins-laptop systemd-homed[861]: Worker reported error code ENOKEY.
May 31 11:32:06 colins-laptop systemd-homed[861]: Activation failed: Required key not available
May 31 11:32:06 colins-laptop systemd-homed[861]: Sent message type=error sender=n/a destination=:1.145 path=n/a interface=n/a member=n/a cookie=42 reply_cookie=2 signature=s error-name=org.freedesktop.home1.BadPassword error-message=Pas>
May 31 11:32:06 colins-laptop systemd-homed[861]: colin: changing state activating-for-acquire → inactive
May 31 11:32:06 colins-laptop systemd-homed[861]: Got notification that all sessions of user colin ended, deactivating automatically.
May 31 11:32:06 colins-laptop systemd-homed[861]: Home colin already deactivated, no automatic deactivation needed.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: New incoming connection.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink: Connections of user 0: 0 (of 1024 max)
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Setting state idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: New incoming message: {"method":"io.systemd.UserDatabase.GetUserRecord","parameters":{"userName":"colin","service":"io.systemd.Home"}}
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → processing-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Sending message: {"parameters":{"record":{"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid">
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-method → processed-method
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processed-method → idle-server
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Got POLLHUP from socket.
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state idle-server → pending-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state pending-disconnect → processing-disconnect
May 31 11:32:06 colins-laptop systemd-homed[861]: varlink-10: Changing state processing-disconnect → disconnected
May 31 11:32:09 colins-laptop systemd-homed[861]: Got message type=method_call sender=:1.145 destination=org.freedesktop.home1 path=/org/freedesktop/home1 interface=org.freedesktop.home1.Manager member=AcquireHome cookie=3 reply_cookie=0>
May 31 11:32:09 colins-laptop systemd-homed[861]: Sending to worker: {"binding":{"829fdf6bdee3486c90a4a34072f91754":{"fileSystemType":"btrfs","fileSystemUuid":"bc694cce-b5d7-4b25-99ff-df2be6ff9356","gid":60242,"homeDirectory":"/home/coli>
May 31 11:32:09 colins-laptop systemd-homed[861]: Successfully forked off '(sd-homework)' as PID 4681.
May 31 11:32:09 colins-laptop systemd-homed[861]: colin: changing state inactive → activating-for-acquire
May 31 11:32:09 colins-laptop systemd-homework[4681]: Provided password unlocks user record.
May 31 11:32:09 colins-laptop systemd-homework[4681]: Successfully locked image file '/home/colin.home'.
May 31 11:32:09 colins-laptop systemd-homed[861]: Successfully acquired LUKS lock fd from worker.
May 31 11:32:09 colins-laptop systemd-homed[861]: Worker reported error code ENOSPC.
May 31 11:32:09 colins-laptop systemd-homed[861]: Activation failed: No space left on device
May 31 11:32:09 colins-laptop systemd-homed[861]: Sent message type=error sender=n/a destination=:1.145 path=n/a interface=n/a member=n/a cookie=43 reply_cookie=3 signature=s error-name=org.freedesktop.home1.NoDiskSpace error-message=Not>
May 31 11:32:09 colins-laptop systemd-homed[861]: colin: changing state activating-for-acquire → inactive
May 31 11:32:09 colins-laptop systemd-homed[861]: Successfully closed LUKS backing file lock for colin.
May 31 11:32:09 colins-laptop systemd-homed[861]: /home/colin.home has been modified, having a look.
May 31 11:32:09 colins-laptop systemd-homed[861]: Found an image for user colin which already has a record, skipping.
May 31 11:32:09 colins-laptop systemd-homed[861]: /home/colin.home has been closed after writing, revalidating.
May 31 11:32:09 colins-laptop systemd-homed[861]: Got notification that all sessions of user colin ended, deactivating automatically.
May 31 11:32:09 colins-laptop systemd-homed[861]: Home colin already deactivated, no automatic deactivation needed.
May 31 11:32:09 colins-laptop systemd-homed[861]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/home1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=44 reply_cookie=0 signature=sa{sv>


[-- Attachment #5: 4.homectl-inspect.log --]
[-- Type: text/x-log, Size: 1120 bytes --]

[root@colins-laptop home]# homectl inspect colin
   User name: colin
       State: inactive
 Disposition: regular
 Last Change: Sun 2022-05-29 21:00:25 BST
 Last Passw.: Wed 2022-01-05 16:57:13 GMT
    Login OK: yes
 Password OK: yes
         UID: 60242
         GID: 60242 (colin)
 Aux. Groups: colin
              vboxusers
              wheel
   Real Name: Colin Guthrie
   Directory: /home/colin
     Storage: luks (strong encryption)
  Image Path: /home/colin.home
   Removable: no
       Shell: /bin/bash
LUKS Discard: online=no offline=yes
   LUKS UUID: 387b9bc6-6b58-489b-a7a7-f350e5a37609
   Part UUID: a394b420-012f-402e-8139-1d120180fd04
     FS UUID: bc694cce-b5d7-4b25-99ff-df2be6ff9356
 File System: btrfs
 LUKS Cipher: aes
 Cipher Mode: xts-plain64
  Volume Key: 256bit
 Mount Flags: nosuid nodev exec
   Disk Size: 393.9G
  Disk Floor: 256.0M
Disk Ceiling: 458.0G
  Good Auth.: 34
   Last Good: Tue 2022-05-31 09:30:12 BST
   Bad Auth.: 39
    Last Bad: Tue 2022-05-31 11:27:41 BST
    Next Try: anytime
 Auth. Limit: 30 attempts per 1min
   Passwords: 1
  Local Sig.: yes
     Service: io.systemd.Home


[-- Attachment #6: 5.btrfs-filesystem-usage.log --]
[-- Type: text/x-log, Size: 684 bytes --]

Overall:
    Device size:		 468.14GiB
    Device allocated:		 468.14GiB
    Device unallocated:		   1.00MiB
    Device missing:		     0.00B
    Used:			 191.65GiB
    Free (estimated):		 275.72GiB	(min: 275.72GiB)
    Free (statfs, df):		 275.72GiB
    Data ratio:			      1.00
    Metadata ratio:		      1.00
    Global reserve:		  21.12MiB	(used: 0.00B)
    Multiple profiles:		        no

Data,single: Size:467.13GiB, Used:191.41GiB (40.97%)
   /dev/nvme0n1p3	 467.13GiB

Metadata,single: Size:1.01GiB, Used:249.56MiB (24.18%)
   /dev/nvme0n1p3	   1.01GiB

System,single: Size:4.00MiB, Used:80.00KiB (1.95%)
   /dev/nvme0n1p3	   4.00MiB

Unallocated:
   /dev/nvme0n1p3	   1.00MiB


[-- Attachment #7: 6.dot-home-file-stats.log --]
[-- Type: text/x-log, Size: 825 bytes --]

[root@colins-laptop home]# ls -l /home/colin.home 
-rw-------. 1 root root 423004320768 May 31 09:58 /home/colin.home
[root@colins-laptop home]# ls -lh /home/colin.home 
-rw-------. 1 root root 394G May 31 09:58 /home/colin.home
[root@colins-laptop home]# stat /home/colin.home
  File: /home/colin.home
  Size: 423004320768	Blocks: 382312560  IO Block: 4096   regular file
Device: 0,41	Inode: 4708        Links: 1
Access: (0600/-rw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-05-31 11:32:09.964909547 +0100
Modify: 2022-05-31 09:58:27.983134041 +0100
Change: 2022-05-31 11:32:09.976909412 +0100
 Birth: -6024107610197374494.-683951100
[root@colins-laptop home]# du -sh /home/colin.home
183G	/home/colin.home
[root@colins-laptop home]# lsattr /home/colin.home 
---------------C------ /home/colin.home


  reply	other threads:[~2022-05-31 12:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 17:46 No space left errors on shutdown with systemd-homed /home dir Apostolos B.
2022-01-26 21:50 ` Boris Burkov
2022-01-26 22:07   ` Apostolos B.
2022-01-26 23:19     ` Boris Burkov
2022-01-26 23:29       ` Apostolos B.
2022-01-27  7:59         ` Wang Yugui
2022-01-27  8:51           ` Wang Yugui
2022-01-27 19:13         ` Goffredo Baroncelli
2022-01-27 20:48       ` Chris Murphy
2022-01-29  9:53         ` Goffredo Baroncelli
2022-01-29 18:01           ` Chris Murphy
2022-01-30  9:27             ` Goffredo Baroncelli
2022-01-31  9:41               ` Colin Guthrie
2022-02-01 19:55                 ` Neal Gompa
2022-05-31 12:44                   ` Colin Guthrie [this message]
2022-05-31 18:12                     ` Goffredo Baroncelli
2022-06-01  9:36                       ` Colin Guthrie
2022-07-23 19:09                         ` Chris Murphy
2022-02-01  4:26           ` Zygo Blaxell
2022-07-23 19:26             ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='t752jd$pjm$1@ciao.gmane.io' \
    --to=gmane@colin.guthr.ie \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=systemd-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.