The present invention pertains to a computer software implemented method, system,
and apparatus for automatic updating disk drive configuration and rebuilding RAID
data to assure proper data storage in a RAID configured system. The computer software
implemented configuration mechanism utilizing CPU and memory of a computer system
automatically generates a full configuration of the disk drives connected to system
peripheral bus both at system initialization time and runtime. The configuration
mechanism uses a computer-implemented procedure for scanning a newly added disk
drive, detecting conflict to the existing configuration, resolving conflicts, finding
a proper target referenced or ruined disk drive, replacing this target disk drive
with the newly added disk drive, rebuilding the RAID data into the added disk drive,
updating RAID configuration with the added disk drive, and presenting to the host
operating system the current configuration information.