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
Thu Jan 29 01:26:55 CET 2009


ok so now i got the etherdrive disk listed in the debug output but all 
fail nonetheless so i am lost at why the tool fail, here are the logs if 
it helps.

regards,
Jean.





Calling task_install
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0.3
disklist was: etherd/e10.0
etherd/e10.1
etherd/e10.2
sda
Using config file: /var/lib/fai/config/disk_config/FAIBASE
Input was:
# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

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

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

(CMD) parted -s /dev/etherd/e10.0 unit TiB print 1> /tmp/wyI8UzLwfK 2> 
/tmp/4qy5rod4so
Executing: parted -s /dev/etherd/e10.0 unit TiB print
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.0: 0.27TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start    End      Size     Type     File system  Flags
(STDOUT)  1      0.00TiB  0.27TiB  0.27TiB  primary  ext3
(STDOUT)
(CMD) parted -s /dev/etherd/e10.0 unit B print free 1> /tmp/CjkgYSBcQy 
2> /tmp/5S51ldLUi2
Executing: parted -s /dev/etherd/e10.0 unit B print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.0: 300001787904B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start   End            Size           Type     File 
system  Flags
(STDOUT)  1      32256B  300000637439B  300000605184B  primary  ext3
(STDOUT)
(CMD) parted -s /dev/etherd/e10.0 unit chs print free 1> /tmp/1QU9Gdf9pM 
2> /tmp/rSWjqSkDTK
Executing: parted -s /dev/etherd/e10.0 unit chs print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.0: 36473,35,41
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 36473,255,63.  Each 
cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start  End           Type     File system  Flags
(STDOUT)  1      0,1,0  36472,254,62  primary  ext3
(STDOUT)
(CMD) parted -s /dev/etherd/e10.1 unit TiB print 1> /tmp/wrSEvuMyj7 2> 
/tmp/mtMwaTzxPL
Executing: parted -s /dev/etherd/e10.1 unit TiB print
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.1: 0.05TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start    End      Size     Type     File system  Flags
(STDOUT)  1      0.00TiB  0.03TiB  0.03TiB  primary  ext3
(STDOUT)  2      0.03TiB  0.03TiB  0.00TiB  primary  ext3
(STDOUT)
(CMD) parted -s /dev/etherd/e10.1 unit B print free 1> /tmp/LUvw7BIfqL 
2> /tmp/y6j1MnNZJj
Executing: parted -s /dev/etherd/e10.1 unit B print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.1: 50000297984B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start         End           Size          Type     File 
system  Flags
(STDOUT)  1      32256B        30005821439B  30005789184B  primary  ext3
(STDOUT)  2      30005821440B  35015016959B  5009195520B   primary  ext3
(STDOUT)         35015016960B  49993251839B  14978234880B           Free 
Space
(STDOUT)
(CMD) parted -s /dev/etherd/e10.1 unit chs print free 1> /tmp/S8x3NXtjZq 
2> /tmp/IgGIvWm0BD
Executing: parted -s /dev/etherd/e10.1 unit chs print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.1: 6078,218,27
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 6078,255,63.  Each cylinder 
is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start     End          Type     File system  Flags
(STDOUT)  1      0,1,0     3647,254,62  primary  ext3
(STDOUT)  2      3648,0,0  4256,254,62  primary  ext3
(STDOUT)         4257,0,0  6077,254,62           Free Space
(STDOUT)
(CMD) parted -s /dev/etherd/e10.2 unit TiB print 1> /tmp/73a3HOfigK 2> 
/tmp/ES8eUdhBj4
Executing: parted -s /dev/etherd/e10.2 unit TiB print
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.2: 0.00TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start  End  Size  Type  File system  Flags
(STDOUT)
(CMD) parted -s /dev/etherd/e10.2 unit B print free 1> /tmp/cLV41wlN3H 
2> /tmp/llEMb9q4xG
Executing: parted -s /dev/etherd/e10.2 unit B print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.2: 1002438656B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start  End          Size         Type  File system  Flags
(STDOUT)         0B     1002438655B  1002438656B        Free Space
(STDOUT)
(CMD) parted -s /dev/etherd/e10.2 unit chs print free 1> /tmp/RVSx43p5zq 
2> /tmp/lupHArIbmV
Executing: parted -s /dev/etherd/e10.2 unit chs print free
(STDOUT) Model: Unknown (unknown)
(STDOUT) Disk /dev/etherd/e10.2: 121,222,36
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 121,255,63.  Each cylinder 
is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start  End         Type  File system  Flags
(STDOUT)         0,0,0  121,222,36        Free Space
(STDOUT)
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/gD2tRBFm8L 2> 
/tmp/V2Z0cx44mp
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA ST3250620NS (scsi)
(STDOUT) Disk /dev/sda: 0.23TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start    End      Size     Type     File system  Flags
(STDOUT)  1      0.00TiB  0.02TiB  0.02TiB  primary  linux-swap
(STDOUT)  2      0.02TiB  0.03TiB  0.01TiB  primary  ext3
(STDOUT)  3      0.03TiB  0.23TiB  0.20TiB  primary  ext3
(STDOUT)
(CMD) parted -s /dev/sda unit B print free 1> /tmp/NMEI4z4d1A 2> 
/tmp/x4qPw2Sygs
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: ATA ST3250620NS (scsi)
(STDOUT) Disk /dev/sda: 250000000000B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start         End            Size           Type     
File system  Flags
(STDOUT)  1      32256B        17174384639B   17174352384B   primary  
linux-swap
(STDOUT)  2      17174384640B  27908375039B   10733990400B   primary  ext3
(STDOUT)  3      27908375040B  249999160319B  222090785280B  primary  ext3
(STDOUT)
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/Q0JiE0xVjI 2> 
/tmp/5dqExdU46W
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: ATA ST3250620NS (scsi)
(STDOUT) Disk /dev/sda: 30394,26,1
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 30394,255,63.  Each 
cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number  Start     End           Type     File system  Flags
(STDOUT)  1      0,1,0     2087,254,62   primary  linux-swap
(STDOUT)  2      2088,0,0  3392,254,62   primary  ext3
(STDOUT)  3      3393,0,0  30393,254,62  primary  ext3
(STDOUT)
(CMD) vgdisplay --units m -s 1> /tmp/klxvouLu5h 2> /tmp/RCTf089Y1p
Executing: vgdisplay --units m -s
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/lSen3vmhtx 
2> /tmp/zOUgWdhheo
Executing: mdadm --detail --scan --verbose -c partitions
Current disk layout
$VAR1 = {
          '/dev/etherd/e10.1' => {
                                   'bios_heads' => '255',
                                   'disklabel' => 'msdos',
                                   'partitions' => {
                                                     '1' => {
                                                              
'count_byte' => '30005789184',
                                                              
'filesystem' => 'ext3',
                                                              
'begin_byte' => '32256',
                                                              
'is_extended' => 0,
                                                              'end_byte' 
=> '30005821439'
                                                            },
                                                     '2' => {
                                                              
'count_byte' => '5009195520',
                                                              
'filesystem' => 'ext3',
                                                              
'begin_byte' => '30005821440',
                                                              
'is_extended' => 0,
                                                              'end_byte' 
=> '35015016959'
                                                            }
                                                   },
                                   'bios_cylinders' => '6078',
                                   'size' => '50000297984',
                                   'sector_size' => '512',
                                   'begin_byte' => 0,
                                   'end_byte' => '50000297983',
                                   'bios_sectors_per_track' => '63'
                                 },
          '/dev/sda' => {
                          'bios_heads' => '255',
                          'disklabel' => 'msdos',
                          'partitions' => {
                                            '1' => {
                                                     'count_byte' => 
'17174352384',
                                                     'filesystem' => 
'linux-swap',
                                                     'begin_byte' => 
'32256',
                                                     'is_extended' => 0,
                                                     'end_byte' => 
'17174384639'
                                                   },
                                            '3' => {
                                                     'count_byte' => 
'222090785280',
                                                     'filesystem' => 'ext3',
                                                     'begin_byte' => 
'27908375040',
                                                     'is_extended' => 0,
                                                     'end_byte' => 
'249999160319'
                                                   },
                                            '2' => {
                                                     'count_byte' => 
'10733990400',
                                                     'filesystem' => 'ext3',
                                                     'begin_byte' => 
'17174384640',
                                                     'is_extended' => 0,
                                                     'end_byte' => 
'27908375039'
                                                   }
                                          },
                          'bios_cylinders' => '30394',
                          'size' => '250000000000',
                          'sector_size' => '512',
                          'begin_byte' => 0,
                          'end_byte' => '249999999999',
                          'bios_sectors_per_track' => '63'
                        },
          '/dev/etherd/e10.2' => {
                                   'bios_heads' => '255',
                                   'disklabel' => 'msdos',
                                   'partitioINTERNAL ERROR in setup-storage:
end < start
Please report this error to the Debian Bug Tracking System.
ns' => {},
                                   'bios_cylinders' => '121',
                                   'size' => '1002438656',
                                   'sector_size' => '512',
                                   'begin_byte' => 0,
                                   'end_byte' => 1002438655,
                                   'bios_sectors_per_track' => '63'
                                 },
          '/dev/etherd/e10.0' => {
                                   'bios_heads' => '255',
                                   'disklabel' => 'msdos',
                                   'partitions' => {
                                                     '1' => {
                                                              
'count_byte' => '300000605184',
                                                              
'filesystem' => 'ext3',
                                                              
'begin_byte' => '32256',
                                                              
'is_extended' => 0,
                                                              'end_byte' 
=> '300000637439'
                                                            }
                                                   },
                                   'bios_cylinders' => '36473',
                                   'size' => '300001787904',
                                   'sector_size' => '512',
                                   'begin_byte' => 0,
                                   'end_byte' => '300001787903',
                                   'bios_sectors_per_track' => '63'
                                 }
        };
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
Traceback: task_error task_partition task task_install task task_action 
task main
FATAL ERROR. Installation stopped.



More information about the linux-fai mailing list