← Back to team overview

fai team mailing list archive

[Bug 941959] [NEW] setup-storage fails

 

Public bug reported:

1) The release of Ubuntu:
  Description: Ubuntu precise (development branch)
  Release: 12.04
  Codename: precise
2) The version of the package:
  fai 3.4.8ubuntu1
3) What you expected to happen:
  fai should format my disk according to the configuration i supply.
4) What happened instead:
  setup-storage crashes with the error message:

Starting setup-storage 1.3
Using config file: /var/lib/fai/config/disk_config/Z800_DISK
Can't exec "mdadm-startall": No such file or directory at /usr/sbin/setup-storage line 138, <$config_file> line 1.
    Creating directory "/var/lock/lvm"
    Finding all volume groups
  No volume groups found
Executing: mdadm --examine --scan --verbose -c partitions
Use of uninitialized value in modulus (%) at /usr/share/fai/setup-storage//Sizes.pm line 599.
Use of uninitialized value $block_size in modulus (%) at /usr/share/fai/setup-storage//Sizes.pm line 599.
Illegal modulus zero at /usr/share/fai/setup-storage//Sizes.pm line 599.

this is the config file i used for the disk (nothing fancy):


disk_config sda disklabel:msdos  bootable:1 fstabkey:uuid

primary /boot  256M   ext2  rw,defaults,errors=remount-ro            createopts="-L boot"  
primary swap   16G    swap  rw
primary /tmp   32G    ext2  rw,defaults,errors=remount-ro            createopts="-L tmp"  
logical /      150G   ext4  rw,defaults,errors=remount-ro,barrier=0  createopts="-L root"
logical /home  0-     ext4  rw,defaults,barrier=0                    createopts="-L home"

** Affects: fai (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
FAI Developers, which is subscribed to fai in Ubuntu.
https://bugs.launchpad.net/bugs/941959

Title:
  setup-storage fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fai/+bug/941959/+subscriptions


Follow ups

References