From 82bf4983864bd61b45164d949ebd0343be2c5613 Mon Sep 17 00:00:00 2001 From: cliffw Date: Mon, 8 Aug 2005 16:36:16 +0000 Subject: [PATCH] Added warning message for change in stripe_cnt 0 policy --- lustre/utils/lmc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/utils/lmc b/lustre/utils/lmc index 4745a92..9aa8104 100755 --- a/lustre/utils/lmc +++ b/lustre/utils/lmc @@ -889,6 +889,9 @@ def add_lov(gen, lustre, options): mds_name = get_option(options, 'mds') stripe_sz = get_option_int(options, 'stripe_sz') stripe_cnt = get_option_int(options, 'stripe_cnt') + if stripe_cnt == 0: + print "default stripe count (0) - will use %d stripe(s) per file" \ + % DEFAULT_STRIPE_CNT pattern = get_option_int(options, 'stripe_pattern') uuid = new_uuid(name) -- 1.8.3.1