Skip to content

Instantly share code, notes, and snippets.

@DaffyDuke
Created March 5, 2017 11:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save DaffyDuke/72b90fe3d3ae1ef8f3ca66c0781966d0 to your computer and use it in GitHub Desktop.
Save DaffyDuke/72b90fe3d3ae1ef8f3ca66c0781966d0 to your computer and use it in GitHub Desktop.
Dell OMREPORT Admin RAID

Omconfig Replace Member Virtual Disk:

omconfig storage vdisk action=replacememberdisk controller=1 vdisk=4 source=0:3 destination=0:5

Omconfig Prepare To Remove Physical Disk:

omconfig storage pdisk action=remove controller=1 pdisk=0:2:3

Tips

Passage RAID 0 en RAID 1 OMSA CLI
##################################
Finding the controller number & ID:
------------------------------------
[root@server ~]# omreport storage controller |grep -A3 "^ID"
ID : 0
Status : Ok
Name : PERC H310 Mini
Slot ID : Embedded
--
ID : 1
Status : Ok
Name : PERC H810 Adapter
Slot ID : PCI Slot 1

Finding the physical Hdd’s number & ID:
---------------------------------------
[root@server ~]# omreport storage pdisk controller=1 |grep -Ew "^ID"
ID : 0:0:0
ID : 0:0:1
ID : 0:0:2
ID : 0:0:3

Checking (and correcting) the Hdd’s state:
------------------------------------------
[root@server ~]# omreport storage pdisk controller=1 |grep "^State"
State : Foreign
State : Foreign

Correcting the Hdd state:
-------------------------
[root@server ~]# omconfig storage controller controller=1 action=clearforeignconfig
Command successful!

Création du raid:
-----------------
omconfig storage vdisk action=reconfigure controller=0 vdisk=0 raid=r1 pdisk=0:0:1,0:0:0

0:0:1= disk primaire
0:0:0= disk secondaire

Check progression:

omreport storage vdisk controller=0 | grep -i progress
omreport storage vdisk controller=0 | findstr /C:Progress

Liens :

http://cavepopo.hd.free.fr/wordpress/linux/dell-server-utility-omreport/ https://public.support.unisys.com/pcproducts/esx/docs/DellDocs5.4/en/dosa/storageug/cli.html#1222564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment