You can use different keystrokes that enable you to view, expand, restripe, create, and delete a RAID device using NSSMU. For more information, see Table 10-12.
In NSSMU, select RAID Devices from the NSSMU main menu.
Press Insert (Ins) to create a new device.
Select the RAID type (0, 1, or 5), then press Enter.
(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.
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 |
Specify the amount of space to use, then press Enter.
The segment is created and added to the Segments Included in the RAID window.
Before you begin, review the Section 14.2.2, Guidelines for Software RAID 1 Devices.
In NSSMU, select Partitions from the NSSMU main menu.
From the list of existing partitions, select the NSS partition for the pool you want to mirror.
Press F3 to create the RAID 1 device and mirror the partition where the pool resides.
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.
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.
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%.
If all elements of a mirrored RAID report a status of “not in sync”, use the following procedure to recover the mirror.
Determine which element you believe to be the in-sync element.
Log in to the server as the root user, and open a terminal console.
Launch nssmu.
From the NSSMU menu, select Software RAIDs.
In the list of RAIDs, select the RAID, then press Enter to see its elements.
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.
Force the single RAID element to be in sync. On the Software RAIDS page, select the RAID device, then press F6 (Restripe).
Add elements back into the mirror as desired.
On the Software RAIDs page, select the RAID device and press F3 (Expand).
From the list of available devices, select the device or devices that you want to add.
Press F3 (Accept).
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.
In NSSMU, create a software RAID 0 device with 2 to 14 segments.
For information, see Section 14.4.1, Creating Software RAID Devices.
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.
In NSSMU, create a pool on one of the RAID 0 devices.
In NSSMU, select Pools from the NSSMU main menu.
Press Insert (Ins) to create a pool.
From the list of available devices, select one of the RAID 0 devices.
Assign all of the available space to the pool, then press Enter.
Create a RAID 1 device to mirror the pool.
In NSSMU, select Partitions from the NSSMU main menu.
Select the NSS partition for the pool you want to mirror.
Press F3 to create the RAID 1 device and mirror the partition.
From the available devices, select up to three remaining RAID 0 devices you created above.
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.
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.
In NSSMU, create a software RAID 5 device with 3 to 14 segments.
For information, see Section 14.4.1, Creating Software RAID Devices.
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.
In NSSMU, create a pool on one of the RAID 5 devices.
In NSSMU, select Pools from the NSSMU main menu.
Press Insert (Ins) to create a pool.
From the list of available devices, select one of the RAID 5 devices.
Assign all of the available space to the pool, then press Enter.
Create a RAID 1 device to mirror the pool.
In NSSMU, select Partitions from the NSSMU main menu.
Select the NSS partition for the pool you want to mirror.
Press F3 to create the RAID 1 device and mirror the partition.
From the available devices, select one of the remaining RAID 5 devices you created above.
NOTE:You can select up to three devices.
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.