"Not an ARRAY reference"
Mathieu Alorent
malorent at echo.fr
Wed Jun 2 17:11:47 CEST 2010
Hi,
we've got installation hang with this error
> Not an ARRAY reference at /usr/share/fai/setup-storage//Fstab.pm line 284.
> Error in task partition. Traceback: task_error task_partition task task_install task task_action task main
> FATAL ERROR. Installation stopped.
I've found that in fact it's a reference to a HASH !
Here is a small patch that it and correct also this error:
> Executing: mkfs.ext3 -m 0 /dev/md9
> Use of uninitialized value $this_mp in string eq at /usr/share/fai/setup-storage//Fstab.pm line 146.
> Use of uninitialized value $this_mp in string eq at /usr/share/fai/setup-storage//Fstab.pm line 147.
> Use of uninitialized value $this_mp in string eq at /usr/share/fai/setup-storage//Fstab.pm line 146.
> Use of uninitialized value $this_mp in string eq at /usr/share/fai/setup-storage//Fstab.pm line 147.
> Executing: fai-vol_id -u /dev/md6
I'm using FAI 3.4~beta1+experimental15, didn't know/tested with earlier
versions. :/
Attached:
- our class
- patch
Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not_an_array.patch
Type: text/x-patch
Size: 1721 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20100602/b2368d5a/attachment.bin
-------------- next part --------------
#
# NEW FAI PARTITION SYSTEM
#
# Include LVM/RAID, Generic disk naming
#
# http://faiwiki.informatik.uni-koeln.de/index.php/Setup-storage
#
disk_config disk1 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config disk2 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config disk3 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config disk4 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config disk5 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config disk6 bootable:1
primary - 100 - -
primary - 1G - -
primary - 1G - -
logical - 500 - -
logical - 500 - -
logical - 100 - -
logical - 100 - -
logical - 600 - -
logical - 600 - -
logical - 1G - -
disk_config raid
raid1 /boot disk1.1,disk2.1,disk3.1,disk4.1,disk5.1,disk6.1 ext3 rw
raid1 swap disk1.2,disk2.2,disk3.2,disk4.2,disk5.2,disk6.2 swap sw
raid5 / disk1.3,disk2.3,disk3.3,disk4.3,disk5.3,disk6.3 ext3 rw,errors=remount-ro
raid5 /usr disk1.5,disk2.5,disk3.5,disk4.5,disk5.5,disk6.5 ext3 rw
raid5 /var disk1.6,disk2.6,disk3.6,disk4.6,disk5.6,disk6.6 ext3 rw
raid5 /home disk1.7,disk2.7,disk3.7,disk4.7,disk5.7,disk6.7 ext3 rw
raid5 /tmp disk1.8,disk2.8,disk3.8,disk4.8,disk5.8,disk6.8 ext3 rw
raid5 /ke/logs disk1.9,disk2.9,disk3.9,disk4.9,disk5.9,disk6.9 ext3 rw,noatime
raid5 /ke disk1.10,disk2.10,disk3.10,disk4.10,disk5.10,disk6.10 ext3 rw
raid5 /ke/data disk1.11,disk2.11,disk3.11,disk4.11,disk5.11,disk6.11 ext3 ro createopts="-m 0"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4892 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20100602/b2368d5a/attachment-0001.bin
More information about the linux-fai-devel
mailing list