1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +03:00

thin: cannot use snapshot merge with thinpool

This commit is contained in:
Zdenek Kabelac 2013-03-11 10:44:05 +01:00
parent 0191d99906
commit 9cf00666b3

View File

@ -191,9 +191,10 @@ static int _read_params(struct lvconvert_params *lp, struct cmd_context *cmd,
if ((arg_count(cmd, snapshot_ARG) || arg_count(cmd, merge_ARG)) &&
(arg_count(cmd, mirrorlog_ARG) || arg_count(cmd, mirrors_ARG) ||
arg_count(cmd, repair_ARG))) {
arg_count(cmd, repair_ARG) || arg_count(cmd, thinpool_ARG))) {
log_error("--snapshot or --merge argument cannot be mixed "
"with --mirrors, --repair or --mirrorlog");
"with --mirrors, --mirrorlog, --repair "
"or --thinpool.");
return 0;
}