摘要 |
A method provides for dynamic data logging in a storage subsystem. The method determines if a plurality of storage devices has been assigned as a plurality of hot spare devices in the storage subsystem. If the plurality of hot spare devices are assigned, the method determines from the plurality of hot spare devices whether a plurality of storage types with a maximum number of spare devices is present. If a plurality of storage types is present, the method selects a hot spare device from a storage type having the smallest capacity to assign as a logging device, otherwise, the method calculates a plurality of ratios of a first number of storage devices of a shared storage type to a second number of storage devices to which the first number of storage devices can act for as hot spare devices, selecting a storage device with the lowest ratio as the logging device.
|