Error in setup-storage in FAI 4.1

Andreas Heinlein aheinlein at gmx.com
Tue Mar 4 09:28:58 CET 2014


Hello,

yesterday I finally started migrating from FAI 3.4.8 and a squeeze 
chroot to FAI 4.1 with a wheezy chroot (Server itself is still squeeze 
for several reasons).
I could successfully perform an initial install of a test client (using 
a blank disk), but a second run (i.e. without 'initial' and with the 
previous partitions and data on disk) gave:

...
     Creating directory "/etc/lvm/backup"
     Creating volume group backup "/etc/lvm/backup/vg1" (seqno 5).
Use of uninitialized value $lvn in hash element at 
/usr/share/perl5/LVM.pm line 300.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Label not found for "next LVINF" at /usr/share/perl5/Linux/LVM.pm line 301
Error in task partition. Code: 710
Traceback: task_error task_partition task task_install task task_action 
task main
...

The disk_config used is:

disk_config disk1 disklabel:msdos bootable:1 align-at:1 fstabkey:uuid
primary /boot           300             ext4    rw
logical -               1024-           -       -

disk_config lvm
vg vg1 disk1.5
vg1-root  /             8192-12000  ext4     rw,errors=remount-ro
vg1-swap  swap          1024-2048   swap     rw
vg1-tmp  /tmp          500-1024    ext4     rw,nosuid
vg1-varlog  /var/log      500-1024         ext4     rw

Any ideas?

Thanks,
Andreas





More information about the linux-fai mailing list