PowerEdge: Dell ESXi 호스트에 영구적인 스크래치 위치 생성

Summary: 이 방법 문서에서는 Dell ESXi 호스트에서 영구 스크래치 위치를 생성하는 방법에 대한 포괄적인 가이드를 제공합니다. 영구적인 초기 위치는 호스트가 재부팅된 후에도 임시 파일, 로그 및 진단 데이터를 보존하는 데 필수적이며 효과적인 문제 해결 및 시스템 유지 보수에 기여합니다.

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.

Instructions

영구적인 스크래치 위치를 생성합니다.

  1. 유지 보수 모드 진입
  2. 액세스 호스트: 이전(예전) 메시지로 이동과 SSH
  3. 데이터 저장소 나열:
ls /vmfs/volumes
  1. 스크래치 디렉터리를 만듭니다.
mkdir /vmfs/volumes/DatastoreName/DirectoryName Example: mkdir /vmfs/volumes/Datastore1/.locker-ESXHostname
  1. 현재 스크래치 위치 확인:
vim-cmd hostsvc/advopt/view ScratchConfig.ConfiguredScratchLocation
  1. 새 스크래치 위치 설정:
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/DatastoreName/DirectoryName
예:
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/Datastore1/.locker-ESXHostname>
  1. Syslog 구성: 확인
esxcli system syslog config get
  1. 로컬 로그 출력: 확인 /scratch/log
esxcli system syslog config set --logdir=/scratch/log
  1. Syslog 구성 다시 로드:
esxcli system syslog reload
  1. 재부팅 ESXi 호스트
  2. 유지 보수 모드 종료

ESXi는 구성된 위치, Fat16 파일 시스템, VMFS 데이터 저장소 또는 /tmp/scratch항목을 추가합니다.


구성을 제거하거나 RAM 디스크로 복원합니다.

  1. 유지 보수 모드 진입
  2. 잔돈 ScratchConfig.ConfiguredScratchLocation 의 출력을 /tmp 호스트의 고급 설정에서.
  3. 저장하기
  4. 호스트를 재부팅합니다.
  5. 재부팅 후, ScratchConfig.CurrentScratchLocation 로 업데이트해야 합니다. /tmp항목을 추가합니다.
  6. 변경 내용이 반영되지 않는 경우 호스트를 다시 재부팅 하고 VMFS 데이터 저장소를 제거할 수 있습니다.

또는 다음 명령을 사용하여 스크래치 구성을 직접 지울 수 있습니다.

vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string ""

호스트를 재부팅 하여 변경 사항을 적용합니다. 재부팅 후 ESXi에서 /tmp/scratch RAM 디스크의 스크래치 위치로.

Additional Information

vSAN의 경우:

Affected Products

VMware ESXi 7.x, VMware ESXi 8.x, VMware ESXi 9.x
Article Properties
Article Number: 000217150
Article Type: How To
Last Modified: 23 May 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.