PowerFlex:当使用 ftype 0 创建 /tmp 所在的文件系统时,来自网关的get_info日志失败

Summary: 从网关收集get_info日志失败,并显示错误:在运行命令时未找到节点 x.x.x.x 中的日志文件。LogCollectionCommand。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Getinfo 从网关收集日志失败,并显示以下错误:
(scaleio.log from Gateway)

[executor-4] INFO  c.e.s.s.i.s.i.c.LIANodeConnection - downloadInfo called on UnknownSystemNode[nodeName=4640301440918548081,nodeIPs=[192.168.180.x, 192.168.190.x],credentials=<null>].
[executor-4] INFO  c.e.s.s.i.s.i.c.LIANodeConnection - getLogFilePathByUniqueFlowId called on UnknownSystemNode[nodeName=4640301440918548081,nodeIPs=[192.168.180.x, 192.168.190.x],credentials=<null>]. uniqueFlowId: getInfoDump
[executor-4] ERROR c.e.s.s.d.i.c.LogCollectionCommand - Error The logs file in node 192.168.180.x,192.168.190.x wasnt found executing command .LogCollectionCommand (retry) : com.emc.s3g.scaleio.im.services.installation.connectors.LIANodeConnection.getLogs(LIANodeConnection.java:1850)    
com.emc.s3g.scaleio.im.services.installation.connectors.LIANodeConnection.downloadInfo(LIANodeConnection.java:1522)

登录到get_info日志收集失败的 ScaleIO 节点。在跟踪日志中,LIA 无法在目录下找到任何相关文件,但 getinfo 文件已创建:

# ls -l

total 50508
-rw-------. 1 root root 51717813 Oct 16 03:57 getInfoDump.tgz
# date
Fri Oct 16 03:57:01 CDT 2020

* /opt/emc/scaleio/lia/logs/trc.0 logs from LIA folder or node 192.168.180.x **
7f17ac10bdb0:liaNet_RecvRequest:00351: 10 minutes since last login
7f17ac10bdb0:liaNet_RecvRequest:01112: GET LOG FILES START
7f17ac10bdb0:liaCmd_GetLogFilesHelper:01239: Number of files 0     <<<-----------
7f17ac10bdb0:liaNet_RecvRequest:01145: GET LOG FILES END

Cause

LIA 代码使用“目录条目”来查找作为集合的一部分创建的 getInfoDump.tgz。LIA 使用一个名为“readdir()”的函数来获取目录的内容。

一旦 LIA 调用“readdir()”,它就会得到字段“d_type”。此字段指示“getInfoDump.tgz”是否为常规文件(“DT_REG”)。并非所有文件系统都支持 d_type

如果创建的文件系统不支持“d_type”,则调用“readdir()”函数后的返回值为:输入“DT_UNKNOWN”,LIA 在目录中找到零个文件。

如果您已创建 XFS 文件系统,请运行以下命令以检查 ftype=0:

命令输出的屏幕截图

Resolution

此问题已在 PowerFlex v3.6 中得到解决。

解决方法:
确保在 /tmp 所在的位置创建的文件系统为 Btrfs、ext2、ext3 和 ext4。
对于 XFS 文件系统,请确保使用“ftype=1”创建文件系统

Affected Products

PowerFlex Software, VxFlex Product Family

Products

PowerFlex rack, VxFlex Ready Nodes, VxFlex Product Family, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd
Article Properties
Article Number: 000182487
Article Type: Solution
Last Modified: 13 Aug 2025
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.