PowerEdge: Hantera PowerEdge RAID-styrenheten med PERCCLI
Summary: Den här artikeln innehåller information om hur du hanterar Dell PowerEdge RAID-kontroller (PERC) med hjälp av PERCCLI-verktyget.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Hantera PERC-styrenheter med PERCCLI
Hantering av virtuella diskar (VD)
Kontrollera konsekvenskontroller, bevarad cache och virtuella diskar med hjälp av kommandona nedan:
- Pausa en konsekvenskontroll
- Återuppta en konsekvenskontroll
- Visa status för konsekvenskontroll
- Starta en konsekvenskontroll
- Stoppa en konsekvenskontroll
- Ta bort bevarad cache
- Visa bevarad cache
- Ta bort en virtuell disk
- Skapa en virtuell disk
# 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
Viktigt! Använda
force kan orsaka dataförlust. Kontrollera målenheterna innan du kör.
Hantering av fysiska diskar
Använd följande kommandon för att visa, konfigurera, hitta och tilldela reservdiskar för fysiska diskar.
- Visa enhetsinformation
- Ställ in enhetsstatus (JBOD, bra, offline, online)
- LED-lampa för att lokalisera/stoppa drevet
- Lägga till eller ta bort en reservdisk
- Hantera externa konfigurationer
# 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]
Varning! Om du tar bort en extern konfiguration tas alla väntande RAID-metadata bort. Kontrollera att konfigurationen inte längre behövs innan du fortsätter.
| Alternativ | Värdeintervall | Beskrivning |
|---|---|---|
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. |
För installation av PERCCLI, se: PowerEdge: Installera PERCCLI-verktyget på Red Hat Linux, Ubuntu Linux, VMware ESXi och Windows Server
Additional Information
PERC 9/10/11 Kommandoradsmanual – https://www.dell.com/support/manuals/en-in/perc-h750-sas/perc_cli_rg/Overview?guid=guid-85a3c53c-4b87-42be-a787-7ed23993297f⟨=en-us
Kommandoradsguide för PERC 11/12 – 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
Affected Products
PowerEdge RAID Controller H345, PowerEdge RAID Controller H350 Adapter SAS, PowerEdge RAID Controller H355 Front SAS, PowerEdge RAID Controller H355 Adapter SAS, PowerEdge RAID Controller H365i Adapter, PowerEdge RAID Controller H365i Front DC-MHS
, PowerEdge RAID Controller H730P MX, PowerEdge RAID Controller H745, PowerEdge RAID Controller H745P MX, PowerEdge RAID Controller H750 Adapter SAS, PowerEdge RAID Controller H755 Adapter, PowerEdge RAID Controller H755 MX Adapter, PowerEdge RAID Controller H755N Front NVMe, PowerEdge RAID Controller H755 Front SAS, PowerEdge RAID Controller H965i Adapter, PowerEdge RAID Controller H965i Front, PowerEdge RAID Controller H965i MX, PowerEdge RAID Controller H975i Front, PowerEdge RAID Controller H330, PowerEdge RAID Controller H730, PowerEdge RAID Controller H730P, PowerEdge RAID Controller H740P, PowerEdge RAID Controller H965e Adapter
...
Article Properties
Article Number: 000394815
Article Type: How To
Last Modified: 24 مايو 2026
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.