Re: A Newbie LVM Question
On Thu, Mar 04, 2004 at 10:55:26AM -0700, John Schmidt wrote:
> On Thursday 04 March 2004 10:38 am, stan wrote:
> > On Thu, Mar 04, 2004 at 05:09:02PM +0200, Alexei Chetroi wrote:
> > > On Thu, Mar 04, 2004 at 08:13:18AM -0500, stan wrote:
> > > > Date: Thu, 4 Mar 2004 08:13:18 -0500
> > > > From: stan <firstname.lastname@example.org>
> > > > To: email@example.com
> > > > Subject: Re: A Newbie LVM Question
> > > >
> > > > On Wed, Mar 03, 2004 at 02:42:30PM -0500, stan wrote:
> > > > > On Wed, Mar 03, 2004 at 09:37:06AM +0100, Erich Waelde wrote:
> > > > > Content-Description: message body text
> > > >
> > > > I made a little more progress on this last night. I was able to
> > > > actually create a working lvm, and format it as XFS (I do think I left
> > > > some rements of a bad atempt laying aroud BTW, is it safe to just
> > > > rmmive these traces?).
> > > >
> > > >
> > > > In any case, when I rebooted that machine the new lvm parition did not
> > > > mount (yes I put it in /etc/fstab)/ Atempts to mount it by had result
> > > > in a message about it not being "active".
> > >
> > > Do you have script /etc/init.d/lvm ? 1st you must run vgscan to scan
> > > volume groups and after that vgchange -a y
> > I do, but I don'r seem to have any links to it from the various /etc/rc.d
> > directories.
> > How can I create these (In a Debian sort of way?). I know I can create them
> > by hand, but thre must be a more "Debian" way fo doing it, right?
> You need to have lvm10 and lvm-common installed and if using a standard debian
> kernel, need to have lvm-mod module running. I am pretty sure that
> installing lvm10 and/or lvm-common should have set up the /etc/init.d/lvm for
It's a KnppMyht install. dpkg -l | grep lvm shows:
ii lvm-common 1.5.8 The Logical Volume Manager for Linux (common
ii lvm10 1.0.8-2 The Logical Volume Manager for Linux
And lsmod | grep lvm shows:
lvm-mod 46464 3 (autoclean)
I geuss at this point I don't have any serious problems with creating these
links by hand, but I would appreciate soemone who has this workign telling
me exactly what links ot make. I'm thinking that this needs to run _very_
early in the startup sequence, right? Before even anything but the root
disk is mounted.
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin