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
[email protected]