Whamcloud - gitweb
Don't format devices. This hack will be replaced by a command line switch
authorbrian <brian>
Thu, 15 Jun 2006 03:01:14 +0000 (03:01 +0000)
committerbrian <brian>
Thu, 15 Jun 2006 03:01:14 +0000 (03:01 +0000)
in lustre_config.sh to ask for a "no format, but configure" operation.

lustre/scripts/lmc2csv.pl

index b046928..b7df807 100644 (file)
@@ -178,7 +178,7 @@ sub main {
         }
         chop($mkfs_options);
 
-        printf "%s,%s,%s,/mnt/%s,mgs|mdt,,,,--device-size=%s,\"%s\"\n", 
+        printf "%s,%s,%s,/mnt/%s,mgs|mdt,,,,--device-size=%s --noformat,\"%s\"\n", 
             $mds->{"node"},
             lnet_options($net),
             $mds->{"dev"},
@@ -191,7 +191,7 @@ sub main {
     foreach my $ost (@{$objs{"ost"}}) {
         # find the net for this node
         my $net = find_obj("net", "node", $ost->{"node"}, @{$objs{"net"}});
-        printf "%s,%s,%s,/mnt/%s,ost,,\"%s\",,--device-size=%s,\"%s\"\n", 
+        printf "%s,%s,%s,/mnt/%s,ost,,\"%s\",,--device-size=%s --noformat,\"%s\"\n", 
         $ost->{"node"},
         lnet_options($net),
         $ost->{"dev"},