linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: Andrii Zymohliad <azymohliad@protonmail.com>
Cc: Chris Murphy <lists@colorremedies.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>,
	Andrei Borzenkov <arvidjaar@gmail.com>
Subject: Re: [Help] Can't login to my systemd-homed user account due to fallocate failure
Date: Wed, 26 Aug 2020 15:06:01 -0600	[thread overview]
Message-ID: <CAJCQCtQZW2ps1i4b6kGBd_d8icYZWyz5Ha+Ozo0VjsbvVNf03w@mail.gmail.com> (raw)
In-Reply-To: <gp99KJ83xX5hsbU2_hXblYTSDI6Rmkk2fbRYAcKNoQik1CH8siYdTw11qFuFdAqo-iC48cJcB_vbMJgY8HuSySoWoBW3hcYHewIgB87Kzzw=@protonmail.com>

On Wed, Aug 26, 2020 at 1:57 PM Andrii Zymohliad
<azymohliad@protonmail.com> wrote:
>
> > Actually, if you can reproduce the fallocate problem and strace it,
> > that would be helpful. For sure, homectl deactivate, for starters. And
> > then just 'strace fallocate' that file the same way you did
> > previously. I assume it still fails. Put that strace into a text file
> > or pastebin (month expiration should be enough) and link it.
>
> Yep, still fails. Here's the one with exactly the same arguments as before (-l 403G): https://gitlab.com/-/snippets/2008996
>
> But I did "homectl resize azymohliad 300G" so now "ls -lhs" reports:
>
>     228G -rw------- 1 root root 300G сер 26 22:50 /home/azymohliad.home
>
> But even "fallocate -l 300G -n /home/azymohliad.home" fails the same way. Here's strace: https://gitlab.com/-/snippets/2008993
>
> (I hope gitlab is ok too, you can add /raw to URLs to get raw txt file)
>
>
> > And also paste into your reply:
> >
> > grep -r . /sys/fs/btrfs/<uuidofbtrfs>/allocation/
>
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/disk_used:474251264
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/bytes_pinned:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/bytes_used:474251264
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/single/used_bytes:474251264
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/single/total_bytes:1073741824
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/total_bytes_pinned:163840
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/disk_total:1073741824
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/total_bytes:1073741824
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/bytes_reserved:163840
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/bytes_readonly:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/bytes_may_use:74252288
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/metadata/flags:4
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/disk_used:81920
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/bytes_pinned:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/bytes_used:81920
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/single/used_bytes:81920
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/single/total_bytes:33554432
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/total_bytes_pinned:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/disk_total:33554432
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/total_bytes:33554432
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/bytes_reserved:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/bytes_readonly:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/bytes_may_use:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/system/flags:2
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/global_rsv_reserved:68730880
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/disk_used:314346594304
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/bytes_pinned:0
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/bytes_used:314346594304
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/single/used_bytes:314346594304
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/single/total_bytes:510463901696
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/total_bytes_pinned:4096
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/disk_total:510463901696
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/total_bytes:510463901696
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/bytes_reserved:4096
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/bytes_readonly:131072
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/bytes_may_use:4096
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/data/flags:1
>     /sys/fs/btrfs/b68411ce-702a-4259-9121-ac21c9119ddf/allocation/global_rsv_size:68730880
>
> I also added this output to the collection here: https://gitlab.com/-/snippets/2007189
> I'll keep all those gitlab snippets that I shared in this thread online for a while (some months at least).

OK is the sysfs output from before or after the homectl resize? And it
matches with the second strace fallocate -l 300g ?


