setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

Jean Spirat jeanspirat at squirk.org
Wed Jan 28 18:05:18 CET 2009


Hello,

  To continue the AOE experience now FAI works and start but it fail if 
i put an AOE storage disk:

Calling task_install
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0.3
Using config file: /var/lib/fai/config/disk_config/FAIBASE
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: vgdisplay --units m -s
Executing: mdadm --detail --scan --verbose -c partitions
Use of uninitialized value in multiplication (*) at 
/usr/share/fai/setup-storage//Sizes.pm line 618.
Use of uninitialized value in multiplication (*) at 
/usr/share/fai/setup-storage//Sizes.pm line 618.
Use of uninitialized value in multiplication (*) at 
/usr/share/fai/setup-storage//Sizes.pm line 622.
Use of uninitialized value in multiplication (*) at 
/usr/share/fai/setup-storage//Sizes.pm line 622.
Use of uninitialized value in concatenation (.) or string at 
/usr/share/fai/setup-storage//Sizes.pm line 425.
INTERNAL ERROR in setup-storage:
convert_unit B
Please report this error to the Debian Bug Tracking System.
Traceback: task_error task_partition task task_install task task_action 
task main
FATAL ERROR. Installation stopped.
bash: no job control in this shell


here is the config file i use:

disk_config /dev/etherd/e10.1 disklabel:msdos

primary         swap            16G     swap    rw
primary         /               10G     ext3    rw,noatime
primary         /temporary      50G-    ext3    rw,noatime


if i put /dev/sda it works but with the aoe target  it fails. It seems 
to fail here:

      $next_start = $current_disk->{bios_sectors_per_track} *
        $current_disk->{sector_size};

 Any idea ?


regards,
Jean



More information about the linux-fai mailing list