From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N3Gtb-0008V7-Ov for mharc-grub-devel@gnu.org; Wed, 28 Oct 2009 18:21:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3GtZ-0008Sx-RH for grub-devel@gnu.org; Wed, 28 Oct 2009 18:21:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3GtU-0008MB-Ml for grub-devel@gnu.org; Wed, 28 Oct 2009 18:21:33 -0400 Received: from [199.232.76.173] (port=37873 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3GtU-0008Lz-HI for grub-devel@gnu.org; Wed, 28 Oct 2009 18:21:28 -0400 Received: from gold.linx.net ([195.66.232.40]:55482) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3GtU-000118-42 for grub-devel@gnu.org; Wed, 28 Oct 2009 18:21:28 -0400 Received: from localhost (localhost [127.0.0.1]) by gold.linx.net (Postfix) with ESMTP id 571EB10076 for ; Wed, 28 Oct 2009 22:21:17 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linx.net; h= x-mailer:mime-version:message-id:date:organization:content-type :from:subject:received:x-virus-scanned; s=dkim; t=1256768477; bh=3xjpnF2OmOcv6SH4f+GeV7OjCR34pzsfzus0I87puV0=; b=pFPpNv0JKu/q Y4a07xB4MzQXf0BQDZGIasy0QLYyBzUCCu+zuH5SPKFjzuLX0yCgH5EXxdJiSjL1 dCDPV1C03jweFfYE3dv/66UITkJLA6D82A5y/9AIsJXsQw0J1hWHc2NndpTbpxMU czFcmz4yDjOD8TSHLp4vn29CEOQ558M= X-Virus-Scanned: amavisd-new at linx.net Received: from [192.168.252.2] (5ad8425f.bb.sky.com [90.216.66.95]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tony@linx.net) by gold.linx.net (Postfix) with ESMTPSA id CD2291005F for ; Wed, 28 Oct 2009 22:21:16 +0000 (GMT) From: Tony Vroon To: grub-devel@gnu.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-PSG7RD/6EmP/cuT15nyT" Organization: London Internet Exchange (LINX; AS5459) Date: Wed, 28 Oct 2009 22:21:21 +0000 Message-Id: <1256768481.30393.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Repost: ~3TB ext4 volume not read correctly by ext2-fs driver in GRUB2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 22:21:34 -0000 --=-PSG7RD/6EmP/cuT15nyT Content-Type: multipart/mixed; boundary="=-y/YtD4bXIedD7AnsWCdv" --=-y/YtD4bXIedD7AnsWCdv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ladies and gentlemen, Reposting as this went unanswered. It would appear that the ext2-fs driver is not reliably able to read directories on my ~3TB / filesystem: /dev/root 3.4T 1.7T 1.6T 52% / /dev/root on / type ext4 (rw,noatime,barrier=3D1,data=3Dordered) Whilst doing some troubleshooting over IRC, I was given a debug patch. With this patch applied, I'll show you a working directory entry (/etc) and a non-working directory entry (/boot): prometheus ~ # grub-fstest -d ext2 -v /dev/sda3 ls /etc fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:651: iterating inode size=3D4096 mode=3D0x41ed fs/ext2.c:688: got filename: '.', type 2 fs/ext2.c:862: grub_fshelp_dir returning: 0 fs/ext2.c:651: iterating inode size=3D4096 mode=3D0x41ed fs/ext2.c:688: got filename: '.', type 2 fs/ext2.c:688: got filename: '..', type 2 fs/ext2.c:688: got filename: 'lost+found', type 2 fs/ext2.c:688: got filename: 'lib', type 7 fs/ext2.c:688: got filename: '.config', type 1 fs/ext2.c:688: got filename: 'sbin', type 2 fs/ext2.c:688: got filename: 'root', type 2 fs/ext2.c:688: got filename: 'mnt', type 2 fs/ext2.c:688: got filename: 'opt', type 2 fs/ext2.c:688: got filename: 'var', type 2 fs/ext2.c:688: got filename: 'usr', type 2 fs/ext2.c:688: got filename: 'dev', type 2 fs/ext2.c:688: got filename: 'lib32', type 2 fs/ext2.c:688: got filename: 'home', type 2 fs/ext2.c:688: got filename: 'tmp', type 2 fs/ext2.c:688: got filename: 'media', type 2 fs/ext2.c:688: got filename: 'sys', type 2 fs/ext2.c:688: got filename: 'cvs', type 2 fs/ext2.c:688: got filename: 'proc', type 2 fs/ext2.c:688: got filename: 'etc', type 2 fs/ext2.c:651: iterating inode size=3D0 mode=3D0x0 fs/ext2.c:862: grub_fshelp_dir returning: 0 prometheus ~ # grub-fstest -d ext2 -v /dev/sda3 ls /boot fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:862: grub_fshelp_dir returning: 9 fs/ext2.c:651: iterating inode size=3D4096 mode=3D0x41ed fs/ext2.c:688: got filename: '.', type 2 fs/ext2.c:862: grub_fshelp_dir returning: 0 fs/ext2.c:651: iterating inode size=3D4096 mode=3D0x41ed fs/ext2.c:688: got filename: '.', type 2 fs/ext2.c:688: got filename: '..', type 2 fs/ext2.c:688: got filename: 'lost+found', type 2 fs/ext2.c:688: got filename: 'lib', type 7 fs/ext2.c:688: got filename: '.config', type 1 fs/ext2.c:688: got filename: 'sbin', type 2 fs/ext2.c:688: got filename: 'root', type 2 fs/ext2.c:688: got filename: 'mnt', type 2 fs/ext2.c:688: got filename: 'opt', type 2 fs/ext2.c:688: got filename: 'var', type 2 fs/ext2.c:688: got filename: 'usr', type 2 fs/ext2.c:688: got filename: 'dev', type 2 fs/ext2.c:688: got filename: 'lib32', type 2 fs/ext2.c:688: got filename: 'home', type 2 fs/ext2.c:688: got filename: 'tmp', type 2 fs/ext2.c:688: got filename: 'media', type 2 fs/ext2.c:688: got filename: 'sys', type 2 fs/ext2.c:688: got filename: 'cvs', type 2 fs/ext2.c:688: got filename: 'proc', type 2 fs/ext2.c:688: got filename: 'etc', type 2 fs/ext2.c:688: got filename: 'lib64', type 2 fs/ext2.c:688: got filename: 'boot', type 2 fs/ext2.c:651: iterating inode size=3D0 mode=3D0x0 fs/ext2.c:862: grub_fshelp_dir returning: 0 In order to help troubleshoot this, I can apply patches on top of current SVN, run fstest & test booting for you. Please note that making images of a 3TB drive is not practical and will not reflect the real situation to you. Sorry, but I am not comfortable offering SSH access to random internet strangers. Regards, Tony V. --=-y/YtD4bXIedD7AnsWCdv Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: base64 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCkdydWItZGV2 ZWwgbWFpbGluZyBsaXN0DQpHcnViLWRldmVsQGdudS5vcmcNCmh0dHA6Ly9saXN0cy5nbnUub3Jn L21haWxtYW4vbGlzdGluZm8vZ3J1Yi1kZXZlbA0K --=-y/YtD4bXIedD7AnsWCdv-- --=-PSG7RD/6EmP/cuT15nyT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkrow+EACgkQp5vW4rUFj5rqugCeIjrhRi22h9lOgAqo7DXhRzVl oSEAnAvb37rajdlrt43OwvFp0q0cRFiB =FpVV -----END PGP SIGNATURE----- --=-PSG7RD/6EmP/cuT15nyT--