text stringlengths 0 4.23k |
|---|
select |
Shifts the focus to a disk, partition, volume, or virtual hard disk (VHD). |
set id |
Changes the partition type field for the partition with focus. |
shrink |
Reduces the size of the selected volume by the amount you specify. |
uniqueid |
Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the disk with focus. |
Listing available objects |
You can view a list of options associated to each command by running the main command followed by what is available to that specific command. Running list by itself will display the four parameters below: |
Note |
After you run the list command, an asterisk (*) appears next to the object of focus. |
Examples |
To see available disk(s), run list disk: |
list disk |
To select a disk, run select disk followed by the disk number. For example: |
select disk 1 |
Before disk 1 can be utilized, a partition will need to be created by running create partition primary: |
create partition primary |
Lastly, we can perform a quick format of disk 1 to NTFS with the label "Backup" by running format fs=ntfs label=Backup quick as seen below: |
format fs=ntfs label=Backup quick |
diskperf |
The diskperf command remotely enables or disables physical or logical disk performance counters on computers running Windows. |
Syntax |
diskperf [-y[d|v] | -n[d|v]] [\\computername] |
Options |
Option |
Description |
-y |
Starts all disk performance counters when the computer restarts. |
-yd |
Enables disk performance counters for physical drives when the computer restarts. |
-yv |
Enables disk performance counters for logical drives or storage volumes when the computer restarts. |
-n |
Disables all disk performance counters when the computer restarts. |
-nd |
Disable disk performance counters for physical drives when the computer restarts. |
-nv |
Disable disk performance counters for logical drives or storage volumes when the computer restarts. |
\\<computername> |
Specifies the name of the computer where you want to enable or disable disk performance counters. |
-? |
Displays context sensitive help. |
\\<computername> |
Diskraid |
Diskraid is a command-line tool that enables you to configure and manage redundant array of independent (or inexpensive) disks (RAID) storage subsystems. |
RAID is typically used on servers to standardize and categorize fault-tolerant disk systems. RAID levels provide various mixes of performance, reliability, and cost. Some servers provide three of the RAID levels: Level 0 (striping), Level 1 (mirroring), and Level 5 (striping with parity). |
A hardware RAID subsystem distinguishes physically addressable storage units from one another by using a Logical Unit Number (LUN). A LUN object must have at least one plex, and can have any number of additional plexes. Each plex contains a copy of the data on the LUN object. Plexes can be added to and removed from a LUN object. |
Most Diskraid commands operate on a specific host bus adapter (HBA) port, initiator adapter, initiator portal, provider, subsystem, controller, port, drive, LUN, target portal, target, or target portal group. You use the SELECT command to select an object. The selected object is said to have focus. Focus simplifies common configuration tasks, such as creating multiple LUNs within the same subsystem. |
Note |
The Diskraid command-line tool works only with storage subsystems that support Virtual Disk Service (VDS). |
Diskraid commands |
The following commands are available from within the Diskraid tool. |
add |
Adds an existing LUN to the currently selected LUN, or adds an iSCSI target portal to the currently selected iSCSI target portal group. |
Syntax |
add plex lun=n [noerr] |
add tpgroup tportal=n [noerr] |
Parameters |
Parameter |
Description |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.