On Sun, 14 Jan 2018 11:15:51 +0200, Alan McKinnon wrote:
> > You need an initramfs and a separate /usr to experience this problem.
> > You have neither so you have avoided it twice, well done :-)
>
> I'm an engineer, so I don't add unneeded things that serve no purpose
> and no benefit :-)
>
Hi Andrew,
On Sun, 14 Jan 2018 12:06:23 +0100
Andrew Barchuk wrote:
Thanks everyone, I've nailed it \o/ A more detailed story follows.
Thank you for your conclusion and that you share your solution which
will certainly have some benefit for future readers.
Well done,
Thanks everyone, I've nailed it \o/ A more detailed story follows.
After taking the approach of offloading / and /usr checks to Dracut I've
disabled fsck for those partitions in /etc/fstab so OpenRC fsck wouldn't
attempt to check /usr (and fail) by setting passno (the last column to
0). It
On 14/01/2018 01:36, Neil Bothwick wrote:
> On Sat, 13 Jan 2018 23:16:19 +0200, Alan McKinnon wrote:
>
>> On 13/01/2018 23:16, Neil Bothwick wrote:
>>> On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
>>>
Shouldn't that be taken care of by the "/etc/fstab" entries?
>>>
>>> Those
Hello,
On Sat, 13 Jan 2018, Andrew Barchuk wrote:
[..]
>My fstab:
>
>/dev/MacVg/gentoo-root / ext4defaults0 1
>/dev/MacVg/gentoo-usr /usrext4defaults0 2
[..]
>Any ideas what is going on and how do I make the fsck check succeed?
Try changing
Neil Bothwick wrote:
> On Sat, 13 Jan 2018 23:16:19 +0200, Alan McKinnon wrote:
>
>> I run OpenRC and the kernel command line says where / is for mounting
> And the kernel mounts it ro, openrc remounts/ rw later on. It seems the
> problem here is the initramfs mounting /usr rw before the attemt to
On Sat, 13 Jan 2018 23:16:19 +0200, Alan McKinnon wrote:
> On 13/01/2018 23:16, Neil Bothwick wrote:
> > On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
> >
> >> Shouldn't that be taken care of by the "/etc/fstab" entries?
> >
> > Those say whether the filesystem should be checked,
Alan McKinnon wrote:
> On 13/01/2018 23:16, Neil Bothwick wrote:
>> On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
>>
>>> Shouldn't that be taken care of by the "/etc/fstab" entries?
>> Those say whether the filesystem should be checked, not when.
>>
>>> Obviously, if "/usr" is on a
On 13/01/2018 23:16, Neil Bothwick wrote:
> On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
>
>> Shouldn't that be taken care of by the "/etc/fstab" entries?
>
> Those say whether the filesystem should be checked, not when.
>
>> Obviously, if "/usr" is on a separate partition, it needs
On Sat, 13 Jan 2018 14:57:59 -0600, John Johnson wrote:
> Shouldn't that be taken care of by the "/etc/fstab" entries?
Those say whether the filesystem should be checked, not when.
> Obviously, if "/usr" is on a separate partition, it needs to be mounted
> at the time when "/usr/sbin/fsck" is
Shouldn't that be taken care of by the "/etc/fstab" entries?
Obviously, if "/usr" is on a separate partition, it needs to be mounted at
the time when "/usr/sbin/fsck" is expected to be present.
On Sat, Jan 13, 2018 at 2:54 PM, Neil Bothwick wrote:
> On Sat, 13 Jan 2018
On Sat, 13 Jan 2018 21:29:12 +0200, Alan McKinnon wrote:
> fwiw, fsck here runs automagically at startup whenever the fs is dirty,
> and I do not use an initramfs at all. Not sure exactly what code does
> this, I assume it's something in OpenRC.
It is, and the reason it works is that you do not
Alan,
> Not sure exactly what code does this, I assume it's something in OpenRC.
It's OpenRC service fsck that performs filesystem checks on boot runlevel
(/etc/init.d/fsck):
$ rc-status boot | grep fsck
fsck [ started ]
---
On 13/01/2018 21:30, Andrew Barchuk wrote:
> Alan, Floyd,
>
> Thanks for your responses.
> Indeed I prefer to not maintain my own initramfs scripts. Right now I
> use genkernel initramfs but it seems to not be doing the right thing
> regarding /usr partition mounting (as I understand now it's not
Alan, Floyd,
Thanks for your responses.
Indeed I prefer to not maintain my own initramfs scripts. Right now I
use genkernel initramfs but it seems to not be doing the right thing
regarding /usr partition mounting (as I understand now it's not a
problem with OpenRC fsck service). On the other hand
John,
> I bet you are using genkernel or gentoo-next to generate your initrd.
Exactly. Probably got lost in between the file contents:
> I use LVM on LUKS container for my partitions and an initramfs built
with genkernel.
> You might have better luck using Dracut
Thank you for the suggestion,
On Sat, 13 Jan 2018 11:58:43 +0100
Andrew Barchuk wrote:
Hi folks,
[…]
Any ideas what is going on and how do I make the fsck check succeed?
It seems the init script(s) within your initramfs implements no
logic/hooks for fsck but just mount your /usr partition. After
On 13/01/2018 12:58, 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
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
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 ...
20 matches
Mail list logo