-- 
Chris Murphy

  reply	other threads:[~2020-08-26 21:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-23 15:31 [Help] Can't login to my systemd-homed user account due to fallocate failure Andrii Zymohliad
2020-08-23 15:37 ` Hugo Mills
2020-08-23 16:21   ` Andrei Borzenkov
2020-08-23 16:55     ` Andrii Zymohliad
2020-08-23 18:16       ` Andrei Borzenkov
2020-08-23 18:49         ` Andrii Zymohliad
2020-08-24  3:01           ` Chris Murphy
2020-08-24  2:23   ` Chris Murphy
2020-08-24  2:50 ` Chris Murphy
2020-08-24  6:11   ` Andrii Zymohliad
2020-08-24  7:13     ` Chris Murphy
2020-08-24  7:25       ` Andrii Zymohliad
2020-08-24  8:28         ` Andrii Zymohliad
2020-08-24  8:32           ` Andrii Zymohliad
2020-08-24 18:51             ` Chris Murphy
2020-08-25  7:22               ` Andrii Zymohliad
2020-08-25 19:05                 ` Chris Murphy
2020-08-25 20:47                   ` Andrii Zymohliad
2020-08-25 22:34                     ` Chris Murphy
2020-08-26 13:37                       ` Andrii Zymohliad
2020-08-26 13:40                         ` Andrii Zymohliad
2020-08-26 19:06                           ` Chris Murphy
     [not found]                             ` <dHPyoaNUuxoqxJjpSUjcxZvk21ew2ObKWFFhX0efJKBqjG8m27px3mPupviQuM3HYQDEcYQGFQ9jOprBuAX4x1Em3oVOyDl6EhKwEJSiuXs=@protonmail.com>
2020-08-26 19:15                               ` Chris Murphy
2020-08-26 19:57                                 ` Andrii Zymohliad
2020-08-26 21:06                                   ` Chris Murphy [this message]
2020-08-26 21:08                                     ` Chris Murphy
2020-08-26 21:14                                       ` Chris Murphy
2020-08-27  6:48                                         ` Andrii Zymohliad
2020-09-01 15:01                                           ` Chris Murphy
2020-09-01 17:06                                             ` Andrii Zymohliad
2020-09-01 17:22                                               ` Chris Murphy
2020-09-01 17:27                                                 ` Andrii Zymohliad
2020-09-01 17:31                                                   ` Andrii Zymohliad
2020-09-01 20:45                                                     ` Chris Murphy
2020-09-02 16:35                                                     ` Chris Murphy
2020-08-27  5:39                             ` Andrei Borzenkov
2020-08-24 15:23       ` Andrei Borzenkov
2020-08-24 17:42         ` Goffredo Baroncelli
     [not found] <bdJVxLiFr=5FPyQSXRUbZJfFW=5FjAjsGgoMetqPHJMbg-hdy54Xt=5FZHhRetmnJ6cJ99eBlcX76wy-AvWwV715c3YndkxneSlod11P1hlaADx0s=3D@protonmail.com>
     [not found] ` <CAJCQCtTC2yi4HRqg6fkMrxw33TVSBh=5FyAKtnX-Z1-nXSVjBW7w@mail.gmail.com>
     [not found]   ` <Yy8-04dbNru1LWPcNZ9UxsagH1b0KNsGn7tDEnxVOqS812IqGiwl37dj4rxAh05gEP8QoNJ5F=5FEa6CZ8iZgvnupuq5Qzc38gl69MceWMc9s=3D@protonmail.com>
     [not found]     ` <CAJCQCtSqe=5FoqRZWYP7iLJcGQnzZkC4vmoYVTm=5F9RPb8eb0-E6Q@mail.gmail.com>
     [not found]       ` <BfU9s11rmWxGNQdKqifkB1JKOJcgqAN49OZdV4LAOgo1W2AguRebwCPVosOiMVjMTzuSmsk=5FEfbkl02s31niRqtCS67WJ9S7=5Fs4jiK9afeA=3D@protonmail.com>
     [not found]         ` <E212ihR5U8HVCyaalepkxQUX3wOj6IXd1yUFHj-PFFtyU7ma-A49vmB8QwfQG5gUVo2nCMbVpPo7C2ccooRO0ExVrIbdLP9sBpnjMOcefHo=3D@protonmail.com>
     [not found]           ` <lyGE8gPEf9cUEMJceWoJWD=5Fibk4viZXU0yG5VzbNe9yueGbkcnl1FkJrFZZufhWd5y2vNOgAwfYSpJ4Gia5Tow4wdmQXiGuETdyuNmnemJY=3D@protonmail.com>
     [not found]             ` <CAJCQCtR3gbJxJn24qyDfHWh9kQG7BSC=3DNnoGHmRKPnaQ+P7yyg@mail.gmail.com>
     [not found]               ` <8oT9s0Jlzpgp2ctPAXOixSR03oOiPXaitR0AiOkNdBsYHwjPMfjK7CoVAPXuvj71hiUTH-fKoSevAM-To8iSPPBvGRvZeBkU0Nd1=5F NPonyU=3D?= =?us-ascii?Q?@protonmail.com>
     [not found]                 ` <CAJCQCtQH3h=3DNNr6PX3HZp7SbkgqZtNNdihi4aBMFvx+DN79XeA@mail.gmail.com>
     [not found]                   ` <6LDov933WqF3kLH8jtkEh-pfK6pRe0o6-Y9l3NcO2mVhswDL7rhbHyda71OnztoJKfgqqQT9jj1Ba52lz=5FugNFmmRtzN33BlSa5pCvds0F8=3D@protonmail.com>
     [not found]                     ` <CAJCQCtQDt=3Dx7WCX7KhWz=5FpPn4yB1YdZm9jN29jRuQ DFy=3DZTO?= =?us-ascii?Q?jA@mail.gmail.com>

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=CAJCQCtQZW2ps1i4b6kGBd_d8icYZWyz5Ha+Ozo0VjsbvVNf03w@mail.gmail.com \
    --to=lists@colorremedies.com \
    --cc=arvidjaar@gmail.com \
    --cc=azymohliad@protonmail.com \
    --cc=linux-btrfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).