[linux-lvm] Setup for RAID1 with LVM
Jean-Eric Cuendet
Jean-Eric.Cuendet at linkvest.com
Thu Feb 8 13:56:48 UTC 2001
Hi,
To do that:
- create a md0 RAID1 device with your 2 disks (mirror, no use of LVM)
- set the parttion ID to RAID autodetect (0xfd)
- edit /etc/raidtab (see RAID Howto)
- mkraid /dev/md0
- install LVM utilities (0.9.1beta3)
- pvcreate /dev/md0
- vgcreate -n BGNAME /dev/md0
- lvcreate <some logical volume>
> -----Original Message-----
> From: Jens Bruckmann [mailto:jens.bruckmann at suse.de]
> Sent: jeudi, 8. février 2001 12:12
> To: linux-lvm at sistina.com
> Subject: [linux-lvm] Setup for RAID1 with LVM
>
>
> Dear LVM-Specialists,
>
> I would like to setup a configuration with LVM and RAID1. Poorly you
> can't just do a lvextend -m 1 like on HP-UX :-))
>
> I could not find any hints so far for a step by step description, the
> part has to be included in the LVM-Howto.
>
> I have two SCSI-Disks of nearly the same size, on Disk 1 I
> already have
> a working installation of Linux.
>
> /usr, /opt and /var reside on LVs. I want these three LVs to
> be mirrored
> online to the second disk as it is possible on HP-UX.
>
> Can someone shortly describe, how to setup such a configuration?
>
>
> Thanks for help,
>
> Jens
>
> --
> --------------------------------------------------------------
> ---------
> Jens Bruckmann .-. Mail: jens.bruckmann at suse.de
> SuSE Linux Solutions AG /v\ Phone: +49 - 40 - 89 69 82 18
> Friesenweg 5F // \\ Fax: +49 - 40 - 85 40 04 35
> D-22763 Hamburg /( )\
> ^^-^^
> --------------------------------------------------------------
> ---------
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
>
More information about the linux-lvm
mailing list