From: cliffw Date: Mon, 8 Aug 2005 16:36:16 +0000 (+0000) Subject: Added warning message for change in stripe_cnt 0 policy X-Git-Tag: v1_7_140~1^12~3^2~55^5~43 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=82bf4983864bd61b45164d949ebd0343be2c5613;p=fs%2Flustre-release.git Added warning message for change in stripe_cnt 0 policy --- 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)