[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] User lock query instead of activate_lv_excl



On Tue, May 19, 2009 at 03:47:34PM +0200, Milan Broz wrote:
> User lock query instead of activate_lv_excl
 
Ack.

> -		if (vg_is_clustered(vg) && !activate_lv_excl(cmd, lv) &&
> -		    (force == PROMPT)) {
> -			if (yes_no_prompt("Logical volume \"%s\" is active on other "
> -					  "cluster nodes.  Really remove? [y/n]: ",
> -					  lv->name) == 'n') {

That was a useful message it would be nice to add back later, if the query function
can also indicate whether or not it's active locally.

Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]