Package: fai-setup-storage
Version: 3.4.5
Severity: important

That's my disk_config:

  disk_config disk1 bootable:1 fstabkey:uuid
  primary /boot       2000      ext3    rw
  logical -           0-        -       -

  disk_config lvm
  vg      FAIBASE        disk1.5
  FAIBASE-rootfs  /  5200  ext3  rw

In debug mode I get the following error on fresh installation
(installing over an existing disk partitioning setup):

  (CMD) parted -s /dev/sda set 5 lvm on 1> /tmp/0ePO411Iu0 2> /tmp/3AMbXmwuQJ
  Executing: parted -s /dev/sda set 5 lvm on
  (CMD) pvcreate  /dev/sda5 1> /tmp/awxVPpb7Z0 2> /tmp/7qzOB9LjJz
  Executing: pvcreate  /dev/sda5
  Command had non-zero exit code
  (STDERR)   Can't initialize physical volume "/dev/sda5" of volume group 
"FAIBASE" without -ff

Manually re-executing setup-storage works as soon as it has been
executed once in the running system (as by the installer), but on
fresh installation it just fails with about error message.

In the failing execution debug logs I find:

  Finding all volume groups
  No volume groups found

Whereas in the working execution I notice:

  Finding all volume groups
  Finding volume group "FAIBASE"

and a call of "vgchange -a n".

Applying setup-storage_pvcreate-old-lvm from experimental seems to
work around this issue, I'm not sure whether checking for existing
PVs instead would be preferable though (using pvscan/pvchange as you
seem to do for LVs already using vgchange).

regards,
-mika-



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010-12-09t17-19...@devnull.michael-prokop.at

Reply via email to