Gentoo Archives: gentoo-user

From: Andrew Barchuk <andrew@×××××××.io>
To: gentoo-user@l.g.o
Subject: [gentoo-user] fsck check of /usr on a separate partition fails during boot
Date: Sat, 13 Jan 2018 10:58:53
Message-Id: 1515841123.569865.1234053704.79666D14@webmail.messagingengine.com
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

---
Andrew

Replies