setup storage can't use % or "G"

James james at nttmcl.com
Thu Jun 26 21:05:04 CEST 2008


ok,
so apparently i was accidently using the older version of FAI that's why 
it couldn't parse
i can choose to NOT USE SETUPSTORAGE and i can do an fai install fine

but now i'm having problems on the reboot with a setupstorage install
after FAI finishes the system hangs on boot

i need to get the log still but i noticed it's looking for volgroup-00 
or something and i haven't defined any vg by that name and also is 
trying to setup mdadm when i don't have a raid configuration setup.

i just went to my host-classes-50

added "SETUPSTORAGE" to that host class

changed the SETUPSTORAGE.var file to enable and debug
used a disk_config as follows:

disk_config sda  bootable:1
primary         /boot   500     ext3    defaults
primary         -       6096-   -       -

disk_config lvm
vg vg0       sda2
vg0-swap     swap    10%    swap   sw
vg0-dev      /dev    10%    xfs    defaults
vg0-var      /var    10%    xfs    defaults
vg0-home     /home   10%-30%    xfs    defaults
vg0-root     /       10%    xfs    defaults

it installs but i get some funny messages and then on reboot it just 
stops at either trying to start syslog or mount root
I'll try and get a log in a little bit and post here.

TIA,
James



Thomas Lange wrote:
>>>>>> On Wed, 25 Jun 2008 13:24:23 -0700, James <james at nttmcl.com> said:
>>>>>>             
>
>     > Here's the log snippet:
>     > Using config file: /var/lib/fai/config/disk_config/SETUPSTORAGE
>     > SYNTAX ERROR in config file line 12, size: 500-3G
>     > logical  /usr          500-3G    ext3  rw                   
>     > tuneopts="-c0 -i0"
>     > Mapping disk name disk1 to sda
>     > setup_harddisks version 0.42fai
> You are using the old setup_harddisks partitioning tool inseat of the
> new setup-storage.
>
> Please add the class SETUPSTORAGE to your host name or define the
> variable USE_SETUP_STORAGE=1. Then the new tool is used.
>   


More information about the linux-fai mailing list