From 24c6c0b2f429e0ce327fadda487b0d74a47e6d7f Mon Sep 17 00:00:00 2001 From: yujian Date: Fri, 16 Jun 2006 13:53:40 +0000 Subject: [PATCH] b=9863 "extents,mballoc" are default mount options of OST with ldiskfs. --- lustre/scripts/lustre_createcsv.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/scripts/lustre_createcsv.sh b/lustre/scripts/lustre_createcsv.sh index 6e093be..bed5d17 100755 --- a/lustre/scripts/lustre_createcsv.sh +++ b/lustre/scripts/lustre_createcsv.sh @@ -24,8 +24,8 @@ Usage: `basename $0` [-t HAtype] [-h] [-v] [-f csv_filename] -t HAtype collect High-Availability software configurations The argument following -t is used to indicate the High- Availability software type. The HA software types which - are currently supported are: hbv1 (Heartbeat v1), hbv2 - (Heartbeat v2) and cluman (CluManager). + are currently supported are: hbv1 (Heartbeat version 1) + and hbv2 (Heartbeat version 2). -h help -v verbose mode -f csv_filename designate a name for the csv file @@ -104,6 +104,7 @@ let "LDD_F_SV_TYPE_MGS = 0x0004" ALWAYS_MNTOPTS=${ALWAYS_MNTOPTS:-"errors=remount-ro"} MDT_MGS_ALWAYS_MNTOPTS=${MDT_MGS_ALWAYS_MNTOPTS:-",iopen_nopriv,user_xattr"} OST_ALWAYS_MNTOPTS=${OST_ALWAYS_MNTOPTS:-",asyncdel"} +OST_DEFAULT_MNTOPTS=${OST_DEFAULT_MNTOPTS:-",extents,mballoc"} # User-settable parameter keys PARAM_MGSNODE=${PARAM_MGSNODE:-"mgsnode="} @@ -1058,6 +1059,7 @@ get_mntopts() { mount_opts="${ldd_mount_opts#${ALWAYS_MNTOPTS}}" mount_opts="${mount_opts#${MDT_MGS_ALWAYS_MNTOPTS}}" mount_opts="${mount_opts#${OST_ALWAYS_MNTOPTS}}" + mount_opts="${mount_opts#${OST_DEFAULT_MNTOPTS}}" mount_opts="`echo \"${mount_opts}\" | sed 's/^,//'`" [ "${mount_opts}" != "${mount_opts#*,*}" ] && echo "\""${mount_opts}"\"" \ -- 1.8.3.1