cout << "successfully deleted pool " << nargs[1] << std::endl;
} else { //error
cerr << "pool " << nargs[1] << " could not be removed" << std::endl;
+ cerr << "Check your monitor configuration - `mon allow pool delete` is set to false by default,"
+ << " change it to true to allow deletion of pools" << std::endl;
}
}
else if (strcmp(nargs[0], "purge") == 0) {
cout << "successfully purged pool " << nargs[1] << std::endl;
} else { //error
cerr << "pool " << nargs[1] << " could not be purged" << std::endl;
+ cerr << "Check your monitor configuration - `mon allow pool delete` is set to false by default,"
+ << " change it to true to allow deletion of pools" << std::endl;
}
}
else if (strcmp(nargs[0], "lssnap") == 0) {