FAI 3.4.8 RAID1 template mdadm needed because of failure

Harald Baumgartner hmb at mpe.mpg.de
Fri Nov 20 10:17:02 CET 2015


Hi,

i tried this example (sda/sdb are 1 TB Disks):

disk_config sda bootable:1

primary -       30000     -    -
primary -        2000     -    -
primary -       10-100%     -    -
logical -        8000     -    -

disk_config sdb bootable:1

primary -       30000     -    -
primary -        2000      -    -
primary -       10-100%      -    -
logical -        8000     -    -

disk_config raid

raid1 /           sda1,sdb1     ext3    rw   mdcreateopts="-e 1.0"
raid1 /var/cache/openafs sda2,sdb2 ext3 rw mdcreateopts="-e 1.0"
raid1 /home       sda3,sdb3     ext3    rw mdcreateopts="-e 1.0"
raid1 swap        sda4,sdb4     swap    sw mdcreateopts="-e 1.0"

sda/sdb are not partitioned:
fdisk -l /dev/sda

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1c84b275

    Device Boot      Start         End      Blocks   Id  System

fai.log
Partitioning local harddisks using setup-storage
Starting setup-storage 1.3
Using config file: /var/lib/fai/config/disk_config/RAID1
Executing: parted -s /dev/sda unit TiB print
Executing: parted -s /dev/sda unit B print free
Executing: parted -s /dev/sda unit chs print free
Executing: parted -s /dev/sdb unit TiB print
Executing: parted -s /dev/sdb unit B print free
Executing: parted -s /dev/sdb unit chs print free
     Creating directory "/run/lock/lvm"
     Finding all volume groups
   No volume groups found
Executing: mdadm --examine --scan --verbose -c partitions
INTERNAL ERROR in setup-storage:
mdadm ARRAY line not yet seen -- unexpected mdadm output:
ARRAY metadata=imsm UUID=3282ed4a:daf2cb64:d946cd9e:b171e804
    devices=/dev/sdb,/dev/sda
ARRAY /dev/md/Raid1 container=3282ed4a:daf2cb64:d946cd9e:b171e804 
member=0 UUID=4b24af3a:ff42e207:1b14104b:947a1090


Please report this error to the Debian Bug Tracking System.
  at /usr/share/fai/setup-storage/Volumes.pm line 476.
         FAI::get_current_raid called at /usr/sbin/setup-storage line 150
Error in task partition. Traceback: task_error task_partition task 
task_install task task_action task main
FATAL ERROR. Installation stopped.
bash: cannot set terminal process group (438): Inappropriate ioctl for 
device
bash: no job control in this shell


Thanks, Harald Baumgartner

-- 

Harald Baumgartner Max-Planck-Inst. für Extraterrestrische Physik
Giessenbachstr.1, Postfach 1312, D-85741, Garching bei München, Germany
                    Phone :(Country Code 49) 89 30000-3346 or -4346
                    e-mail: hmb @ mpe.mpg.de   (Fax: 49-89/30000-3569)
		   http://www.mpe.mpg.de/~hbaumgartner/



More information about the linux-fai mailing list