6 setting the cache policy in a virtual drive, 7 showing virtual drive information – Avago Technologies MegaRAID SAS 9240-4i User Manual
Page 51

LSI Corporation
- 51 -
StorCLI Reference Manual
January 2013
Chapter 5: Frequently Used Tasks
Setting the Cache Policy in a Virtual Drive
The drives that are used to create the virtual drives.
drives = e:s|e:s-x|e:s-x,y
Where:
—
e
specifies the enclosure id.
—
s
represents the slot in the enclosure.
—
e:s-x
is the range conventions used to represents slots s to x in the enclosure e.
The physical drives per array. The physical drives per array can be set to a particular value.
The SED option creates security-enabled drives.
The PDcache option can be set to on or off.
The pi option enables protection information.
The dimmer switch is the power save policy. It can be set to default or automatic *, none, maximum(max),
or MaximumWithoutCaching(maxnocache).
The wt option disables write back.
The nora option disables read ahead.
The cached option enables the cached memory.
The CachedBadBBU option enables caching when bbu is not functional.
The strip option sets the strip size. It can take the values 8, 16, 32, 64, 128, 256, 512, 1024.
The AfterVdX option creates the virtual drives in the adjacent free slot next to the specified virtual drives.
Example: /cx add vd type=r1 drives=0:10-15 WB Direct strip=64
This command creates a RAID volume of RAID 1 type from drives in slots 10 to slot 15 in enclosure 0. The strip size
is 64kb.
5.6
Setting the Cache Policy in a Virtual Drive
The following command sets the write cache policy of the virtual drive:
Storcli /cx/v(x|all) set wrcache=wt|wb|awb
The command sets the write cache to write back, write through, or always write back.
5.7
Showing Virtual Drive Information
The following command shows the virtual drive information for all the virtual drives in the controller:
storcli /cx/vall show [all]
NOTE The * indicates default values used in the creation of the virtual drives. If values are not specified, the
default values are taken.
- MegaRAID SAS 9240-8i MegaRAID SAS 9260-16i MegaRAID SAS 9260-4i MegaRAID SAS 9260-8i MegaRAID SAS 9261-8i MegaRAID SAS 9266-4i MegaRAID SAS 9266-8i MegaRAID SAS 9270-8i MegaRAID SAS 9271-4i MegaRAID SAS 9271-8i MegaRAID SAS 9271-8iCC MegaRAID SAS 9280-16i4e MegaRAID SAS 9280-24i4e MegaRAID SAS 9280-4i4e MegaRAID SAS 9280-8e MegaRAID SAS 9286-8e MegaRAID SAS 9286CV-8e MegaRAID SAS 9286CV-8eCC MegaRAID SAS 9285-8ecv