42.4. Stratis 파일 시스템을 이전 스냅샷으로 되돌리기

이 절차에서는 Stratis 파일 시스템의 콘텐츠를 Stratis 스냅샷에서 캡처된 상태로 되돌립니다.

사전 요구 사항

절차

  1. 선택적으로 파일 시스템의 현재 상태를 백업하여 나중에 액세스할 수 있습니다.

    # stratis filesystem snapshot my-pool my-fs my-fs-backup
  2. 원래 파일 시스템을 마운트 해제하고 제거합니다.

    # umount /dev/stratis/my-pool/my-fs
    # stratis filesystem destroy my-pool my-fs
  3. 원본 파일 시스템의 이름으로 스냅샷 사본을 생성합니다.

    # stratis filesystem snapshot my-pool my-fs-snapshot my-fs
  4. 원래 파일 시스템과 동일한 이름으로 현재 액세스할 수 있는 스냅샷을 마운트합니다.

    # mount /dev/stratis/my-pool/my-fs mount-point

my-fs라는 파일 시스템의 내용이 my-fs -snapshot 스냅샷과 동일합니다.

추가 리소스

  • Stratis(8) 도움말 페이지.