Problem with "empty VG"

Mathieu Alorent malorent at
Fri Oct 28 15:24:05 CEST 2011


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// line 1060, <$config_file> line 1.
Using config file: /tmp/fai/DISK_CONFIG-TEST2.unified
[: 19: -eq: unexpected operator

My disk_config is

disk_config disk1 bootable:1
primary  /boot    100   ext3  rw
primary  swap     1G swap  sw
primary  /     1G ext3  rw,errors=remount-ro
logical  /usr     1500  ext3  rw
logical  /var     1G ext3  rw
logical  /home    512   ext3  rw
logical  /tmp     1G ext3  rw
logical  -     1G-   -  -

disk_config lvm
vg MYVG    disk1.9

The error disappear if I add the line:

Any idea on how I can declare/create a totally empty VG ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4187 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the linux-fai mailing list