Oracle® Server CLI Tools for Oracle Solaris 11.2 User's Guide

Exit Print View

Updated: November 2015

Create a RAID Volume with Partial Disks

Use the –-subdisk-size option with the raidconfig create to create a RAID volume with partial disks:

  • To create a RAID volume with partial disks, type:

    raidconfig create raid --disk=disks --subdisk-size=sizes

    For example, the following command creates three RAID volumes with subdisks within disks c0d0 and c0d2 sized at 50, 75, and 100 GB:

    raidconfig create raid --disk=c0d0,c0d1 --subdisk-size=50,75,100

    Create RAID level 0 volumes using disk sizes 50, 75, 100 from the
    following disk(s):
    Disk c0d0 (controller 0 slot 0)
    Disk c0d1 (controller 0 slot 1)  [y/n]? y
    RAID created successfully

    If the –-subdisk-size option is not used, the raidconfig create command creates a single RAID volume from the defined disks.