Whamcloud - gitweb
LUDOC-34 remove modules with 'lustre_rmmod'
authorPrzemyslaw Dubaniewicz <przemyslaw@dubaniewicz.com>
Mon, 11 Mar 2013 11:14:21 +0000 (12:14 +0100)
committerAndreas Dilger <andreas.dilger@intel.com>
Tue, 19 Mar 2013 10:04:30 +0000 (06:04 -0400)
Use "lustre_rmmod" instead of
"lctl modules | awk '{print $2}' | xargs rmmod" to remove modules.
(Corrected tip in section 15.2.2)

Change-Id: I833f83a85e87d00427ed41180e0db6fa51074d2d
Signed-off-by: Przemyslaw Dubaniewicz <przemyslaw@dubaniewicz.com>
Reviewed-on: http://review.whamcloud.com/5668
Tested-by: Hudson
Reviewed-by: Cliff White <cliff.white@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
ManagingLNET.xml

index a60e2b8..c231361 100644 (file)
@@ -77,7 +77,7 @@ $ lctl network up</screen>
       <note>
         <para>
 To remove all Lustre modules, run:</para>
-        <para><literal>$ lctl modules | awk &apos;{print $2}&apos; | xargs rmmod</literal></para>
+        <para><literal>$ lustre_rmmod</literal></para>
       </note>
     </section>
   </section>