From: brian Date: Fri, 16 Jun 2006 21:32:25 +0000 (+0000) Subject: As per lustre_config.sh's new functionality, default the mount options to X-Git-Tag: v1_7_100~1^90~8^2~107 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9ff343e34ffad4e4d1de1255e9d483b074c6c7ff;p=fs%2Flustre-release.git As per lustre_config.sh's new functionality, default the mount options to "noauto". --- diff --git a/lustre/scripts/lmc2csv.pl b/lustre/scripts/lmc2csv.pl index 5b4ec8a..811eb3f 100644 --- a/lustre/scripts/lmc2csv.pl +++ b/lustre/scripts/lmc2csv.pl @@ -187,7 +187,7 @@ foreach my $mds (@{$objs{"mds"}}) { $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,,noauto\n", $mds->{"node"}, lnet_options($net), $mds->{"dev"}, @@ -200,6 +200,10 @@ foreach my $mds (@{$objs{"mds"}}) { foreach my $ost (@{$objs{"ost"}}) { # find the net for this node + my $mount_opts="noauto"; + if (defined($ost->{"mountfsoptions"})) { + $mount_opts .= "," . $ost->{"mountfsoptions"}; + } my $net = find_obj("net", "node", $ost->{"node"}, @{$objs{"net"}}); printf "%s,%s,%s,$MOUNTPT/%s,ost,,\"%s\",,--device-size=%s --noformat,,\"%s\"\n", $ost->{"node"}, @@ -208,5 +212,5 @@ foreach my $ost (@{$objs{"ost"}}) { $ost->{"ost"}, join(",", @mgses), $ost->{"size"}, - $ost->{"mountfsoptions"}; + $mount_opts; }