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


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:
MYVG-REMOVE_ME - 1 - -

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

Bests
Mât

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Antwort per Email an