Dell Unity: UNIX 호스트용 FS 스냅샷에서 손실/삭제된 데이터 복원(사용자 수정 가능)

Summary: 파일 시스템 스냅샷에서 삭제된 파일/디렉토리를 복원합니다.

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

UNIX 호스트에서 스냅샷 숨김 파일에서 스냅샷을 복구하는 절차:
NFS 클라이언트의 첫 번째 작업은 파일 시스템의 NFS 공유에 연결하는 것입니다. 읽기 전용 스냅샷에 대한 액세스는 스냅샷의 숨겨진 .ckpt 데이터 경로에 액세스하여 설정됩니다. 이 경로는 읽기 전용 스냅샷이 캡처하는 시점 보기로 클라이언트를 리디렉션합니다.

 

Cause

파일 시스템에서 일부 데이터 삭제

Resolution

1. NAS 서버에 대해 내보낸 파일 시스템을 나열합니다.

[root@vhost fserver]# showmount -e <IP or FQDN of NAS Server>
fserver에 대한 목록 내보내기:
 

/NAS/exp            (everyone)
/exp                     (everyone)
/NASserver/exp/share  (everyone)
/share1                (everyone)
/share2                (everyone)
/share3                (everyone)

 

2. 임의의 위치에 Temp 디렉토리를 생성합니다.

[root@vhost fserver]# mkdir /mnt/test


3. 루트 FS 공유를 UNIX 호스트의 새 임시 디렉토리에 마운트합니다. 

** 참고: 루트 FS 공유에만 .ckpt 숨김 파일이 포함되어 있습니다. 하위 공유가 될 수 없습니다(예: /NASserver/exp/share 공유가 작동하지 않음).
 

[root@vhost fserver]# mount <IP or FQDN of NAS Server>:/share1 /mnt/test
[root@vhost fserver]# cd /mnt/test
[root@vhost fserver]# ls -la |grep -i .ckpt


...
~출력에 스냅샷 파일이 포함되어 있습니다. 데이터를 복원할 .ckpt 디렉토리를 선택합니다.

.ckpt_2016_14_11_20.58.41_GMT
.ckpt_2016_15_11_20.58.41_GMT
.ckpt_2016_16_11_20.58.41_GMT
.ckpt_2016_17_11_20.58.41_GMT


4. 디렉토리를 필요한 .ckpt 디렉토리로 변경합니다.
 

[root@vhost fserver]#  cd .ckpt_2016_16_11_20.58.41_GMT
[root@vhost fserver]#  ls


스냅샷의 모든 파일/디렉토리가 나열됩니다.

5. FS로 복원할 파일을 복사하거나 UNIX에서 rsync 명령을 사용합니다.
 

[root@vhost fserver]# cp deletedfile /test

Additional Information

읽기 전용 스냅샷은 CVFS 메커니즘을 통해 클라이언트에 표시되므로 클라이언트는 관리자의 개입 없이 스냅샷에서 데이터를 직접 복구할 수 있습니다. 예를 들어 사용자가 실수로 파일을 손상시키거나 삭제한 경우 해당 사용자는 읽기 전용 스냅샷에 직접 액세스하고 스냅샷에서 이전 버전의 파일을 가져온 다음 파일 시스템에 복사하여 복구할 수 있습니다.

Affected Products

Dell EMC Unity Family

Products

Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 600, Dell EMC Unity 600F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family , Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Article Properties
Article Number: 000052854
Article Type: Solution
Last Modified: 27 Jun 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.