# saconfig /dev/ciss4 -D 0
Deleting logical drive 0 will cause gap
saconfig (/dev/ciss4): Current driver state is READY
# saconfig /dev/ciss4 -D 1
Deleting logical drive 1 will cause gap between logical drives 0 and 2
saconfig (/dev/ciss4): Current driver state is READY
Example 4 Deleting multiple logical drives in reverse drive number order
# saconfig /dev/ciss4 -D 2
Are you sure you want to delete logical drive 2 on SmartArray RAID controller
/dev/ciss4? (y/[n]): y
Logical drive 2 deleted
# saconfig /dev/ciss4 -D 1
Are you sure you want to delete logical drive 1 on SmartArray RAID controller
/dev/ciss4? (y/[n]): y
Logical drive 1 deleted
# saconfig /dev/ciss4 -D 0
Are you sure you want to delete logical drive 0 on SmartArray RAID controller
/dev/ciss4? (y/[n]): y
Logical drive 0 deleted
Clearing the logical drive configuration
WARNING!
All data on the logical drives and the physical disks connected to the specified Smart
Array Controller is lost when you enter the
saconfig /dev/cissX -D all
command.
To clear all logical drives that are configured from the physical disks attached to a Smart Array
Controller, use the
saconfig /dev/cissX -D all
command.
For example:
# saconfig /dev/ciss7 -D all
Are you sure you want to clear configuration on
SmartArray RAID controller /dev/ciss7? (y/[n]): y
Logical drive 0 deleted
Logical drive 1 deleted
Configuration cleared
Adding a spare disk drive
To add a spare physical disk to an existing logical drive, use the
saconfig /dev/cissX -A
<Logical drive #> -s <physical drive id>
command.
For example:
# saconfig /dev/ciss5 –A 0 –s 2I:1:16
Spare drive 2I:1:16 added to Logical drive 0
You can add multiple spare physical disks to a logical drive, depending on the number of physical
disks in the array that are not in use.
Deleting a spare disk drive
To delete a spare physical disk from an existing logical drive, use the
saconfig /dev/cissX
-D <Logical Drive #> -s <physical drive id>
command.
For example:
# saconfig /dev/ciss5 –D 0 –s 2I:1:16
Spare drive 2I:1:16 deleted from Logical drive 0
The following example deletes all spare disks of logical drive 0 at once:
# saconfig /dev/ciss7 -D 0 -s all
All spare drives are deleted from logical drive 0
50
Configuration