21.20. systemd 서비스를 사용하여 /etc/fstab에서 루트가 아닌 Stratis 파일 시스템 설정
systemd 서비스를 사용하여 /etc/fstab
에서 루트가 아닌 파일 시스템 설정을 관리할 수 있습니다.
사전 요구 사항
-
Stratis가 설치되고
stratisd
서비스가 실행 중입니다. 자세한 내용은 Stratis 설치를 참조하십시오. - Stratis 파일 시스템이 생성됩니다. 자세한 내용은 Stratis 파일 시스템 생성을 참조하십시오.
프로세스
root 로서
/etc/fstab
파일을 편집하고 root가 아닌 파일 시스템을 설정하는 행을 추가합니다./dev/stratis/my-pool/my-fs mount-point xfs defaults,x-systemd.requires=stratis-fstab-setup@pool-uuid.service,x-systemd.after=stratis-fstab-setup@pool-uuid.service dump-value fsck_value
/dev/stratis/my-pool/my-fs mount-point xfs defaults,x-systemd.requires=stratis-fstab-setup@pool-uuid.service,x-systemd.after=stratis-fstab-setup@pool-uuid.service dump-value fsck_value
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
중요
암호화된 Stratis 풀에서 Stratis 파일 시스템을 영구적으로 마운트하면 암호가 제공될 때까지 부팅 프로세스가 중지될 수 있습니다. 자동 메커니즘을 사용하여 풀을 암호화하는 경우(예: NBDE 또는 TPM2) Stratis 풀은 자동으로 잠금 해제됩니다. 그렇지 않은 경우 사용자가 콘솔에 암호를 입력해야 합니다.