跳转到主内容

如何在 AIQUM vApp 上增加根分区

Views:
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

适用于

  • Active IQ Unified Manager 9.x (AIQUM)
  • VMware vApp

说明

  • AIQUM) vApp root 文件系统是挂载在 /上的 ext 分区。
  • 在本示例中,该分区为虚拟磁盘 /dev/sda上的 /dev/sda1。
  • 在 VMware 中增加虚拟磁盘会扩大磁盘。
  • 分区和文件系统保持原始大小不变。 
  • resize2fs随后报告无需执行任何操作。
  • 示例: VMware 磁盘从 60 GB 增加到 120 GB。虚拟机系统显示:
 
sda              8:0    0  120G  0 disk
`-sda1           8:1    0   60G  0 part /
 
  • /sys/block/sda/size 返回 251658240。该值是 120 GB 磁盘的扇区数。
  • resize2fs /dev/sda1 返回:
 
resize2fs 1.47.2 (1-Jan-2025)
The filesystem is already 15728384 (4k) blocks long.  Nothing to do!
 
  • 15728384 4 KiB 块是原始的 60 GB 文件系统。
  • 在再次运行 resize2fs之前扩展分区。
  • 其他 vApp 磁盘保持不变:
  • /dev/sdb,12 GB,交换
  • /dev/sdc,挂载在 /data 上的数据逻辑卷
  • /dev/sdd,挂载在 /jail 上
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
  • 这篇文章对您有帮助吗?