PowerEdge: Správa řadiče PowerEdge RAID pomocí nástroje PERCCLI
Summary: Tento článek poskytuje informace o správě řadiče Dell PowerEdge RAID Controller (PERC) pomocí nástroje PERCCLI.
Instructions
Správa řadičů PERC pomocí nástroje PERCCLI
Správa virtuálních disků (VD)
Kontrolujte konzistenci, zachovanou mezipaměť a virtuální disky pomocí následujících příkazů:
- Pozastavení kontroly konzistence
- Obnovení kontroly konzistence
- Zobrazit stav kontroly konzistence
- Spuštění kontroly konzistence
- Zastavení kontroly konzistence
- Odstranění zachované mezipaměti
- Zobrazit zachovanou vyrovnávací paměť
- Odstranění virtuálního disku
- Vytvoření virtuálního disku
# Pause consistency check perccli /cX/vY pause cc # Resume consistency check perccli /cX/vY resume cc # Show consistency check status perccli /cX/vY show cc # Start consistency check (add "force" if required) perccli /cX/vY start cc [force] # Stop consistency check perccli /cX/vY stop cc # Delete preserved cache (add "force" if required) perccli /cX/vY delete preservedCache [force] # Show preserved cache perccli /cX show preservedCache # Delete a virtual disk (use "all" to delete all VDs) perccli /cX/vY|all del # Create a virtual disk (example) perccli /cX add vd r5 size=500GB name=VD1 drives=1:0-3 pdperarray=4 pdcache=on wt wb strip=128 force
force Může způsobit ztrátu dat. Před spuštěním ověřte cílové jednotky.
Správa fyzických disků
Pomocí následujících příkazů můžete zobrazovat, konfigurovat, vyhledat a přiřadit jednotky hot spare k fyzickým diskům.
- Zobrazit informace o disku
- Nastavit stav disku (JBOD, dobrý, offline, online)
- Start/Stop kontrolka lokalizace disku
- Přidání nebo odstranění jednotky hot spare
- Správa neznámých konfigurací
# Show a specific drive (controller X, enclosure Y, slot Z) perccli /cX/eY/sZ show # Show all drives on a controller perccli /cX/eall/sall show # Show all drives with detailed information perccli /cX/eY/sZ|sall show all # Show drives in JBOD mode perccli /cX/eY/sall show jbod perccli /cX/eY/sZ show jbod # Set a drive to JBOD perccli /cX/eY/sZ set jbod # Set a drive to GOOD (add "force" if required) perccli /cX/eY/sZ set good [force] # Set a drive OFFLINE perccli /cX/eY/sZ set offline # Set a drive ONLINE perccli /cX/eY/sZ set online # Start locate LED on a drive perccli /cX/eY/sZ start locate # Stop locate LED on a drive perccli /cX/eY/sZ stop locate # Add a hot‑spare drive (optional DG list, enclosure affinity, non‑revertible) perccli /cX/eY/sZ add hotsparedrive [DGs=0,1,2][enclaffinity][nonrevertible] # Delete a hot‑spare drive perccli /cX/eY/sZ delete hotsparedrive # Delete foreign configuration (add security key if required) perccli /cX/fx|fall del [securitykey=sssssssssss] # Import foreign configuration (preview optional) perccli /cX/fx|fall import [preview][securitykey=sssssssssss] # Show foreign configuration (add "all" to list all) perccli /cX/fx|fall show [all][securitykey=sssssssssss]
| Možnost | Rozsah hodnot | Popis |
|---|---|---|
rXX |
RAID [0|1|5|6|10|50|60] |
Sets the RAID type of the configuration. |
size |
Maximum size based on the physical drives and RAID level. |
Sets the size of each virtual drive. Default is the capacity of all referenced disks. |
name |
15 characters |
Specifies the drive name for each virtual drive. |
drives |
Valid enclosure number and slot numbers (e:s|e:s-x|e:s-x,y) |
Defines which physical drives belong to the VD. e = enclosure ID, s = slot. |
pdperarray |
0‑15 |
Number of physical drives per array. Default is chosen automatically. |
sed |
— |
Creates security‑enabled drives. |
pdcache |
on|off|default |
Enables or disables physical‑drive cache. |
pi |
— |
Enables protection information. |
dimmerswitch |
default|automatic|none|maximum|maxnocache |
Specifies power‑saving policy for the logical device. |
wt|wb |
wt (write‑through) or wb (write‑back) |
Sets write policy. Write‑back is default. |
nora|ra |
ra (read‑ahead) or nora (no read‑ahead) |
Controls read‑ahead. Read‑ahead is default. |
cachedbadbbu|nocachedbadbbu |
— |
Enable/disable caching when BBU is faulty. Disabled by default. |
strip |
8,16,32,64,128,256,512,1024 |
Sets the strip size for the RAID configuration. |
aftervd |
Valid virtual drive number |
Creates the VD in the free slot next to the specified VD. |
spares |
List of physical drives |
Assigns spare drives to the disk group. |
force |
— |
Forces addition of a security‑capable drive without security. |
Informace o instalaci nástroje PERCCLI naleznete v části: PowerEdge: Jak nainstalovat nástroj PERCCLI v systémech Red Hat Linux, Ubuntu Linux, VMware ESXi a Windows Server
Additional Information
Příručka příkazového řádku PERC 9/10/11 – https://www.dell.com/support/manuals/en-in/perc-h750-sas/perc_cli_rg/Overview?guid=guid-85a3c53c-4b87-42be-a787-7ed23993297f⟨=en-us
Příručka k řadiči PERC 11/12 pro příkazový řádek – https://www.dell.com/support/manuals/en-us/perc-h965i-mx/perc12_cli_rg/working-with-the-perc-command-line-interface-tool?guid=guid-d44fef6f-7a59-4612-a65e-0bdc9e0dd842⟨=en-us