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 182691381FA for ; Fri, 16 May 2014 12:12:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9919E0AFC; Fri, 16 May 2014 12:12:54 +0000 (UTC) Received: from smarthost01a.mail.zen.net.uk (smarthost01a.mail.zen.net.uk [212.23.1.1]) by pigeon.gentoo.org (Postfix) with ESMTP id ADBF9E0A7C for ; Fri, 16 May 2014 12:12:53 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01a.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WlH0O-00042b-D7 for gentoo-user@lists.gentoo.org; Fri, 16 May 2014 12:12:52 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Filesystem doesn't mount automatically after unclean shutdown Date: Fri, 16 May 2014 13:12:52 +0100 Message-ID: <5113314.NtMx8i9yFJ@wstn> Organization: at home User-Agent: KMail/4.12.5 (Linux/3.12.13-gentoo; KDE/4.12.5; x86_64; ; ) In-Reply-To: References: 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01a-IP: [82.69.80.10] X-Archives-Salt: ad48d055-cf75-46ca-9743-e84331439316 X-Archives-Hash: 542eb86b68f134ff01c2b3f80f913b18 On Wednesday 14 May 2014 22: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. > > The fstab entry for it is: > > LABEL=Data /mnt/Data ext4 defaults,relatime,exec 0 2 > > During boot, this is what OpenRC tells me: > > 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 ] > > 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. > > 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. > > Anyone else encountered this? No, I can't say I have. I do occasionally have to use the reset button to reboot (because the KDM shutdown process had hung), and the system just restarts as Mick says. This is my root fstab entry: /dev/md5 / ext4 relatime 1 1 The other partitions are similar except for being mounted from /dev/md7. -- Regards Peter