Skip to content

Storage Policy

A Storage Policy configures local disk layout on UCS servers: RAID drive groups, virtual drives, and M.2 boot drive configuration. It is applied to servers via a Server Profile Template and determines how physical drives are presented as storage volumes.

Location in Intersight GUI: Policies » Storage

Diagram

policies (compute.intersight.organizations)

Section titled “policies (compute.intersight.organizations)”
NameTypeConstraintMandatoryDefault Value
storageList[storage]No

storage (compute.intersight.organizations.policies)

Section titled “storage (compute.intersight.organizations.policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringNo
managedBooleantrue, falseNotrue
tagsList[tags]No
unused_disks_stateChoiceNoChange, UnconfiguredGood, JbodNoNoChange
use_jbod_for_vd_creationBooleantrue, falseNofalse
global_hot_sparesStringNo
m2_virtual_driveClass[m2_virtual_drive]No
drive_groupsList[drive_groups]No

tags (compute.intersight.organizations.policies.storage)

Section titled “tags (compute.intersight.organizations.policies.storage)”
NameTypeConstraintMandatoryDefault Value
keyStringYes
valueStringYes

m2_virtual_drive (compute.intersight.organizations.policies.storage)

Section titled “m2_virtual_drive (compute.intersight.organizations.policies.storage)”
NameTypeConstraintMandatoryDefault Value
enabledBooleantrue, falseNo
controller_slotChoiceMSTOR-RAID-1, MSTOR-RAID-2, MSTOR-RAID-1,MSTOR-RAID-2No
nameStringNo

drive_groups (compute.intersight.organizations.policies.storage)

Section titled “drive_groups (compute.intersight.organizations.policies.storage)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
raid_levelChoiceRaid0, Raid1, Raid5, Raid6, Raid10, Raid50, Raid60NoRaid1
secureBooleantrue, falseNo
manual_drive_groupClass[manual_drive_group]No
virtual_drivesList[virtual_drives]No

manual_drive_group (compute.intersight.organizations.policies.storage.drive_groups)

Section titled “manual_drive_group (compute.intersight.organizations.policies.storage.drive_groups)”
NameTypeConstraintMandatoryDefault Value
dedicated_hot_sparesStringNo
drive_array_spansListStringYes

virtual_drives (compute.intersight.organizations.policies.storage.drive_groups)

Section titled “virtual_drives (compute.intersight.organizations.policies.storage.drive_groups)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_-]{1,15}$Yes
sizeIntegermin: 1No
boot_driveBooleantrue, falseNofalse
expand_to_availableBooleantrue, falseNofalse
access_policyChoiceDefault, ReadWrite, ReadOnly, BlockedNoDefault
drive_cacheChoiceDefault, NoChange, Enable, DisableNoDefault
read_policyChoiceDefault, ReadAhead, NoReadAheadNoDefault
write_policyChoiceDefault, WriteThrough, WriteBackGoodBbu, AlwaysWriteBackNoDefault
strip_sizeChoice64, 128, 256, 512, 1024No64

Example-1: The example below demonstrates a storage policy that creates an M.2 boot drive and a RAID-5 data volume from drives in slots 1–5.

compute:
intersight:
organizations:
- name: MyOrganization
policies:
storage:
- name: web-storage
description: Storage policy for web servers
unused_disks_state: UnconfiguredGood
m2_virtual_drive:
enabled: true
controller_slot: MSTOR-RAID-1
name: BootVd
drive_groups:
- name: dg-data
raid_level: Raid5
manual_drive_group:
drive_array_spans:
- "1,2,3,4,5"
virtual_drives:
- name: data
expand_to_available: true
read_policy: ReadAhead
write_policy: WriteBackGoodBbu
tags:
- key: env
value: prod

Example-2: The example below demonstrates a RAID-10 policy with two spans and a dedicated boot virtual drive.

compute:
intersight:
organizations:
- name: MyOrganization
policies:
storage:
- name: db-storage
description: Storage policy for database servers
drive_groups:
- name: dg-os
raid_level: Raid1
manual_drive_group:
drive_array_spans:
- "1,2"
virtual_drives:
- name: os
size: 102400
boot_drive: true
- name: dg-data
raid_level: Raid10
manual_drive_group:
drive_array_spans:
- "3,4"
- "5,6"
virtual_drives:
- name: data
expand_to_available: true
strip_size: 256
write_policy: WriteBackGoodBbu