X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fscripts%2Flfs_migrate;h=6bc07970ea4e2ea64bcb92b4a86b39e427508306;hp=f9cf91cddfe6caa0a4a6ea39a39b076b8a9cabdf;hb=ed8a63c9b83ce9f64df19a15ec362e1edb04a6f4;hpb=9230561f268f9c3d7f84ac7824d7a1d3769a3dfe diff --git a/lustre/scripts/lfs_migrate b/lustre/scripts/lfs_migrate index f9cf91c..6bc0797 100755 --- a/lustre/scripts/lfs_migrate +++ b/lustre/scripts/lfs_migrate @@ -76,10 +76,10 @@ if [ -z "$OPT_YES" ]; then echo "lfs_migrate is currently NOT SAFE for moving in-use files." 1>&2 echo "Use it only when you are sure migrated files are unused." 1>&2 echo "" 1>&2 - echo "If emptying OST(s) that are not disabled on the MDS, new" 1>&2 - echo "files may use them. To prevent MDS allocating any files on" 1>&2 - echo "OSTNNNN run 'lctl --device %{fsname}-OSTNNNN-osc deactivate'" 1>&2 - echo "on the MDS." 1>&2 + echo "If emptying an OST that is active on the MDS, new files may" 1>&2 + echo "use it. To stop allocating any new objects on OSTNNNN run:" 1>&2 + echo " lctl set_param osp.-OSTNNNN*.max_create_count=0'" 1>&2 + echo "on each MDS using the OST(s) being emptied." 1>&2 echo -n "Continue? (y/n) " read CHECK [ "$CHECK" != "y" -a "$CHECK" != "yes" ] && exit 1