Files
pve-storage/test/disk_tests/cciss/disklist_expected.json
Dominik Csapak fc7c0e0504 (finally) fix #1099: return disklist correctly
in get_disks, when called with a parameter 'cciss/cXdY', we replaced
the '/' with '!' so that we can properly poll the information
about it from /sys/block/

but we have to replace the '!' with '/' again in our result list,
because the caller does not know anything about it and fails, because
the original dev is not in the list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 13:23:52 +01:00

17 lines
282 B
JSON

{
"cciss/c0d0" : {
"wearout" : "N/A",
"vendor" : "HP",
"rpm" : -1,
"type" : "unknown",
"serial" : "SER111",
"osdid" : -1,
"health" : "UNKNOWN",
"model" : "LOGICAL_VOLUME",
"size" : 5120,
"wwn" : "0x0000000000000000",
"gpt" : 1,
"devpath" : "/dev/cciss/c0d0"
}
}