Since activation of pool is now independent on thin activation,
user may do whatever he needs - thought preferable thin should stay alive,
but it it will be found inactivate, update_pool will bring the pool up.
return ECMD_FAILED;
}
- if (lv_is_used_thin_pool(lv) &&
- (arg_count(cmd, available_ARG))) {
- log_error("Can't change pool volume \"%s\".", lv->name);
- return ECMD_FAILED;
- }
-
if (lv_is_cow(lv) && !lv_is_virtual_origin(origin_from_cow(lv)) &&
arg_count(cmd, available_ARG)) {
log_error("Can't change snapshot logical volume \"%s\"",
if (lv_is_virtual_origin(lvl->lv) && !arg_count(cmd, all_ARG))
continue;
- /* Only unused thin pool can change its availability */
- if (!lvargs_supplied && lv_is_used_thin_pool(lvl->lv) &&
- arg_count(cmd, available_ARG))
- continue;
-
/*
* Only let hidden LVs through it --all was used or the LVs
* were specifically named on the command line.