+
+ $LFS mirror extend -N --flags=nocompr $tf
+ mirrors=$($LFS getstripe $tf | grep lcme_mirror_id | wc -l )
+ (( $mirrors == 4 )) || error "no new mirror with nocompr flag was created?"
+
+ $($LFS getstripe $tf | grep lcme_flags: | tail -1 | grep -q nocompr) ||
+ error "nocompr flag was not set on the new mirror"
+
+ $LFS mirror extend -N --flags=prefer,nocompr $tf
+ mirrors=$($LFS getstripe $tf | grep lcme_mirror_id | wc -l )
+ (( $mirrors == 5 )) || error "no new mirror with prefer,nocompr flags was created?"
+
+ $($LFS getstripe $tf | grep lcme_flags: | tail -1 | grep -q "prefer,nocompr") ||
+ error "prefer,nocompr flags were not set on the new mirror"