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
3b073c36
Commit
3b073c36
authored
22 years ago
by
Robert Read
Browse files
Options
Downloads
Patches
Plain Diff
Use the right fstype for the kernel being used.
parent
ce8687e9
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
+12
-2
12 additions, 2 deletions
lustre/tests/local.sh
with
12 additions
and
2 deletions
lustre/tests/local.sh
+
12
−
2
View file @
3b073c36
...
@@ -11,14 +11,24 @@ MDSSIZE=50000
...
@@ -11,14 +11,24 @@ MDSSIZE=50000
OSTDEV
=
$TMP
/ost1
OSTDEV
=
$TMP
/ost1
OSTSIZE
=
100000
OSTSIZE
=
100000
kver
=
`
uname
-r
|
cut
-d
"."
-f
1,2
`
case
$kver
in
2.4
)
FSTYPE
=
"--fstype=extN"
;;
2.5
)
FSTYPE
=
"--fstype=ext3"
;;
*
)
echo
"Kernel version
$kver
not supported"
exit
1
;;
esac
# create nodes
# create nodes
${
LMC
}
-o
$config
--node
localhost
--net
localhost tcp
||
exit
1
${
LMC
}
-o
$config
--node
localhost
--net
localhost tcp
||
exit
1
# configure mds server
# configure mds server
${
LMC
}
-m
$config
--format
--node
localhost
--mds
mds1
$MDSDEV
$MDSSIZE
||
exit
2
${
LMC
}
-m
$config
--format
--node
localhost
$FSTYPE
--mds
mds1
$MDSDEV
$MDSSIZE
||
exit
2
# configure ost
# configure ost
${
LMC
}
-m
$config
--format
--node
localhost
--ost
$OSTDEV
$OSTSIZE
||
exit
3
${
LMC
}
-m
$config
--format
--node
localhost
$FSTYPE
--ost
$OSTDEV
$OSTSIZE
||
exit
3
# create client config
# create client config
${
LMC
}
-m
$config
--node
localhost
--mtpt
/mnt/lustre mds1 OSC_localhost
||
exit
4
${
LMC
}
-m
$config
--node
localhost
--mtpt
/mnt/lustre mds1 OSC_localhost
||
exit
4
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