Difference between revisions of "Raidcfg"

From Bashlinux
Jump to: navigation, search
(Created page with "__NOTOC__ == Setup == === How to install raidcfg === '''CentOS''' yum install raidcfg '''Ubuntu''' apt-get install raidcfg == Commands == === How to list the controller in...")
 
 
Line 17: Line 17:
 
  # /opt/dell/toolkit/bin/raidcfg -pd -c=0
 
  # /opt/dell/toolkit/bin/raidcfg -pd -c=0
  
=== How to blinks/unblink physical disk 24 in controller 0 ===
+
=== How to blinks/unblink physical disk NN in controller 0 ===
  # /opt/dell/toolkit/bin/raidcfg -pd -ad=0:24:1 -ac=<blink|unblink> -c=0
+
  # /opt/dell/toolkit/bin/raidcfg -pd -ad=0:NN:1 -ac=<blink|unblink> -c=0
  
 
=== How to clear foreing configuration on controller ===
 
=== How to clear foreing configuration on controller ===
 
  # /opt/dell/toolkit/bin/raidcfg -ctrl -c=0 -ac=fgnclr
 
  # /opt/dell/toolkit/bin/raidcfg -ctrl -c=0 -ac=fgnclr
  
=== How to assign disk 24 as global hot spare ===
+
=== How to assign disk NN as global hot spare ===
  # /opt/dell/toolkit/bin/raidcfg -ctrl -ac=sghs -c=0 -pd=0:24:1
+
  # /opt/dell/toolkit/bin/raidcfg -ctrl -ac=sghs -c=0 -pd=0:NN:1
  
=== How to set disk 25 state to online ===
+
=== How to set disk NN state to online ===
  # /opt/dell/toolkit/bin/raidcfg -pd -ac=online -pd=0:25:1 -c=0
+
  # /opt/dell/toolkit/bin/raidcfg -pd -ac=online -pd=0:NN:1 -c=0

Latest revision as of 07:52, 31 July 2016

Setup

How to install raidcfg

CentOS

yum install raidcfg

Ubuntu

apt-get install raidcfg

Commands

How to list the controller info

# /opt/dell/toolkit/bin/raidcfg -ctrl -c=0

How to list all virtual disks in all the controllers

# /opt/dell/toolkit/bin/raidcfg -vd

How to list all physical disks in all the controllers

# /opt/dell/toolkit/bin/raidcfg -pd -c=0

How to blinks/unblink physical disk NN in controller 0

# /opt/dell/toolkit/bin/raidcfg -pd -ad=0:NN:1 -ac=<blink|unblink> -c=0

How to clear foreing configuration on controller

# /opt/dell/toolkit/bin/raidcfg -ctrl -c=0 -ac=fgnclr

How to assign disk NN as global hot spare

# /opt/dell/toolkit/bin/raidcfg -ctrl -ac=sghs -c=0 -pd=0:NN:1

How to set disk NN state to online

# /opt/dell/toolkit/bin/raidcfg -pd -ac=online -pd=0:NN:1 -c=0