| /netbsd/src/external/gpl2/lvm2/dist/tools/ |
| D | pvchange.c | 34 const char *pv_name = pv_dev_name(pv); in _pvchange_single() local 61 vg_name, pv_name); in _pvchange_single() 68 if (!(pvl = find_pv_in_vg(vg, pv_name))) { in _pvchange_single() 70 pv_name, vg->name); in _pvchange_single() 75 "support tags", pv_name); in _pvchange_single() 80 "logical volumes", pv_name); in _pvchange_single() 89 "in volume group", pv_name); in _pvchange_single() 100 if (!(pv = pv_read(cmd, pv_name, NULL, §or, 1, 0))) { in _pvchange_single() 102 log_error("Unable to read PV \"%s\"", pv_name); in _pvchange_single() 111 "%s format PV %s", pv->fmt->name, pv_name); in _pvchange_single() [all …]
|
| D | pvresize.c | 38 const char *pv_name = pv_dev_name(pv); in _pv_resize_single() local 53 if (!(pv = pv_read(cmd, pv_name, &mdas, NULL, 1, 0))) { in _pv_resize_single() 55 log_error("Unable to read PV \"%s\"", pv_name); in _pv_resize_single() 68 if (!(pvl = find_pv_in_vg(vg, pv_name))) { in _pv_resize_single() 70 pv_name, vg->name); in _pv_resize_single() 78 pv_name, vg->name); in _pv_resize_single() 90 log_error("%s: too many metadata areas for pvresize", pv_name); in _pv_resize_single() 96 pv_name); in _pv_resize_single() 102 log_error("%s: Couldn't get size.", pv_name); in _pv_resize_single() 109 "You could lose data.", pv_name); in _pv_resize_single() [all …]
|
| D | pvremove.c | 94 static int pvremove_single(struct cmd_context *cmd, const char *pv_name, in pvremove_single() argument 105 if (!pvremove_check(cmd, pv_name)) in pvremove_single() 108 if (!(dev = dev_cache_get(pv_name, cmd->filter))) { in pvremove_single() 110 pv_name); in pvremove_single() 123 log_error("Failed to wipe existing label(s) on %s", pv_name); in pvremove_single() 128 pv_name); in pvremove_single()
|
| D | pvmove.c | 348 static int _set_up_pvmove(struct cmd_context *cmd, const char *pv_name, in _set_up_pvmove() argument 369 if (!(pv = find_pv_by_name(cmd, pv_name))) { in _set_up_pvmove() 400 log_print("Detected pvmove in progress for %s", pv_name); in _set_up_pvmove() 572 int pvmove_poll(struct cmd_context *cmd, const char *pv_name, in pvmove_poll() argument 575 return poll_daemon(cmd, pv_name, NULL, background, PVMOVE, &_pvmove_fns, in pvmove_poll() 581 char *pv_name = NULL; in pvmove() local 593 pv_name = argv[0]; in pvmove() 596 if ((colon = strchr(pv_name, ':'))) { in pvmove() 597 if (!(pv_name = dm_pool_strndup(cmd->mem, pv_name, in pvmove() 599 pv_name)))) { in pvmove() [all …]
|
| D | pvdisplay.c | 29 const char *pv_name = pv_dev_name(pv); in _pvdisplay_single() local 46 if (!(pvl = find_pv_in_vg(vg, pv_name))) { in _pvdisplay_single() 48 pv_name, vg->name); in _pvdisplay_single() 63 log_print("Device \"%s\" has a capacity of %s", pv_name, in _pvdisplay_single() 70 "is exported", pv_name, pv_vg_name(pv)); in _pvdisplay_single() 74 pv_name, display_size(cmd, size)); in _pvdisplay_single()
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/metadata/ |
| D | metadata.c | 46 const char *pv_name, 52 const char *pv_name); 55 const char *pv_name); 152 int add_pv_to_vg(struct volume_group *vg, const char *pv_name, in add_pv_to_vg() argument 160 pv_name, vg->name); in add_pv_to_vg() 163 log_error("pv_list allocation for '%s' failed", pv_name); in add_pv_to_vg() 169 "'%s'", pv_name, pv->vg_name); in add_pv_to_vg() 175 pv_name, pv->fmt->name); in add_pv_to_vg() 182 "volume group %s", pv_name, vg->name); in add_pv_to_vg() 187 log_error("vg->name allocation failed for '%s'", pv_name); in add_pv_to_vg() [all …]
|
| D | metadata.h | 207 int (*pv_read) (const struct format_type * fmt, const char *pv_name, 282 struct physical_volume *pv_find(struct volume_group *vg, const char *pv_name); 382 struct physical_volume *pv_by_path(struct cmd_context *cmd, const char *pv_name); 383 int add_pv_to_vg(struct volume_group *vg, const char *pv_name,
|
| D | metadata-exported.h | 375 const char *pv_name, 387 struct physical_volume *pv_read(struct cmd_context *cmd, const char *pv_name, 409 const char *pv_name); 448 int pv_analyze(struct cmd_context *cmd, const char *pv_name, 462 int vg_reduce(struct volume_group *vg, char *pv_name); 592 const char *pv_name); 604 const char *pv_name);
|
| /netbsd/src/external/gpl2/lvm2/dist/include/ |
| D | metadata.h | 207 int (*pv_read) (const struct format_type * fmt, const char *pv_name, 282 struct physical_volume *pv_find(struct volume_group *vg, const char *pv_name); 382 struct physical_volume *pv_by_path(struct cmd_context *cmd, const char *pv_name); 383 int add_pv_to_vg(struct volume_group *vg, const char *pv_name,
|
| D | metadata-exported.h | 375 const char *pv_name, 387 struct physical_volume *pv_read(struct cmd_context *cmd, const char *pv_name, 409 const char *pv_name); 448 int pv_analyze(struct cmd_context *cmd, const char *pv_name, 462 int vg_reduce(struct volume_group *vg, char *pv_name); 592 const char *pv_name); 604 const char *pv_name);
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/format1/ |
| D | disk-rep.c | 658 const char *pv_name = dev_name(data->dev); in __write_all_pvd() local 661 log_error("Failed to write PV structure onto %s", pv_name); in __write_all_pvd() 680 log_error("Failed to write VG data to %s", pv_name); in __write_all_pvd() 685 log_error("Failed to write PV uuid list to %s", pv_name); in __write_all_pvd() 690 log_error("Failed to write LV's to %s", pv_name); in __write_all_pvd() 695 log_error("Failed to write extents to %s", pv_name); in __write_all_pvd()
|
| D | format1.c | 266 static int _format1_pv_read(const struct format_type *fmt, const char *pv_name, in _format1_pv_read() argument 275 log_very_verbose("Reading physical volume data %s from disk", pv_name); in _format1_pv_read() 280 if (!(dev = dev_cache_get(pv_name, fmt->cmd->filter))) in _format1_pv_read()
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/format_pool/ |
| D | format_pool.c | 208 static int _pool_pv_read(const struct format_type *fmt, const char *pv_name, in _pool_pv_read() argument 218 log_very_verbose("Reading physical volume data %s from disk", pv_name); in _pool_pv_read() 223 if (!(dev = dev_cache_get(pv_name, fmt->cmd->filter))) in _pool_pv_read()
|
| /netbsd/src/external/gpl2/lvm2/dist/test/ |
| D | t-listings.sh | 76 vgs -o pv_name,vg_name $vg
|
| /netbsd/src/external/gpl2/lvm2/dist/scripts/ |
| D | vgimportclone.sh | 280 PVINFO=`"${LVM}" pvs ${LVM_OPTS} -o pv_name,vg_name,vg_attr --noheadings --separator : 2>/dev/null`
|
| /netbsd/src/external/gpl2/lvm2/dist/lib/format_text/ |
| D | format-text.c | 1553 static int _text_pv_read(const struct format_type *fmt, const char *pv_name, in _text_pv_read() argument 1563 if (!(dev = dev_cache_get(pv_name, fmt->cmd->filter))) in _text_pv_read()
|