Hello list,

(I've been off-line for ten days and I haven't yet caught up with the list. I 
had to send my machine to its maker to have a cooling-system hardware fault 
fixed.)

I've added two SSDs to my workstation, intending to create a RAID-1 array on 
them to store backups (which may be another question when I've got the setup 
right), but I cannot create the array to create LVM.

Each disk has an 80GiB NTFS partition in case I want to install Windows, then 
a 500GiB ext2 partition.

When I run "mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda2 /dev/
sdb2", this is what I get:

# mdadm --stop /dev/md0
mdadm: stopped /dev/md0
# mdadm: /dev/sda2 appears to contain an ext2fs file system
       size=524288000K  mtime=Thu Jan  1 01:00:00 1970
mdadm: /dev/sdb2 appears to contain an ext2fs file system
       size=524288000K  mtime=Thu Jan  1 01:00:00 1970
Continue creating array? y
mdadm: RUN_ARRAY failed: Invalid argument

If I boot from SysRescCD I also get "device /dev/sda2 exists but is not an md 
device." I also had to "mdadm --stop /dev/md127" since that OS calls the first 
array that.

I've tried with a GPT disk header and with an MSDOS one, with similar results. 
Also with /etc/init.d/mdraid not running, with it started on my command and 
with it in the boot runlevel. Each time I changed anything I rebooted before 
trying anything else.

I must be missing something, in spite of following the wiki instructions. Can 
someone help an old duffer out?

-- 
Regards,
Peter.




Reply via email to