olehj / disklocation

Disk Location is a plugin for Unraid.
https://forums.unraid.net/topic/77302-plugin-disk-location
GNU General Public License v3.0
21 stars 3 forks source link

Feature Request : Add SQL Columns : Disk_Cache, Disk_Speed_Max #277

Open sxb1n9 opened 4 months ago

sxb1n9 commented 4 months ago

Could you add the following columns for user input:

Disk_Cache = the cache the drive has Disk_Speed_Max = how fast the drive can R/W (to be able to find the slowest parity bottleneck) (this one may need 2 columns 1 for read and 1 for write)

olehj commented 4 months ago

Maybe the cache is available through SMART? Could consider to add it then, but not adding it as a manual input.

Same goes for max speed, perhaps a simple benchmark task could be added in the future.

olehj commented 4 months ago

Added Cache size into the table as I googled my way to find it via SMART.

Disk benchmarking ("Disk_Speed_Max") will be another project, so not closing this one.

olehj commented 4 months ago

Individual disk writes will not be implemented as it might/will make the parity invalid as all drives must be tested off array. A simple read test might be possible still, but messing with writes is something I don't wanna risk. It would be a simple hdparm command, but I had no luck using it in Unraid yet.