PowerFlex: /tmp가 상주하는 파일 시스템이 ftype 0으로 생성된 경우 게이트웨이의 get_info 로그 실패

요약: 게이트웨이에서 get_info 로그 수집이 실패하고 다음 오류가 발생합니다. 노드 x.x.x.x에서 명령을 실행하는 로그 파일을 찾을 수 없습니다. LogCollectionCommand를 사용합니다.

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

증상

Getinfo 게이트웨이에서 로그 수집이 실패하고 아래 오류가 발생합니다.
(게이트웨이에서 scaleio.log)

[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

원인

LIA 코드는 컬렉션의 일부로 생성된 getInfoDump.tgz를 찾기 위해 "디렉토리 항목"을 사용합니다. LIA는 디렉토리의 내용을 가져오기 위해 "readdir()"이라는 특정 함수를 사용합니다.

LIA가 "readdir()"을 호출하면 "d_type" 필드를 가져올 것으로 예상합니다. 이 필드는 "getInfoDump.tgz"가 일반 파일("DT_REG")인지 여부를 나타냅니다. 모든 파일 시스템이 d_type 지원하는 것은 아닙니다.

생성된 파일 시스템이 "d_type"를 지원하지 않는 경우 "readdir()" 함수 호출 시 반환되는 값은 다음과 같습니다. "DT_UNKNOWN"와 LIA는 디렉토리에서 0개의 파일을 찾습니다.

XFS 파일 시스템을 생성한 경우 아래 명령을 실행하여 ftype=0을 확인합니다.

명령 출력 스크린샷

해결

이 문제는 PowerFlex v3.6에서 해결되었습니다.

해결 방법:
/tmp가 상주하는 위치에서 생성된 파일 시스템이 Btrfs, ext2, ext3 및 ext4인지 확인합니다.
XFS 파일 시스템의 경우 파일 시스템이 "ftype=1"로 생성되었는지 확인합니다

해당 제품

PowerFlex Software, VxFlex Product Family

제품

PowerFlex rack, VxFlex Ready Nodes, VxFlex Product Family, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd
문서 속성
문서 번호: 000182487
문서 유형: Solution
마지막 수정 시간: 13 8월 2025
버전:  7
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.