We use cookies on this website. To find out more about cookies and how they are used on this website, see our Privacy Policy.
By clicking ‘Continue’, you hereby agree with our use of cookies.

常见问题解答

我们能否通过 SNMP 获取卷可用空间?

Last modified date: Fri, 22 Nov 2024 14:23:33 GMT+8

直接方法 – 不可行

无法通过 SNMP 直接获取卷可用空间。但是有解决方法。

解决方法 – 计算可用空间

可用空间计算 :
可用空间 = 逻辑卷 (LV) 池的大小 - LV 关联的分区 (卷) 大小总和

所需对象标识符 (OID) :
  • LV ID (lvID):
    OID: .1.3.6.1.4.1.1714.1.1.3.1.2.x
    描述 : 标识逻辑卷 (LV),验证分区是否与相应的 LV (池) 相关联。
  • LV 大小 (lvSize):
    OID: .1.3.6.1.4.1.1714.1.1.3.1.3.x
    描述 : 表示逻辑卷 (LV) 池的总大小。
  • 分区 LV ID (partLdLvID) :
    OID: .1.3.6.1.4.1.1714.1.1.4.1.2.y
    描述 : 表示特定分区所属的 LV ID。
  • 分区大小 (partSize):
    OID: .1.3.6.1.4.1.1714.1.1.4.1.4.y
    描述 : 表示单个分区 (卷) 的大小。

本文对您有帮助吗? |

Thank you for your feedback!

Do you have any other feedback for this article?

{{ vm.showErrorMessage }}