1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib
Peter Rajnoha 6a1957badc pvcreate: do not issue warning about any existing PV
If we're calling pvcreate on a device that already has a PV label,
the blkid detects the existing PV and then we consider it for wiping
before we continue creating the new PV label and we issue a warning
with a prompt whether such old PV label should be removed. We don't
do this with native signature detection code. Let's make it consistent
with old behaviour.

But still keep this "PV" (identified as "LVM1_member" or "LVM2_member"
by blkid) detection when creating new LVs to avoid unexpected PV label
appeareance inside LV.
2013-11-28 13:14:46 +01:00
..
activate cleanup: convert log_error with log_warn 2013-11-28 12:48:01 +01:00
cache lv/vgchange: do not try to connect to lvmetad if socket absent and --sysinit -aay used 2013-11-26 14:51:23 +01:00
commands gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
config config: use int for type 2013-11-28 12:42:44 +01:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device pvcreate: do not issue warning about any existing PV 2013-11-28 13:14:46 +01:00
display lvm2app: Add VG/LV name validation 2013-11-19 14:40:39 -06:00
error cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
filters filters: drop extra slash from sysfs path 2013-11-22 20:53:31 +01:00
format1 labeller: Make the use of "private" as "fmt" explicit. 2013-11-17 21:41:27 +01:00
format_pool labeller: Make the use of "private" as "fmt" explicit. 2013-11-17 21:41:27 +01:00
format_text format-text: ensure aligment is not 0 2013-11-28 12:42:39 +01:00
freeseg cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
label cleanup: use const format 2013-11-22 21:00:56 +01:00
locking cleanup: convert log_sys_error to log_sys_debug 2013-11-28 12:48:01 +01:00
log lvm2app: Reset buffer after retrieving error message 2013-11-19 14:40:42 -06:00
metadata pvcreate: do not issue warning about any existing PV 2013-11-28 13:14:46 +01:00
mirror config: add profile arg to find_config_tree_str 2013-07-02 15:19:09 +02:00
misc configure: add --enable-blkid_wiping 2013-11-27 15:48:16 +01:00
mm gcc: replace #ifdef linux with __linux__ 2013-11-13 13:56:29 +00:00
properties lvm2app: Add thin and thin pool lv creation 2013-07-12 16:52:16 -05:00
raid fix: also make commit b4637 work without dmeventd 2013-09-30 08:17:56 +02:00
replicator cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
report cleanup: simplify pv uuid display 2013-11-22 21:00:55 +01:00
snapshot snapshot: rework parsing of snapshot metadata 2013-10-14 00:26:58 +02:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin fix: also make commit b4637 work without dmeventd 2013-09-30 08:17:56 +02:00
unknown cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero cleanup: drop unneeded included header files 2012-08-23 14:37:20 +02:00
Makefile.in filters: check for mpath before opening devs 2013-08-13 23:26:58 +01:00