tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RC dependencies and LVM

On Thu, 16 Apr 2009 00:58:50 +0200
Joerg Sonnenberger <> wrote:

> Hi all,
> attached is a patch to change the dependencies during early boot.
> The current mechanism runs all disk scripts before swap is configured.
> swap itself is required by fsck, which in turn is required to mount
> the root filesystem. This is bad for LVM as it needs a writable /dev.
> The patch splits things up:
> First, fsck of / and mounting it.
> Second, run the "DISKS" scripts.
> Third, setup swap and fsck.
> Fourth, mount other local filesystems.
> Other effects of the patch:
> - run wdogctl before mounting root
> - run rndctl after wdogctl, but before disks and cgd
> Comments? Testers?
What about savecore?  Savecore presumably requires a clean file system,
but it needs to read from swap.  (I realize that that's a problem now,
if fsck actually swaps as opposed to just needing the service available
in case it does.)

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index