setup-storage: error
Nicolas Courtel
courtel at cena.fr
Thu May 14 19:42:34 CEST 2009
Alexander Bugl a écrit :
> 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
>
>
Could you post the result of the following commands, they are the ones
used by setup-storage to find the disk configuration:
# parted -s /dev/sda unit TiB print
# parted -s /dev/sda unit chs print free
--
Nicolas
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20090514/5c9787ca/attachment.htm
More information about the linux-fai
mailing list