Hello, I have troubles setting up Software RAID1 On A Running LVM System (Lenny) because my partitions are not according to the tutorial. My machine has two identical 500GB SATA drives and I configured one of them with the standard partition scheme (guided entire disk with LVM, not the encrypted option). The second one I leaved blank without any partition. Now comes my problem, according to the howto I should have the following partitions: /dev/sda1 /boot/dev/sda2 (extended)/dev/sda5 (LVM) but I have only: /dev/sda1 /boot/dev/sda2 (LVM) ...there is no extended partition, so when I do the setup with /sda2 instead of /sda5 everything goes well untill I come to the point "pvcreate /dev/md1" where I get the error that I have to -ff this command. So please can you tell me why my debian installation woun't create the (extended) partition or how to get this done without this. Thanks in advance!
I forget to tell you that my mdadm.conf shows up more arrays as it should, maybe thats ok but I'm affraid to have something messed up. here is my mdadm.conf Code: # mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default, scan all partitions (/proc/partitions) for MD superblocks. # alternatively, specify devices to scan, using wildcards if desired. DEVICE partitions # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # definitions of existing MD arrays ARRAY /dev/md0 level=raid1 num-devices=2 UUID=7cbe93d1:c3548ceb:19d1a4dc:999fb1c2 # This file was auto-generated on Thu, 07 Oct 2010 09:25:07 +0200 # by mkconf $Id$ ARRAY /dev/md0 level=raid1 num-devices=2 UUID=7cbe93d1:c3548ceb:19d1a4dc:999fb1c2 ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3712febe:dcc831cf:19d1a4dc:999fb1c2 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=67369cf6:516ce7e4:19d1a4dc:999fb1c2
You have to /dev/md0 devices in your mdadm.conf... What are the outputs of Code: cat /proc/mdstat and Code: fdisk -l ?