Michael Tautschnig wrote:
[...]
Concerning Volume Groups:

I'd suggest adding in your documentation that something like the following won't work because of "-" after the volume group sizes. And saying that volume group sizes must be EXACT or you'll get a generic error from parted saying that /dev/sda has a bad label
Bad disk_config file:
[...]

Oh, this is not intended behavior, that's a bug. Could you re-run that with the
bad config and debug=1 and mail the output?

Thanks,
Michael

here's the output for the error attached in a .log file

-James
             -------------------------------------------------
                   Fully Automatic Installation  -  FAI

               FAI 3.1.8, 13 Mar 2007  Copyright (c) 1999-2006
               Thomas Lange  <[EMAIL PROTECTED]>
             -------------------------------------------------

Calling task_confdir
Kernel parameters: root=/dev/nfs  ip=::::LVM::dhcp 
nfsroot=127.0.0.1:/srv/fai/nfsroot
Reading /var/log/fai/current/boot.log
FAI_FLAGS: 
Configuration space mirror:/srv/fai/config mounted to /var/lib/fai/config
Can't connect to monserver on  port 4711. Monitoring disabled.
Calling task_setup
FAI_FLAGS: 
rdate: connect: Connection refused
Calling task_defclass
10-base-classes      OK.
* Skipping Module agpgart. It's already loaded.
* Skipping Module piix. It's already loaded.
* Skipping Module mptscsih. It's already loaded.
Video card detected: vmware
20-hwdetect.source   OK.
50-host-classes      OK.
List of all classes:  DEFAULT LINUX I386 FAIBASE LVMTEST GRUB LVM LAST
Calling task_defvar
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=US/Pacific
++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ FAI_ACTION=install
++ VIDEODRIVER=vmware
Loading keymap(s) us-latin1 ...done.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!

Calling task_install
Source hook: partition.LVMTEST.source
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.0173695 seconds, 59.0 kB/s
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.00437112 seconds, 234 kB/s
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 0.00379742 seconds, 270 kB/s

/dev/sda:
disklist was:
sdaInput was:
disk_config sda  bootable:1
primary /boot 500 ext3 defaults
primary         -       6000    -       -

disk_config lvm
vg lvmtest  sda2
lvmtest-swap     swap    1048     swap   sw
lvmtest-root     /       1048-    xfs    defaults
lvmtest-var      /var    1048-    xfs    defaults
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/XEm3PdGPhj 2> /tmp/V4C8tD22uX
Parted could not read a disk label
(STDERR) Error: Unable to open /dev/sda - unrecognised disk label.
(CMD) parted -s /dev/sda mklabel msdos 1> /tmp/wtfJy83VNq 2> /tmp/EWvVHAd6Qc
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/Cc62x68LdA 2> /tmp/2nGUc7T0Gi
(STDOUT) 
(STDOUT) Disk /dev/sda: 0.01TiB
(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/sda unit B print free 1> /tmp/uCYPESeGaF 2> /tmp/EzuagKmBtA
(STDOUT) 
(STDOUT) Disk /dev/sda: 8589934591B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start  End          Size         Type  File system  Flags
(STDOUT)         0B     8589934591B  8589934592B        Free Space        
(STDOUT) 
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/b5tCfdj5Qn 2> 
/tmp/l2gKwH7FaP
(STDOUT) 
(STDOUT) Disk /dev/sda: 1044,85,0
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 1044,255,63.  Each cylinder is 
8225kB.
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start  End        Type  File system  Flags
(STDOUT)         0,0,0  1044,85,0        Free Space        
(STDOUT) 
    Finding all volume groups
  No volume groups found
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/SnWMXz2RVv 2> 
/tmp/VbfD0Hsef7
INTERNAL ERROR in setup-storage:
end < start
Please report this error to the Debian Bug Tracking System.
Current disk layout
$VAR1 = {
          '/dev/sda' => {
                          'bios_heads' => '255',
                          'disklabel' => 'msdos',
                          'partitions' => {},
                          'bios_cylinders' => '1044',
                          'size' => '8589934591',
                          'sector_size' => '512',
                          'begin_byte' => 0,
                          'end_byte' => '8589934590',
                          'bios_sectors_per_track' => '63'
                        }
        };
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
/var/lib/fai/config/hooks/partition.LVMTEST.source: line 10: 
/var/log/fai/current/disk_var.sh: No such file or directory
partition.LVMTEST.source OK.
Calling task_mountdisks
No /var/log/fai/current/fstab created.
bash: no job control in this shell
[EMAIL PROTECTED]:/# cd /var/log/fai/cure rent/
[EMAIL PROTECTED]:/var/log/fai/current# ls
FAI_CLASSES
additional.var
boot.log
dhclient.log
dmesg.log
fai.log
kernel.log
status.log
syslog.log
variables.log

Antwort per Email an