Lines Matching defs:vg
25 struct volume_group *vg = NULL;
62 vg = vg_read_for_update(cmd, vg_name, NULL, 0);
63 if (vg_read_error(vg)) {
64 vg_release(vg);
68 if (!(pvl = find_pv_in_vg(vg, pv_name))) {
70 pv_name, vg->name);
73 if (tagarg && !(vg->fid->fmt->features & FMT_TAGS)) {
78 if (arg_count(cmd, uuid_ARG) && lvs_in_vg_activated(vg)) {
84 if (!archive(vg))
191 if (!vg_write(vg) || !vg_commit(vg)) {
193 "volume group \"%s\"", pv_name, vg->name);
196 backup(vg);
206 unlock_and_release_vg(cmd, vg, vg_name);