
86 Sun StorageTek SAS RAID HBA Installation Guide • March 2010
Best Practices For Deleting Logical
Volumes Without Deleting Partitions
When attempting to delete a logical volume, the Sun StorageTek RAID Manager
graphical user interface (GUI) might require you to remove any partitions on the
logical drive before it allows drive deletion. This is a safety feature designed to
prevent accidental deletion of drives that contain valid data.
If you need to remove a logical volume without first deleting partitions from the OS,
you can do so by using the arcconf command-line interface (CLI) instead of the
GUI. The CLI allows the deletion of logical volumes without requiring the removal of
partitions first.
To delete a logical volume through the CLI without deleting partitions, type the
following at the command prompt:
arcconf DELETE controller-number LOGICALDRIVE logical-drive-number
You will receive a warning message, as shown in the following example.
Best Practices For Testing Physical Drive
Failures
If, for testing purposes, you use the Sun StorageTek RAID Manager GUI to fail a
physical drive, the drive will not return to a ready state without you replacing the
drive. In a test scenario, you may not need to physically replace the drive as you are
only performing a test.
In this scenario, you can use the arcconf CLI to return the drive to its ready state
without actually having to replace the drive.
To do so, type the following at the command prompt:
arcconf SETSTATE controller-number DEVICE drive-channel-number drive-ID-number RDY
WARNING: Logical device z may contain a partition.
All data in logical device z will be lost.
Delete the logical device?
Press y, then ENTER to continue or press ENTER to abort:
Comentários a estes Manuais