setup storage lvm troubles
Henning Sprang
henning_sprang at gmx.de
Mon Jul 14 19:39:54 CEST 2008
Hi,
Getting back at this - I didn't even come to work on the machine in
question, now that's a different one, at work, with nearly the same goal:
Michael Tautschnig wrote:
> [...]
> Could you add debug=1 to one of your class/* scripts to enable full debugging
> output? This should help identifying what exit code 99 means, I think it is
> missing lvm tools or kernel modules.
the lvm tools seem to be there - they can be run, but they return an error.
What kernel modules should be avilable and loaded for the lvm stuff, and
what can I do to get make-fai-nfsroot to include these modules in my fai
boot kernel and initrd which it puts to /src/tftp/fai/... ?
Anyway, here's the complete output of the partition stuff:
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0
disklist was:
Using config file: /var/lib/fai/config/disk_config/GENERIC-PARTITION
Input was:
disk_config sda bootable:1
primary / 5000-10000 ext3 rw
logical swap 1024 swap sw
logical - 10000- - -
disk_config lvm
vg data sda5
#my_pv-_swap swap 2048 swap sw
#my_pv-_root / 2048 ext3 rw
### old style config:
# generic disk configuration for a fai isntall server
#
# <type> <mountpoint> <size in mb> [mount options] [;extra options]
#disk_config sda
#primary / 5000-10000 rw,errors=remount-ro ; -c -j ext3
#logical swap 1024 rw
# TODO: the rest should be lvm pv?! -> do this with setup storage
#logical - 10000-
No program "vgdisplay" found for your current version of LVM
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/bagbil98b5
2> /tmp/XTGD8QhHYh
Executing: mdadm --detail --scan --verbose -c partitions
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 605.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 605.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 609.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 609.
Use of uninitialized value in concatenation (.) or string at
/usr/share/fai/setup-storage//Sizes.pm line 412.
INTERNAL ERROR in setup-storage:
convert_unit B
Please report this error to the Debian Bug Tracking System.
Current disk layout
$VAR1 = {};
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
Starting setup-storage 1.0
disklist was:
Using config file: /var/lib/fai/config/disk_config/GENERIC-PARTITION
Input was:
disk_config sda bootable:1
primary / 5000-10000 ext3 rw
logical swap 1024 swap sw
logical - 10000- - -
disk_config lvm
vg data sda5
#my_pv-_swap swap 2048 swap sw
#my_pv-_root / 2048 ext3 rw
### old style config:
# generic disk configuration for a fai isntall server
#
# <type> <mountpoint> <size in mb> [mount options] [;extra options]
#disk_config sda
#primary / 5000-10000 rw,errors=remount-ro ; -c -j ext3
#logical swap 1024 rw
# TODO: the rest should be lvm pv?! -> do this with setup storage
#logical - 10000-
No program "vgdisplay" found for your current version of LVM
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/bagbil98b5
2> /tmp/XTGD8QhHYh
Executing: mdadm --detail --scan --verbose -c partitions
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 605.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 605.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 609.
Use of uninitialized value in multiplication (*) at
/usr/share/fai/setup-storage//Sizes.pm line 609.
Use of uninitialized value in concatenation (.) or string at
/usr/share/fai/setup-storage//Sizes.pm line 412.
INTERNAL ERROR in setup-storage:
convert_unit B
Please report this error to the Debian Bug Tracking System.
Current disk layout
$VAR1 = {};
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
More information about the linux-fai-devel
mailing list