All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Luis Domingo Lopez <linux-lvm@24x7linux.com>
To: LVM <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] RAID+LVM
Date: Sun Nov 24 18:30:02 2002	[thread overview]
Message-ID: <20021125003014.GA21338@localhost> (raw)
In-Reply-To: <3DE0CCBB.3010405@machturtle.com>

On Sunday, 24 November 2002, at 07:57:31 -0500,
David Corbin wrote:

> I have a debian system with LVM on top of a RAID.  Once up and running, 
> it seems to work OK.  It's the getting it up and running that's a 
> problem.  At boot, the raid drive is started, and then
> 
>                /sbin/vgscan --verbose >/root/vg.start
>                /sbin/vgchange -a y --verbose >>/root/vg.start
> 
> Now, after the system finishes booting, if login as root and run those 
> two commands again, I get.
> 
I suppose your problem is the boot scritps trying to initialize LVM and
software RAID in the wrong order (at least for your setup). To make a
LVM on top of software RAID work, you first need to activate software
RAID and then LVM.

Maybe in the boot sequence LVM is initialized first, and it fails. Then
it activates software RAID, which succeedes. After system startup you
just need to "vgchange -ay", and everything works ok.

Check /etc/rc2.d (runlevel 2 is typical for Debian), and see if
rearranging boot scripts helps.

Regards,

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)

  reply	other threads:[~2002-11-24 18:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-24  6:58 [linux-lvm] RAID+LVM David Corbin
2002-11-24 18:30 ` Jose Luis Domingo Lopez [this message]
2002-11-24 18:51   ` David Corbin
  -- strict thread matches above, loose matches on Subject: below --
2002-06-25 10:05 [linux-lvm] RAID & LVM Info - Demerson
2002-06-25 11:16 ` Svetoslav Slavtchev
2002-06-25 11:19 ` William Blunn
2002-06-26  5:45   ` Heinz J . Mauelshagen
2002-06-26  9:29     ` James Hawtin
2002-06-26 10:35       ` Heinz J . Mauelshagen
2000-05-10 23:37 [linux-lvm] raid " Jeffrey E. Mast
2000-05-11  0:02 ` Michael Marxmeier

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=20021125003014.GA21338@localhost \
    --to=linux-lvm@24x7linux.com \
    --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.