|
Post by prashanthca on Mar 13, 2024 3:26:58 GMT
Hi,
Need clarification about the usage of dedicated hot spare drives under a volume, is it used solely for holding client configuration, or both client configuration and current state.
Asking this question related to the following scenario:
Suppose a HS is assigned to three different volumes(arrays) and if the HS is consumed by one of the volume/array, do the HS need to be listed for the other volumes/arrays?. Currently we don't see any property in Volume schema which provides status of HS drives, it can only list dedicated HS drives.
Regards, Prashanth
|
|
|
Post by Richelle Ahlvers on Mar 13, 2024 15:03:10 GMT
Prashanth,
The Volume.Links.DedicatedSpareDrive Collection is used in conjunction with the Drive.HotSpareType property set to "Dedicated". This should reflect the state of the system, and should be treated as read-only. Clients should not post drives to this collection as the scope of the spare drive (i.e. the set of volumes for which it can act as a spare) is implementation specific.
|
|
|
Post by prashanthca on Mar 13, 2024 19:54:18 GMT
Hi Richelle, Thanks for the quick response. I am not sure if i explained the problem clearly.
Suppose, a HS is assigned to three different volumes(1,2 and 3) and if one of the drive in volume 1 went offline, then HS will be consumed by Volume 1.
For other Volumes 2 and 3, do we still need to list the HS in Volume get operation, inspite of the HS not being available for use ?
How do we get to know the state of the HS drive(used/not used) from the current schema definitions to report to the clients about the availability of HS ?.
|
|
|
Post by Richelle Ahlvers on Mar 14, 2024 14:47:16 GMT
Prashanth, In this scenario, the drive is now in use by the storage pool - it has been taken out of the spare pool and is effectively in use, so it should no longer be reported as a dedicated spare.
|
|
|
Post by prashanthca on Mar 14, 2024 18:14:47 GMT
Richelle, Thanks for clarifying the expected behavior. Next question - How do we know the HS is in use by the storage pool?. Currently we don't see any properties in Volume/Drive schema which reports the Spare status. Without knowing the spare status we wouldn't know whether to report/not report the dedicated spare to the clients.
|
|