setup-storage: error

Alexander Bugl alexander.bugl at zmaw.de
Thu May 14 19:18:19 CEST 2009


Hi Nicolas,

thanks for your reply.

> > disk_config sda disklabel:msdos
> >
> > primary  /               12G     ext3   rw,errors=remount-ro
> > primary  swap            4G      swap   rw
> > logical  /tmp            2G      ext3   rw         createopts="-m 1"
> > logical  /var            50G-    ext3   rw         createopts="-m 5"
> > logical  /srv            0-      ext3   rw,nosuid  createopts="-m 0"
> > tuneopts="-c 0 -i 0"
> >     Finding all volume groups
> > (CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/aaLkZ6M0w9
> > 2> /tmp/QAfOE1bFA4
> > Executing: mdadm --detail --scan --verbose -c partitions
> > Use of uninitialized value in multiplication (*) at
> > /usr/share/fai/setup-storage//Sizes.pm line 628.

> > The machine is a Sun x4240 with currently 15 HDDs, the first two are
> > configured as RAID 1 Volume using the HW RAID Controller built into the
> > x4240.

> Looks like setup-storage can't compute the sector size or the number of
> sectors per track.
> Isn't your raid disk larger than 2 Tb? In this case you probably need to
> put a gpt label on it instead of msdos.

Sorry, I forgot to include the fdisk output, which would have shown that I 
don't have a problem with 2 TB:
# fdisk -l

Disk /dev/sda: 146.6 GB, 146685296640 bytes
255 heads, 63 sectors/track, 17833 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

The first disk in this RAID 1 previously contained a Solaris installation, 
which I wiped out with "dd if=/dev/zero of=/dev/sda bs=1M count=1".

Any further ideas?

With regards, Alex

-- 
Alexander Bugl,  Central IT Services, ZMAW
Max  Planck  Institute   for   Meteorology
Bundesstrasse 53, D-20146 Hamburg, Germany
tel +49-40-41173-351, fax -298, room PE048


More information about the linux-fai mailing list