]> sourceware.org Git - lvm2.git/commit
wiping: log_warn instead of log_error if blkid wipe ignored for a signature
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 21 Jul 2015 08:34:04 +0000 (10:34 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 21 Jul 2015 08:34:04 +0000 (10:34 +0200)
commit697fb353dc5ecf813199c598eed07983868fdd56
tree0817bfe89423f70d57482c5cad941800a661ab86
parent2a7c2539c63f72d6c50df54f53271e567fa948ee
wiping: log_warn instead of log_error if blkid wipe ignored for a signature

Comply with the rules we have for log_error and log_warn...

$ pvcreate /dev/sda1
  Failed to get offset of the xfs_external_log signature on /dev/sda1.
  1 existing signature left on the device.
  Aborting pvcreate on /dev/sda1.

$ pvcreate /dev/sda1 --force
  WARNING: Failed to get offset of the xfs_external_log signature on /dev/sda1.
  Physical volume "/dev/sda1" successfully created
lib/device/dev-type.c
This page took 0.030931 seconds and 5 git commands to generate.