Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
dce78038
Commit
dce78038
authored
21 years ago
by
Nic Henke
Browse files
Options
Downloads
Patches
Plain Diff
update b_size from HEAD (20040213_2304)
parent
b6b0f50f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/tests/local.sh
+6
-4
6 additions, 4 deletions
lustre/tests/local.sh
with
6 additions
and
4 deletions
lustre/tests/local.sh
+
6
−
4
View file @
dce78038
...
@@ -11,7 +11,7 @@ MDSDEV=${MDSDEV:-$TMP/mds1-`hostname`}
...
@@ -11,7 +11,7 @@ MDSDEV=${MDSDEV:-$TMP/mds1-`hostname`}
MDSSIZE
=
${
MDSSIZE
:-
100000
}
MDSSIZE
=
${
MDSSIZE
:-
100000
}
FSTYPE
=
${
FSTYPE
:-
ext3
}
FSTYPE
=
${
FSTYPE
:-
ext3
}
MOUNT
=
${
MOUNT
:-
/mnt/lustre
}
MOUNT
=
${
MOUNT
:-
/mnt/lustre
}
#
MOUNT2=${MOUNT2:-${MOUNT}2}
MOUNT2
=
${
MOUNT2
:-${
MOUNT
}
2
}
NETWORKTYPE
=
${
NETWORKTYPE
:-
tcp
}
NETWORKTYPE
=
${
NETWORKTYPE
:-
tcp
}
OSTDEV
=
${
OSTDEV
:-
$TMP
/ost1-
`
hostname
`
}
OSTDEV
=
${
OSTDEV
:-
$TMP
/ost1-
`
hostname
`
}
...
@@ -20,7 +20,8 @@ OSTSIZE=${OSTSIZE:-200000}
...
@@ -20,7 +20,8 @@ OSTSIZE=${OSTSIZE:-200000}
# specific journal size for the ost, in MB
# specific journal size for the ost, in MB
JSIZE
=
${
JSIZE
:-
0
}
JSIZE
=
${
JSIZE
:-
0
}
[
"
$JSIZE
"
-gt
0
]
&&
JARG
=
"--journal_size
$JSIZE
"
[
"
$JSIZE
"
-gt
0
]
&&
JARG
=
"--journal_size
$JSIZE
"
MDSISIZE
=
${
MDSISIZE
:-
128
}
MDSISIZE
=
${
MDSISIZE
:-
0
}
[
"
$MDSISIZE
"
-gt
0
]
&&
IARG
=
"--inode_size
$MDSISIZE
"
STRIPE_BYTES
=
65536
STRIPE_BYTES
=
65536
STRIPES_PER_OBJ
=
0
# 0 means stripe over all OSTs
STRIPES_PER_OBJ
=
0
# 0 means stripe over all OSTs
...
@@ -30,9 +31,10 @@ rm -f $config
...
@@ -30,9 +31,10 @@ rm -f $config
# create nodes
# create nodes
${
LMC
}
--add
node
--node
localhost
||
exit
10
${
LMC
}
--add
node
--node
localhost
||
exit
10
${
LMC
}
--add
net
--node
localhost
--nid
`
hostname
`
--nettype
$NETWORKTYPE
||
exit
11
${
LMC
}
--add
net
--node
localhost
--nid
`
hostname
`
--nettype
$NETWORKTYPE
||
exit
11
${
LMC
}
--add
net
--node
client
--nid
'*'
--nettype
$NETWORKTYPE
||
exit
12
# configure mds server
# configure mds server
${
LMC
}
--add
mds
--nspath
/mnt/mds_ns
--node
localhost
--mds
mds1
--fstype
$FSTYPE
--dev
$MDSDEV
--size
$MDSSIZE
$JARG
--mkfsoptions
"-I
$MDSISIZE
"
||
exit
20
${
LMC
}
--add
mds
--nspath
/mnt/mds_ns
--node
localhost
--mds
mds1
--fstype
$FSTYPE
--dev
$MDSDEV
--size
$MDSSIZE
$JARG
$IARG
||
exit
20
# configure ost
# configure ost
${
LMC
}
-m
$config
--add
lov
--lov
lov1
--mds
mds1
--stripe_sz
$STRIPE_BYTES
--stripe_cnt
$STRIPES_PER_OBJ
--stripe_pattern
0
||
exit
20
${
LMC
}
-m
$config
--add
lov
--lov
lov1
--mds
mds1
--stripe_sz
$STRIPE_BYTES
--stripe_cnt
$STRIPES_PER_OBJ
--stripe_pattern
0
||
exit
20
...
@@ -40,4 +42,4 @@ ${LMC} --add ost --nspath /mnt/ost_ns --node localhost --lov lov1 --fstype $FSTY
...
@@ -40,4 +42,4 @@ ${LMC} --add ost --nspath /mnt/ost_ns --node localhost --lov lov1 --fstype $FSTY
# create client config
# create client config
${
LMC
}
--add
mtpt
--node
localhost
--path
$MOUNT
--mds
mds1
--lov
lov1
||
exit
40
${
LMC
}
--add
mtpt
--node
localhost
--path
$MOUNT
--mds
mds1
--lov
lov1
||
exit
40
#
${LMC} --add mtpt --node
localhos
t --path $MOUNT2 --mds mds1 --lov lov1 || exit 4
0
${
LMC
}
--add
mtpt
--node
clien
t
--path
$MOUNT2
--mds
mds1
--lov
lov1
||
exit
4
1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment