From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 83F05138330 for ; Sat, 13 Jan 2018 13:35:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F308E09A5; Sat, 13 Jan 2018 13:35:45 +0000 (UTC) Received: from mail0157.smtp25.com (mail0157.smtp25.com [75.126.84.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC17DE0971 for ; Sat, 13 Jan 2018 13:35:44 +0000 (UTC) Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.9/8.14.8) with ESMTP id w0DDZhVI028731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 13 Jan 2018 08:35:43 -0500 Received: (from covici@localhost) by ccs.covici.com (8.14.9/8.13.7/Submit) id w0DDZhmX028729; Sat, 13 Jan 2018 08:35:43 -0500 Date: Sat, 13 Jan 2018 08:35:43 -0500 Message-ID: From: John Covici To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] fsck check of /usr on a separate partition fails during boot In-Reply-To: <1515841123.569865.1234053704.79666D14@webmail.messagingengine.com> References: <1515841123.569865.1234053704.79666D14@webmail.messagingengine.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Covici Computer Systems 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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SpamH-Filter: d-out-001.smtp25.com-w0DDZhF1023261 X-SpamH-OriginatingIP: 70.109.53.110 X-Archives-Salt: ecbf2040-22bf-4ab6-8ef7-43332995e8e0 X-Archives-Hash: 418315756cda686712cdc61c5a756df8 On Sat, 13 Jan 2018 05:58:43 -0500, Andrew Barchuk wrote: > > Hi folks, > > I've posted about this problem to the forums[1] without luck despite > getting more than a thousand views so I thought I'll try here. > > My system boots successfully but filesystem check fails for /usr which > is on a separate partition: > > * Checking local filesystems ... > /dev/mapper/MacVg-gentoo--root: clean, 2390/65536 files, 30938/262144 blocks > /dev/mapper/MacVg-gentoo--usr is mounted. > e2fsck: Cannot continue, aborting. > > > /dev/mapper/MacVg-gentoo--var: clean, 22647/65536 files, 59083/262144 blocks > /dev/mapper/MacVg-gentoo--home: clean, 8080/917504 files, 243397/3670016 blocks > /dev/mapper/MacVg-data: clean, 5293/3145728 files, 8945157/12582912 blocks > * Operational error > [ !! ] > > I use LVM on LUKS container for my partitions and an initramfs built > with genkernel. > > My fstab: > > /dev/MacVg/gentoo-root / ext4 defaults 0 1 > /dev/MacVg/gentoo-usr /usr ext4 defaults 0 2 > /dev/MacVg/gentoo-var /var ext4 nodev,nosuid 0 2 > /dev/MacVg/gentoo-home /home ext4 nodev,nosuid 0 2 > /dev/MacVg/data /data ext4 nodev,nosuid,noexec 0 2 > LABEL=EFI /boot vfat noauto,umask=0022 0 2 > /dev/MacVg/swap none swap defaults 0 0 > tmpfs /tmp tmpfs nosuid,nodev,size=1G,mode=1777 0 0 > tmpfs /var/tmp tmpfs nosuid,nodev,size=8G,mode=1777 0 0 > > Any ideas what is going on and how do I make the fsck check succeed? > Maybe I should file it as an OpenRC bug but I'm not completely sure if > it's not me doing something wrong. > Thanks in advance for any help. > > 1. https://forums.gentoo.org/viewtopic-t-1075174-highlight-.html > I bet you are using genkernel or gentoo-next to generate your initrd. If so, its because the script they have mounts the /usr at the wrong time, and you cannot do e2fsck to a mounted disk. You might have better luck using dracut -- be sure to have the use flag of -systemd if you are using openrc. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com