Diskmanage: also check for filesystem type when determining usage
Like this, a non-ZFS filesystem living on a whole disk will also be detected when it is not mounted. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
b6bbc2ab28
commit
59c03cd970
@ -203,5 +203,20 @@
|
||||
"rpm" : 0,
|
||||
"type" : "hdd",
|
||||
"osdid" : -1
|
||||
},
|
||||
"sdn" : {
|
||||
"serial" : "SERIAL1",
|
||||
"vendor" : "ATA",
|
||||
"wwn" : "0x0000000000000000",
|
||||
"devpath" : "/dev/sdn",
|
||||
"model" : "MODEL1",
|
||||
"used" : "xfs",
|
||||
"wearout" : "N/A",
|
||||
"health" : "UNKNOWN",
|
||||
"gpt" : 0,
|
||||
"size" : 1536000,
|
||||
"rpm" : 0,
|
||||
"type" : "hdd",
|
||||
"osdid" : -1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user