Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
996fae8
)
mkfs options needs to be passed to mkfs.lustre inside of --param="". I
author
brian
<brian>
Fri, 16 Jun 2006 19:31:34 +0000
(19:31 +0000)
committer
brian
<brian>
Fri, 16 Jun 2006 19:31:34 +0000
(19:31 +0000)
wonder if lustre_config.sh shouldn't do this wrapping for us before passing
to mkfs.lustre.
lustre/scripts/lmc2csv.pl
patch
|
blob
|
history
diff --git
a/lustre/scripts/lmc2csv.pl
b/lustre/scripts/lmc2csv.pl
index
bc885e2
..
6003273
100644
(file)
--- a/
lustre/scripts/lmc2csv.pl
+++ b/
lustre/scripts/lmc2csv.pl
@@
-183,8
+183,11
@@
foreach my $mds (@{$objs{"mds"}}) {
$lov->{"stripe_pattern"} . ",";
}
chop($mkfs_options);
+ if ($mkfs_options ne "") {
+ $mkfs_options = "--param=\"$mkfs_options\"";
+ }
- printf "%s,%s,%s,$MOUNTPT/%s,mgs|mdt,,,,--device-size=%s --noformat,
\"%s\"
\n",
+ printf "%s,%s,%s,$MOUNTPT/%s,mgs|mdt,,,,--device-size=%s --noformat,
%s
\n",
$mds->{"node"},
lnet_options($net),
$mds->{"dev"},