Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1309838ybi; Fri, 12 Jul 2019 13:29:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFg1LDFwKkPWiVNyvdu/DseUomWwe2CSfa336NJRwc/r2/nN30dfafA8dI1w7BUGqvKeoO X-Received: by 2002:a17:902:9004:: with SMTP id a4mr13961437plp.109.1562963344884; Fri, 12 Jul 2019 13:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562963344; cv=none; d=google.com; s=arc-20160816; b=MwtdOdHUhqHh5kGSLZX1pGE+ypNUdMR+azqJx5ZH+g33uXL+qmRqzJoD7CTNkFQYoK EtPUSGVtX5GU6WISKtxHSaCYn6AzVdxSxphLNGV8dDJRITqpq5ggpLufS0lUZjdvNWxB h4r6V76dPsNlNFAqELwYSex5atUIKCt7iAEaP1e8NtVX/a1We4FO/fDYULiM15RjfYQy Qx+VS4JwJTAfJaQRg1oR6V06o9c+0KLj2NHsXpwf4hYzwCHa1WDK7oT9BGII/4TGJrWJ GW6HVX5tZz437nCyiBODUPUrauKqZTxE07BdubieS8pnocoMadrdxdujBvRKKLkUv0KL u2oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=L+NrwvuceMSlozsgO1igbjZrJr86zj71VZkiDJRiHpo=; b=0nIZntrrL4Qp5qH4q9qsbE4nMiGXvW+z+nb8guObKRwvvaA0WvVoNkut/fulgHwebm F67GMmjaNbLIYn5JypBNy//nLgmcIQn5k6jgRBdTbKQDh/ySM2HLvWyYXRFhlHgf+tDi y9pVp/gaNOxx23uddp5kFpRrk4fLbQi37Hw5Rx/mpu7myr3Bmj+uKTSBjQX741LYKNRi KYnqSIPr01a5OiVZNI+Bq2eu8DBC+KXOi7/EUlwnTr7hQqC5p2HFjRyTofKBNPXuFYxM mLTfkviqnpp7LYVQGbjfgbiAADEKltsxkODV4c65/WeocmHfI5AYbul351jSw2w4fT8p MAxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si8997754pgq.137.2019.07.12.13.28.43; Fri, 12 Jul 2019 13:29:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727538AbfGLU2m (ORCPT + 99 others); Fri, 12 Jul 2019 16:28:42 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:58003 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727118AbfGLU2m (ORCPT ); Fri, 12 Jul 2019 16:28:42 -0400 Received: from callcc.thunk.org (guestnat-104-133-8-97.corp.google.com [104.133.8.97] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x6CKSSL6001248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jul 2019 16:28:29 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id DEDDE420036; Fri, 12 Jul 2019 16:28:27 -0400 (EDT) Date: Fri, 12 Jul 2019 16:28:27 -0400 From: "Theodore Ts'o" To: Thomas Walker Cc: Geoffrey Thomas , "'Jan Kara'" , "'linux-ext4@vger.kernel.org'" , "Darrick J. Wong" Subject: Re: Phantom full ext4 root filesystems on 4.1 through 4.14 kernels Message-ID: <20190712202827.GA16730@mit.edu> References: <9abbdde6145a4887a8d32c65974f7832@exmbdft5.ad.twosigma.com> <20181108184722.GB27852@magnolia> <20190123195922.GA16927@twosigma.com> <20190626151754.GA2789@twosigma.com> <20190711092315.GA10473@quack2.suse.cz> <96c4e04f8d5146c49ee9f4478c161dcb@EXMBDFT10.ad.twosigma.com> <20190711171046.GA13966@mit.edu> <20190712191903.GP2772@twosigma.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190712191903.GP2772@twosigma.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Jul 12, 2019 at 03:19:03PM -0400, Thomas Walker wrote: > Clearing orphaned inode 1048838 (uid=0, gid=4, mode=0100640, size=39006841856) > Of particular note, ino 1048838 matches the size of the space that we "lost". Hmmm... what's gid 4? Is that a hint of where the inode might have come from? Can you try the this experiment of e2image... e2fsck, but add a "cp --sparse" of the e2i file between the e2image and e2fsck step? Then when you can identify the inode that has the huge amount of the orphaned space, try grab the first couple of blocks, and then run "file" on the first part of the file, which might help you identify where the file came from. Is it an ISO file? etc. The goal is to come up with a repeatable way of forcing the failure, so we can understand the root cause of the "lost space". The fact that it's an orphaned inode means that something was hanging onto the inode. The question is what part of the kernel was keeping the ref count elevated. Thanks, - Ted