Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8e4fe6f1
Commit
8e4fe6f1
authored
May 08, 2013
by
Kirk Webb
Browse files
Enforce one sysvol local blockstore placement per node.
parent
d746f6ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/blockstore.tcl
View file @
8e4fe6f1
...
...
@@ -250,6 +250,14 @@ Blockstore instproc finalize {} {
incr sofullplacements
(
$nodeplace
)
1
}
# Check that there is only one sysvol placement per node
set systotal
[
expr $sopartialplacements
(
$nodeplace
)
+
\
$sofullplacements
(
$nodeplace
)]
if
{
$myplace ==
"SYSVOL"
&& $systotal > 1
}
{
perror
"Only one sysvol placement allowed per node!"
return
}
# Sanity check for full placements. There can be only one per node
# per placement type.
if
{
$sofullplacements
(
$nodeplace
)
> 1 ||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment