package com.bocloud.cmp.entity.enums.installation;

/**
 * Raid类型
 * <br/>
 * RAID0最少需要2块盘<br/>
 * RAID1最少需要2块盘<br/>
 * RAID5最少需要3块盘<br/>
 * RAID6最少需要4块盘<br/>
 * RAID10最少需要4块盘<br/>
 * RAID50最少需要6块盘<br/>
 * RAID60最少需要8块盘<br/>
 * <br/>
 * STORCLI支持的RAID类型有: RAID0，RAID1，RAID5，RAID6，RAID10，RAID50，RAID60<br/>
 * PERCCLI支持的RAID类型有: RAID0，RAID1，RAID5，RAID6，RAID10，RAID50，RAID60<br/>
 * HPSA支持的RAID类型有: RAID0，RAID1，RAID5，RAID6，RAID10，RAID50，RAID60<br/>
 * SAS2支持的RAID类型有: RAID0，RAID1，RAID1E，RAID10<br/>
 * SAS3支持的RAID类型有: RAID0，RAID1，RAID1E，RAID10<br/>
 * <br/>
 * SAS2 and SAS3的配置说明<br/>
 * The CREATE command creates Integrated RAID volumes on LSI SAS-3 controllers.<br/>
 * When you add a disk to an Integrated RAID volume, the volume might not use all of the disk’s storage capacity.<br/>
 * For example, if you add a 300-GB disk drive to a volume that only uses 200 GB of capacity on each disk drive, the volume does not use the remaining 100 GB of capacity on the disk drive.<br/>
 * The disk identified by the first Enclosure:Bay on the command line becomes the primary disk drive when you create an Integrated Mirroring (RAID 1) volume.<br/>
 * If the controller resynchronizes the disk drives, the data on the primary disk drive becomes available when you access the newly created volume.<br/>
 * When the IR firmware creates a RAID 1 volume, it starts a background initialization of the volume.<br/>
 * Use the STATUS command to monitor the status of the initialization.<br/>
 * The following restrictions and defaults apply when you create Integrated RAID volumes and hot spare disks:<br/>
 * · All disks that are part of a volume, including hot spares for that volume, must be connected to the same LSI SAS-3 controller.<br/>
 * · The supported RAID levels are RAID 0, RAID 1, RAID 1E, and RAID 10.<br/>
 * · You can create a maximum of two Integrated RAID volumes per LSI SAS-3 controller.<br/>
 * · The maximum and minimum disk drives per RAID level are as follows:<br/>
 * — RAID0:Max=10;Min=2.<br/>
 * — RAID1:Max=2;Min=2.<br/>
 * — RAID1E:Max=10;Min=3.<br/>
 * — RAID10:Max=10;Min=3.<br/>
 * · You can create one or two hot spare disks per controller. For more information about hot spare disks, see Section 3.6, HOTSPARE.<br/>
 * · SAS3IRCU does not permit you to create an Integrated RAID volume that combines SAS and SATA hard disk drives.<br/>
 * · SAS3IRCU does not permit you to create an Integrated RAID volume that combines solid-state drives (SSDs) and hard disk drives.<br/>
 * <br/>
 * SAS3IRCU supports disk drives with 512-byte sectors and disk drives with 4-KB sectors.<br/>
 * However, an Integrated RAID volume must use all 512-byte-sector drives or all 4-KB-sector drives. You cannot combine the two types of drives in a single Integrated RAID volume.<br/>
 *
 * @author lkx007
 */
public enum RaidType {
    /**
     * raid 0
     */
    raid0,
    /**
     * raid 0
     */
    RAID0,
    /**
     * raid 1
     */
    raid1,
    /**
     * raid 1
     */
    RAID1,
    /**
     * raid 5
     */
    raid5,
    /**
     * raid 5
     */
    RAID5,
    /**
     * raid 6
     */
    raid6,
    /**
     * raid 6
     */
    RAID6,
    /**
     * raid 1e
     */
    raid1e,
    /**
     * raid 1E
     */
    RAID1E,
    /**
     * raid 10
     */
    raid10,
    /**
     * raid 10
     */
    RAID10,
    /**
     * raid 50
     */
    raid50,
    /**
     * raid 50
     */
    RAID50,
    /**
     * raid 60
     */
    raid60,
    /**
     * raid 60
     */
    RAID60
}
