All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] RAID+LVM
@ 2002-11-24  6:58 David Corbin
  2002-11-24 18:30 ` Jose Luis Domingo Lopez
  0 siblings, 1 reply; 11+ messages in thread
From: David Corbin @ 2002-11-24  6:58 UTC (permalink / raw)
  To: LVM

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

This yields :
----vg.start----
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
group

vgchange -- locking logical volume manager
vgchange -- finding all volume group(s)
vgchange -- no volume groups found
----end----

Now, after the system finishes booting, if login as root and run those 
two commands again, I get.


----vg.start----
vgscan -- removing "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- creating empty "/etc/lvmtab" and "/etc/lvmtab.d"
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- scanning for all active volume group(s) first
vgscan -- reading data of volume group "vg0" from physical volume(s)
vgscan -- found inactive volume group "vg0"
vgscan -- getting block device numbers for logical volumes

vgscan -- checking block device numbers of logical volumes

vgscan -- inserting "vg0" into lvmtab
vgscan -- backing up volume group "vg0"
vgscan -- checking volume group name "vg0"
vgscan -- checking volume group consistency of "vg0"
vgscan -- checking existence of "/etc/lvmtab.d"
vgscan -- storing volume group data of "vg0" in "/etc/lvmtab.d/vg0.tmp"
vgscan -- storing physical volume data of "vg0" in "/etc/lvmtab.d/vg0.tmp"
vgscan -- storing logical volume data of volume group "vg0" in 
"/etc/lvmtab.d/vg0.tmp"
vgscan -- renaming "/etc/lvmtab.d/vg0.tmp" to "/etc/lvmtab.d/vg0"
vgscan -- removing special files and directory for volume group "vg0"
vgscan -- creating directory and group character special file for "vg0"
vgscan -- creating block device special files for vg0
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume 
group

vgchange -- locking logical volume manager
vgchange -- finding all volume group(s)
vgchange -- checking volume group name "vg0"
vgchange -- checking existence of volume group "vg0"
vgchange -- reading volume group data for "vg0" from lvmtab
vgchange -- checking volume group consistency  of "vg0"
vgchange -- checking if all physical volumes of volume group "vg0" are 
available
vgchange -- creating VGDA for "vg0" in kernel
vgchange -- volume group "vg0" successfully activated

vgchange -- unlocking logical volume manager
----end----

and everything works.

Now, maybe this is a question better asked on the RAID list, but what's 
changing between the boot-time process  and later that suddenly makes 
the LVM stuff work?

David Corbin.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [linux-lvm] RAID & LVM
@ 2002-06-25 10:05 Info - Demerson
  2002-06-25 11:16 ` Svetoslav Slavtchev
  2002-06-25 11:19 ` William Blunn
  0 siblings, 2 replies; 11+ messages in thread
From: Info - Demerson @ 2002-06-25 10:05 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Hullo, All...

I know it seems to be a very old question, but I can't find in the previous
messages, the answer for that..

Is it possible to use RAID and LVM together? If positive, is there a HOW-TO
telling something about it?

LVM will support mirroring someday?

Thanks in advance...

______________
Demerson Zounar
Analista de Suporte
demerson@zaffari.com.br

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [linux-lvm] raid & LVM
@ 2000-05-10 23:37 Jeffrey E. Mast
  2000-05-11  0:02 ` Michael Marxmeier
  0 siblings, 1 reply; 11+ messages in thread
From: Jeffrey E. Mast @ 2000-05-10 23:37 UTC (permalink / raw)
  To: LVM Mailing List


I have been playing around with the kernel linux-2.3.99-pre7-8
(0.8final) and attempting to try out
using software raid0 with LVM. The problem I am having is that
apparently /proc/partitions
reports /dev/mda instead of /dev/md0 and pvcreate cannot find /dev/md0.

This may be due to raid not really being incorporated into the kernel
yet or if something else
changed in the kernel. Anyone know why?

Anyway, I made a link from /dev/md0 to /dev/mda and pvcreate works.
However, doing
a vgscan segfaults. The segfault occurs in pv_read_all_pv.c during the
check for MD and
clear out doubles.

Maybe I am being too bold trying this out before the full raid is
incorporated into the kernel, but
I wanted to see what the current status was.

Thanks,

Jeff

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-11-24 18:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-24  6:58 [linux-lvm] RAID+LVM David Corbin
2002-11-24 18:30 ` Jose Luis Domingo Lopez
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

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.