跳转到主内容

如何查看 AIQUM 的 Linux 或 OVA 部署的根分区和数据分区中的已用空间

Views:
49
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

Color_Def.png

仅在指定的内容块内添加文本。单击此处 查看有关创建解决循环内容的更多信息。

适用于

  • Active IQ Unified Manager 9.6+
  • Oncommand Unified Manager 6.x+
  • Red Hat Enterprise Linux/CentOS Linux
  • OVA

说明

如何查看 Active IQ Unified Manager 的 Linux 或 OVA 部署中文件系统的已用空间

操作步骤

  • 登录服务器的 CLI。对于 vApp,使用 如何访问 Active IQ Unified Manager 虚拟机 (OVA) DIAG shell
  • 检查 rootfs 和数据磁盘的可用空间。# df -h
  • 检查从根目录 (/) 开始的最大子目录。# cd /# du -h --max-depth=1 | sort -hr

    du: cannot access './proc/6748/task/22692': No such file or directory
    du: cannot access './proc/22701/task/22701/fd/3': No such file or directory
    du: cannot access './proc/22701/task/22701/fdinfo/3': No such file or directory
    du: cannot access './proc/22701/fd/4': No such file or directory
    du: cannot access './proc/22701/fdinfo/4': No such file or directory
    13G     .           <-- This indicates the directory you are currently in
    4.8G    ./jail
    2.2G    ./var
    1.8G    ./opt
    ...

    使用 cdcommand 再次切换到最大的子目录,并重复 du command 以查找下一个最大的目录。
    # cd jail
    # du -h --max-depth=1 | sort -hr
    4.8G    ./support
    4.8G    .
    5.0M    ./lib
    1.1M    ./bin
    284K    ./usr
    52K     ./etc
    4.0K    ./upload
    4.0K    ./tmp
    4.0K    ./lost+found
    4.0K    ./dev
    ...

    重复直到没有其他子目录,然后检查存在哪些文件
    # cd support
    # du -h --max-depth=1 | sort -hr
    4.8G    .
    # ls -al total 4930032 drwxr-xr-x  2 jboss jboss       4096 Aug  9  2019 . drwxr-xr-x 11 root  root        4096 Aug  9  2019 .. -rw-r--r--  1 root  root       90461 Aug  9  2019 AIQ_UM_9.6_backup_windows_08-04-2019-09-00.7z -rw-r--r--  1 root  root  1047207788 Aug  9  2019 ocum_mysql_full_backup_1563379204814.sql.7z -rw-r--r--  1 root  root   241312608 Aug  9  2019 ocum_mysql_incremental_backup_1563465600283.sql.7z -rw-r--r--  1 root  root   193119989 Aug  9  2019 ocum_mysql_incremental_backup_1563552000276.sql.7z -rw-r--r--  1 root  root   224488061 Aug  9  2019 ocum_mysql_incremental_backup_1563638400288.sql.7z -rw-r--r--  1 root  root   221086373 Aug  9  2019 ocum_mysql_incremental_backup_1563724800417.sql.7z

    6.在删除文件之前,您可以查看以下文章,以确认它们可以安全删除。

    如果有关于文件是否可以安全删除的问题,请在删除文件之前联系 NetApp 支持。

    追加信息

      Unified Manager 日志将写入
      • /var/log/ocie
      • /var/log/ocum
      • /var/log/mysql
      默认情况下,Unified Manager 备份将写入
      • /opt/netapp/data/ocum/ocum-backup
      默认情况下,Unified Manager 支持捆绑包将写入
        Red Hat 和 CentOS Linux
        • /opt/netapp/data/support/
      • VMware OVA
        • /jail/support
    • 如何为 OVA 扩展数据磁盘

    内部参考

    内部参考_text

     

    Sign in to view the entire content of this KB article.

    New to NetApp?

    Learn more about our award-winning Support

    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.