From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A0F911381FA for ; Fri, 16 May 2014 09:47:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4964CE0AC0; Fri, 16 May 2014 09:47:38 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14EDBE09C5 for ; Fri, 16 May 2014 09:47:36 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id b13so4614625wgh.31 for ; Fri, 16 May 2014 02:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=SWfXEnpOWtY5UV6465g1M3L4Z0uyVapVTy2rwQ/sZEo=; b=wMXCnAsA/h5gpcdAG20GVvOwHgMCJUzzEMPUJJhd2oUwlegpVbq3njN702Ec/MLfS/ w7yAm4DJkR0g1i7smL6xffEhEvDit8i3kj0P2hLehFh9z9WtDt20vZCPw2fv53CBiCvg J+xGVdSjYprn0cLAovIhS0M/vmqFb6yBe1nSCDV2G4jZMrtQvTUkmt1ZijsC+DQmR69L b5jZdpL0AmwG0p0JtTQ9w5dwA/kqI7fppQmGHE3TmKXVPAQ65Ds2GP2t0mGsjAjcpRK7 gtdlpvIFDO+nAclyvd9aQlhG7OxS2IYNaNS0mamrIQJX06U2CeuauuZvEhrxTCH1S8ZL 35yA== X-Received: by 10.180.87.165 with SMTP id az5mr12059495wib.10.1400233655870; Fri, 16 May 2014 02:47:35 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id fo10sm2437751wib.12.2014.05.16.02.47.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 02:47:34 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Filesystem doesn't mount automatically after unclean shutdown Date: Fri, 16 May 2014 10:47:22 +0100 User-Agent: KMail/1.13.7 (Linux/3.12.13-gentoo; KDE/4.12.5; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3115075.NunTEsTIFy"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201405161047.32334.michaelkintzios@gmail.com> X-Archives-Salt: ec99644f-d0c0-4fd7-a65c-3695732e1184 X-Archives-Hash: a56cf1a739ce96c585034134361f000d --nextPart3115075.NunTEsTIFy Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 14 May 2014 20:29:46 Nikos Chantziaras wrote: > I have this weird problem where a filesystem (Ext4) refuses to mount > automatically after something like a power loss or forced shutdown. >=20 > The fstab entry for it is: >=20 > LABEL=3DData /mnt/Data ext4 defaults,relatime,exec 0 2 >=20 > During boot, this is what OpenRC tells me: >=20 > Root: clean, 805088/6553600 files, 9129899/26214400 blocks > Data: recovering journal > Data: clean, 364344/61546496 files, 137312260/246156800 blocks [ ok ] > * Mounting local filesystems ... [ ok ] > * Remounting root filesystem read/write ... [ ok ] > * Remounting filesystems ... [ ok ] > * Updating /etc/mtab ... [ ok ] It doesn't show that it failed to mount / What does syslog show? > If I reboot the system again, then all works fine and the FS is mounted > automatically. So this is a one-time thingy, happening only on the first > boot after an unclean power-off. >=20 > It would seem that I've stumbled across an OpenRC bug? There's no errors > anywhere to be seem. According to the log output above, everything > should be fine. I suspect that the "recovering journal" step is what > causes this, but I don't know why. >=20 > Anyone else encountered this? I don't know why your system does this. I have had a few forced shutdowns= =20 with root on ext4 and the system mounts / after it recovers and cleans mess= ed=20 up inodes. However this is how fstab looks in my case: /dev/sda7 / ext4 noatime 0 1 Could your problem be related to your relatime mount option? =2D-=20 Regards, Mick --nextPart3115075.NunTEsTIFy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABCAAGBQJTdd60AAoJELAdA+zwE4YedEcIAL52vLBYfCKZgE/gz1gzYDDg g3QyGUPrh1CETSV2XCLpOiQkG3ciAorNMd44gEUN5xYKfb0PHtWwOTo2Nx3lpQ1a tdQOT7qMyfYWxpzjZrXqm4X7O4nl5HWWZksD3iV9RAGnZIW5lUmC4BuQ26m0fa7t x6tzfT4d95xCjmLRyI03bWvjRv05l034V6ztszaeD0d42eFXqWAD7dQGMPArfVWE T+aeiSTwBFmMWcnvtY9xn6NCkr7mXkjPUn//UWBvCL1BGga7Ossmbs4R+10JZWXv PUfj43h6d83q1XgfBrWYXg3kVex79Uik7lIbTr1n0be1Ng7j5eDY8WnnfK8JO2k= =aRX7 -----END PGP SIGNATURE----- --nextPart3115075.NunTEsTIFy--