All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theo Van Dinter <felicity@kluge.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Is lvmcreate_initrd expected to work?
Date: Thu Nov 29 08:18:01 2001	[thread overview]
Message-ID: <20011129091938.C19316@kluge.net> (raw)
In-Reply-To: <20011129090508.B1408@tykepenguin.com>; from caulfield@sistina.com on Thu, Nov 29, 2001 at 09:05:08AM +0000

On Thu, Nov 29, 2001 at 09:05:08AM +0000, Patrick Caulfield wrote:
> Yes it does ignore the issue of kernel modules. It's quite hard for 
> lvmcreate_initrd to know just which modules are needed to get the system booted,
> though I suppose it's possible.

It could do the same thing as mkinitrd does by default (approx):
        - check if SCSI drivers are needed (scsi_hostadapter lines in
          modules.conf), if so add them to initrd and make sure to
          preload scsi_mod and sd_mod.
	- check the current lvm configuration, and if any of the pv's are MD
	  devices, pre-load the appropriate raid[0145] module as well (can
	  determine via /proc/mdstat).

Alternatively, options for specifying modules would work too. :)

-- 
Randomly Generated Tagline:
"My spleen is twice the size of a normal human spleen.  This isn't
 such a big deal right now, but after I'm dead ... There's going to be
 a bidding war."         - Dave Foley, Kids in the Hall

      reply	other threads:[~2001-11-29  8:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 16:54 [linux-lvm] Is lvmcreate_initrd expected to work? Lars Kellogg-Stedman
2001-11-28  5:49 ` Goetz Bock
2001-11-28 15:24   ` Lars Kellogg-Stedman
2001-11-29  3:03 ` Patrick Caulfield
2001-11-29  8:18   ` Theo Van Dinter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011129091938.C19316@kluge.net \
    --to=felicity@kluge.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.