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

[lvm-devel] [PATCH] Fix read-only warning for partial volume

A partial VG was activated in read-only mode before the following
patch was merged. With the patch, a partial VG became to be activated
in read/write mode even with "--partial" option.


However, vgchange and lvchange command still tell that a volume group
is activated in read-only mode and users might be confused.

  Partial mode. Incomplete volume groups will be activated read-only.

This patch deletes the second sentence.

Signed-off-by: Takahiro Yasui <takahiro yasui hds com>
 tools/lvmcmdline.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: LVM2-2.02.69-20100629/tools/lvmcmdline.c
--- LVM2-2.02.69-20100629.orig/tools/lvmcmdline.c
+++ LVM2-2.02.69-20100629/tools/lvmcmdline.c
@@ -817,8 +817,7 @@ static int _get_settings(struct cmd_cont
 	if (arg_count(cmd, partial_ARG)) {
 		cmd->partial_activation = 1;
-		log_print("Partial mode. Incomplete volume groups will "
-			  "be activated read-only.");
+		log_print("Running in partial mode.");
 	if (arg_count(cmd, ignorelockingfailure_ARG) || arg_count(cmd, sysinit_ARG))

Takahiro Yasui
Hitachi Data Systems

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