Problem with "empty VG"

C. V. list-user at backenhoernchen.de
Tue Feb 3 23:24:07 CET 2015


Hi,

I noticed due to my own configuration with FAI that this error still exists. Do you plan to fix it in the near future?

I am using fai version 4.0.8~deb7u1

Regards,
cv


>> Hi,
>> 
>> I've recently discovered that declaring an empty VG (ie: without
>> affecting LV) lead to this error:
>> 
>> Starting setup-storage 1.3
>> Can't use an undefined value as an ARRAY reference at /usr/share
>> /fai/setup-storage//Parser.pm line 1060, <$config_file> line 1.
>> Using config file: /tmp/fai/DISK_CONFIG-TEST2.unified
>> [: 19: -eq: unexpected operator
>> 
>> 
> [...]
>> 
>> Any idea on how I can declare/create a totally empty VG ?
>> 
> 
> Argh, that case just requires a few more checks at some points where the code
> implicitly assumes that some LVs are defined. Not really hard to fix, just need
> to sit down and properly test that.
> 
> Could you please let me know how urgent that is for you? Would the workaround
> you presented be ok for another month? This bug wouldn't be forgotten, just
> trying to figure out how to schedule a few tasks.
> 
> Thanks a lot,
> Michael


More information about the linux-fai mailing list