使用CVU检查共享存储的时候异常

本文详细阐述了在使用CVU检查共享存储时遇到的警告信息,以及安装cvuqdisk包后成功验证共享存储的过程。重点解释了cvuqdisk包在Linux平台上的应用,其作为小型二进制文件如何通过setuid机制以root权限查询磁盘信息,并确保系统的安全性。同时,介绍了如何通过设置变量来禁用SCSI设备检查功能,以避免因缺少cvuqdisk包而产生的警告。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天在使用CVU检查共享存储的时候,出现了一个状况:

[grid@rac1 ~]$ cluvfy comp ssa -n rac1,rac2 -t data -verbose 

Verifying shared storage accessibility 

Checking shared storage accessibility...

WARNING: 
PRVF-7017 : Package cvuqdisk not installed
        rac1

No shared storage found


Shared storage check was successful on nodes "rac2,rac1"

Verification of shared storage accessibility was successful. 

warning之后就检查不到共享存储,然后我安装了该包之后:


[grid@rac2 ~]$ cluvfy comp ssa -n rac1,rac2 -verbose

Verifying shared storage accessibility 

Checking shared storage accessibility...

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdb                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdc                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdd                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sde                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdf                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdg                              rac2 rac1               

  Disk                                  Sharing Nodes (2 in count)
  ------------------------------------  ------------------------
  /dev/sdh                              rac2 rac1               


Shared storage check was successful on nodes "rac2,rac1"

Verification of shared storage accessibility was successful.

那么,cvuqdisk-1.0.7-1.rpm这个是做什么用的?(节选自: 316817.1

cvuqdisk is applicable on Linux platforms only.

CVU requires root privilege to gather information about the scsi disks during discovery. A small binary uses the setuid mechanism to query disk information as root. Note that this process is purely a read-only process with no adverse impact on the system. To make this secured, this binary is packaged in the cvuqdisk rpm and need root privilege to install on a machine.

When this package is installed on all the nodes, CVU performs discovery and shared storage accessibility checks for scsi disks. Otherwise, it complains about the missing package 'cvuqdisk'. You can disable the scsi device check feature by setting the CV_RAW_CHECK_ENABLED to FALSE in $CV_HOME/cv/admin/cvu_config file. CVU will not complain about the missing rpm if this variable is set to false.

真相大白!


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

丹心明月

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值