Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-140 Remove leftovers of iopen
[fs/lustre-release.git]
/
lustre
/
scripts
/
lustre_createcsv.in
diff --git
a/lustre/scripts/lustre_createcsv.in
b/lustre/scripts/lustre_createcsv.in
index
584b0e4
..
48cb432
100644
(file)
--- a/
lustre/scripts/lustre_createcsv.in
+++ b/
lustre/scripts/lustre_createcsv.in
@@
-82,13
+82,13
@@
declare -a VG_NAME VG_PVNAMES # VG
declare -a LV_NAME LV_SIZE LV_VGNAME # LV
# Lustre target service types
declare -a LV_NAME LV_SIZE LV_VGNAME # LV
# Lustre target service types
-let "
SV
TYPE_MDT = 0x0001"
-let "
SV
TYPE_OST = 0x0002"
-let "
SV
TYPE_MGS = 0x0004"
+let "
LDD_F_SV_
TYPE_MDT = 0x0001"
+let "
LDD_F_SV_
TYPE_OST = 0x0002"
+let "
LDD_F_SV_
TYPE_MGS = 0x0004"
# Permanent mount options for ext3 or ldiskfs
ALWAYS_MNTOPTS=${ALWAYS_MNTOPTS:-"errors=remount-ro"}
# Permanent mount options for ext3 or ldiskfs
ALWAYS_MNTOPTS=${ALWAYS_MNTOPTS:-"errors=remount-ro"}
-MDT_MGS_ALWAYS_MNTOPTS=${MDT_MGS_ALWAYS_MNTOPTS:-"
,iopen_nopriv,
user_xattr"}
+MDT_MGS_ALWAYS_MNTOPTS=${MDT_MGS_ALWAYS_MNTOPTS:-"user_xattr"}
OST_ALWAYS_MNTOPTS=${OST_ALWAYS_MNTOPTS:-",asyncdel"}
OST_DEFAULT_MNTOPTS=${OST_DEFAULT_MNTOPTS:-",extents,mballoc"}
OST_ALWAYS_MNTOPTS=${OST_ALWAYS_MNTOPTS:-",asyncdel"}
OST_DEFAULT_MNTOPTS=${OST_DEFAULT_MNTOPTS:-",extents,mballoc"}
@@
-1096,9
+1096,9
@@
get_devnames(){
# Check the service type of a lustre target
is_target() {
case "$1" in
# Check the service type of a lustre target
is_target() {
case "$1" in
- "mdt") let "ret = $2 &
SV
TYPE_MDT";;
- "ost") let "ret = $2 &
SV
TYPE_OST";;
- "mgs") let "ret = $2 &
SV
TYPE_MGS";;
+ "mdt") let "ret = $2 &
LDD_F_SV_
TYPE_MDT";;
+ "ost") let "ret = $2 &
LDD_F_SV_
TYPE_OST";;
+ "mgs") let "ret = $2 &
LDD_F_SV_
TYPE_MGS";;
"*")
error_output "is_target(): Invalid" \
"target service type - \"$1\"!"
"*")
error_output "is_target(): Invalid" \
"target service type - \"$1\"!"