Package: lvm2
Version: 2.02.168-2

I have encountered a situation where:

2019-10-28 16:45:09 Z executing ssh ... root@172.16.144.40 lvcreate -Z y -L 
10000M -n debianhvm.guest.osstest-disk italia0-vg 
WARNING: dos signature detected on /dev/italia0-vg/debianhvm.guest.osstest-disk 
at offset 510. Wipe it? [y/n]: ^C

But:

2019-10-28 16:47:33 Z executing ssh ... root@172.16.144.40 lvcreate -W y -L 
10000M -n debianhvm.guest.osstest-disk italia0-vg 
  Logical volume "debianhvm.guest.osstest-disk" created.

The documentation says

  If this option is not specified, then by default -W |
  --wipesignatures y is assumed each time the zeroing is done (-Z |
  --zero y).  This default behaviour can be controlled by
  allocation/wipe_signatures_when_zeroing_new_lvs setting found in
  lvm.conf(5).

grep wip /etc/lvm/lvm.conf yields some comments and also
        use_blkid_wiping = 1
        wipe_signatures_when_zeroing_new_lvs = 1
(from the default config supplied with the package).

I don't know if it's the documentation or the implementation that is
wrong.  The workaround appears to be to specify -W y explicitly.

Thanks,
Ian.

Reply via email to