All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] software mirroring
@ 2002-09-06  8:51 Scott Savarese
  2002-09-06 15:12 ` José Luis Domingo López
  0 siblings, 1 reply; 17+ messages in thread
From: Scott Savarese @ 2002-09-06  8:51 UTC (permalink / raw)
  To: linux-lvm

I am trying to set up mirroring on my system with LVM. Is there a command
to do it in LVM, or do I need the raidtools as well?

The ultimate goal is a completely mirrored harddrive so that I if my boot
drive fails (on that disk are /, swap, and /boot) I can swap the two
drives and reboot.

Or is it preferered to create LV's with LVM, and then run RAID ontop of
the LVM disks? (and then mirror /boot seperately).

Thanks,
Scott

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [linux-lvm] software mirroring
@ 2002-09-09  8:41 Scott Savarese
  2002-09-09  9:02 ` Steven Lembark
  2002-09-09 10:38 ` Luca Berra
  0 siblings, 2 replies; 17+ messages in thread
From: Scott Savarese @ 2002-09-09  8:41 UTC (permalink / raw)
  To: linux-lvm

José Luis Domingo López said:
> There shouldn't be any problems at all, except for bootup: it can be
> tricky (complex, prone to error or simply impossible, I don't know ;)
> to get a box boot off a LV on top of a software RAID1. But
> technically, it should be as simple as creating a partition on each
> disk, creating the RAID1 from them, initialize /dev/md0 as a PV for
> use with LVM, create a VG consisting of just this PV, and finally
> create as many LV as you need (size permitting).
>
> I have not had the chance to try it by myself, due to lack of
> hardware, but should work. Maybe the hard part is to do it at install
> time and get the system to boot from a LV created this way.

Bootup is definantly the issue right now... I created two raid1 sets
/dev/md0 and /dev/md1 on my second hard drive telling it that my first
harddrive was failed (so it wouldn't use it and break it). The first
will hold my /boot and the second (for now) will hold my /. I then
installed LVM onto my /dev/md1 and copied the filesystems over to the
appropriate locations. However after I configure lilo and fstab I have
issues. Depending on my lilo.conf I get either
L 80 80 80 ...
or
LI

Is there a proper way to boot up?
Thanks,
Scott

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <2100.24.46.54.254.1031670341.squirrel@mail.scottsavarese.com>]

end of thread, other threads:[~2002-09-13 11:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06  8:51 [linux-lvm] software mirroring Scott Savarese
2002-09-06 15:12 ` José Luis Domingo López
2002-09-07  9:35   ` Scott Savarese
2002-09-07 15:42     ` José Luis Domingo López
2002-09-10  7:10       ` Jon Bendtsen
2002-09-10  8:40         ` Scott Savarese
  -- strict thread matches above, loose matches on Subject: below --
2002-09-09  8:41 Scott Savarese
2002-09-09  9:02 ` Steven Lembark
2002-09-09 10:38 ` Luca Berra
     [not found]   ` <3338.24.46.54.254.1031594005.squirrel@mail.scottsavarese.com>
2002-09-10  5:33     ` Luca Berra
     [not found]       ` <1412.24.46.54.254.1031663551.squirrel@mail.scottsavarese.com>
2002-09-11  1:48         ` Luca Berra
     [not found] <2100.24.46.54.254.1031670341.squirrel@mail.scottsavarese.com>
     [not found] ` <3D7E0CC0.D7B06D44@silicide.dk>
     [not found]   ` <2951.24.46.54.254.1031678903.squirrel@mail.scottsavarese.com>
2002-09-11  3:03     ` jon+lvm
2002-09-13  8:30       ` Scott Savarese
2002-09-13  8:46         ` Steven Lembark
2002-09-13 11:08           ` Scott Savarese
2002-09-13 11:16         ` Luca Berra
2002-09-13 11:46           ` Scott Savarese

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.