14.4 Managing Software RAID Devices using NSSMU

14.4.1 Creating Software RAID Devices

  1. In NSSMU, select RAID Devices from the NSSMU main menu.

  2. Press Insert (Ins) to create a new device.

  3. Select the RAID type (0, 1, or 5), then press Enter.

  4. (Conditional) If this is a RAID 0 or 5 device, specify the stripe size, then press Enter.

    The default stripe size is 64 KB, which typically provides the best performance for devices with NSS volumes.

  5. Use the arrow keys to select the partitions that you want to contribute space to the RAID.

    If no partitions appear, it is an indication that either there are no partitions large enough or there are no free partitions. Each segment must be more than 12 MB. If any segment uses space from a device that is partitioned with the DOS partition table scheme, then the maximum segment size must be less than 2 TB. If all devices are using GPT, a RAID segment size can be more than 2 TB. Since pools are currently limited to 8TB, RAID1 sizes for pool objects are also limited to 8TB.

    IMPORTANT:Unallocated partitions (that is, partitions that are not mirrored and do not contain pools or other file systems), are deleted in order to present the unused space as free space for use by the RAID. No data loss occurs by this action.

    After space is selected from a device, other free space associated with that device might not appear. This prevents you from adding more than one segment from a single physical device, and consequently, helps ensure the optimum performance of your file system.

    The following table lists the number of segments that you can include in a RAID device:

    RAID Type

    Number of Segments

    RAID 0

    Minimum of 2 and a maximum of 14

    RAID 1

    Maximum of 4

    RAID 5

    Minimum of 3 and a maximum of 14; one segment is used for parity

  6. Specify the amount of space to use, then press Enter.

    The segment is created and added to the Segments Included in the RAID window.

14.4.2 Mirroring an Existing Pool

  1. Before you begin, review the Section 14.2.2, Guidelines for Software RAID 1 Devices.

  2. In NSSMU, select Partitions from the NSSMU main menu.

  3. From the list of existing partitions, select the NSS partition for the pool you want to mirror.

  4. Press F3 to create the RAID 1 device and mirror the partition where the pool resides.

  5. From the available devices, select up to three additional devices that you want to use as a segment, then press Enter.

    On the page where you select the second partition, you have to press the space bar to select the partition for the second mirror. When it is truly selected, the asterisk next to it stays there even if you move up and down in the list. Then press F3 to mirror. The message pops up to confirm creating the mirror.

    The space assigned is the same size as the existing partition. The segments must reside on different devices. If no partitions appear, it is an indication that either there are no partitions large enough or no free space exists on other devices.

  6. To confirm the RAID 1 device, select RAID Devices from the NSSMU Main menu. The RAID 1 device ID appears in the RAID Devices window.

  7. Select the RAID device, then view its details to make sure that synchronization has begun.

    The remirroring status shows a percentage is greater than 0. It is fully synchronized at 100%.

14.4.3 Recovering a Mirror where All Elements Report ‘Not in Sync’

If all elements of a mirrored RAID report a status of “not in sync”, use the following procedure to recover the mirror.

  1. Determine which element you believe to be the in-sync element.

  2. Log in to the server as the root user, and open a terminal console.

  3. Launch nssmu.

  4. From the NSSMU menu, select Software RAIDs.

  5. In the list of RAIDs, select the RAID, then press Enter to see its elements.

  6. Remove all of the elements from the mirror except the element you want to keep. Select the element to delete, then press Delete. Repeat this step for each of the elements you want to remove from the Software RAID. Wait for the segment to be removed before you remove the next segment.

    When you are done, you have a RAID1 device that consists of the single element that you believed to be the in-sync element.

  7. Force the single RAID element to be in sync. On the Software RAIDS page, select the RAID device, then press F6 (Restripe).

  8. Add elements back into the mirror as desired.

    1. On the Software RAIDs page, select the RAID device and press F3 (Expand).

    2. From the list of available devices, select the device or devices that you want to add.

    3. Press F3 (Accept).

14.4.4 Creating a Software RAID 0+1

In NSS, you can mirror your software RAID 0 devices to create a nested RAID 0+1 device. Use NSSMU to mirror the partition used by the pool on a RAID 0 device. The following procedure describes how to create the RAID 0+1 in NSSMU. You can also create the RAID 0 devices first in iManager, but you must use NSSMU to be able to select them for a mirror.

  1. In NSSMU, create a software RAID 0 device with 2 to 14 segments.

    For information, see Section 14.4.1, Creating Software RAID Devices.

  2. Repeat Step 1 one to three times to create 2 to 4 RAID 0 devices.

    The RAID 0 devices you use to create the mirror must have no drives in common. Each drive you use to create the RAIDs can belong to only one of the RAID 0 devices.

  3. In NSSMU, create a pool on one of the RAID 0 devices.

    1. In NSSMU, select Pools from the NSSMU main menu.

    2. Press Insert (Ins) to create a pool.

    3. From the list of available devices, select one of the RAID 0 devices.

    4. Assign all of the available space to the pool, then press Enter.

  4. Create a RAID 1 device to mirror the pool.

    1. In NSSMU, select Partitions from the NSSMU main menu.

    2. Select the NSS partition for the pool you want to mirror.

    3. Press F3 to create the RAID 1 device and mirror the partition.

    4. From the available devices, select up to three remaining RAID 0 devices you created above.

    5. Press F3 to initialize and create the RAID 1 (mirror) device.

      After the RAID device is created, the device ID appears in the RAID Devices window. This window is viewed from the RAID Devices NSSMU main menu. The RAID is a RAID 0+1.

14.4.5 Creating a Software RAID 5+1

In NSS, you can mirror your software RAID 5 devices for your server to create a nested RAID 5+1 device. Use NSSMU to mirror the partition used by the pool on a RAID 5 device. The following procedure describes how to create the RAID 5+1 in NSSMU. You can also create the RAID 5 devices and NSS pool for the RAID 5 devices in the Storage plug-in for iManager, and then switch to NSSMU to mirror the pool’s partition.

  1. In NSSMU, create a software RAID 5 device with 3 to 14 segments.

    For information, see Section 14.4.1, Creating Software RAID Devices.

  2. Repeat Step 1 one to three times to create 2 to 4 RAID 5 devices.

    The RAID 5 devices you use to create the mirror must have no drives in common. Each drive you use to create the RAIDs can belong to only one of the RAID 5 devices.

  3. In NSSMU, create a pool on one of the RAID 5 devices.

    1. In NSSMU, select Pools from the NSSMU main menu.

    2. Press Insert (Ins) to create a pool.

    3. From the list of available devices, select one of the RAID 5 devices.

    4. Assign all of the available space to the pool, then press Enter.

  4. Create a RAID 1 device to mirror the pool.

    1. In NSSMU, select Partitions from the NSSMU main menu.

    2. Select the NSS partition for the pool you want to mirror.

    3. Press F3 to create the RAID 1 device and mirror the partition.

    4. From the available devices, select one of the remaining RAID 5 devices you created above.

      NOTE:You can select up to three devices.

    5. Press F3 to initialize and create the RAID 1 (mirror) device.

      After the RAID device is created, the device ID appears in the RAID Devices window. This window is viewed from the RAID Devices NSSMU main menu. The RAID is a RAID 5+1.