Azure¶
Azure Blob 또는 File 스토리지를 Linux에서 RaiDrive CLI로 마운트합니다. 스토리지 계정 이름과 키로 연결합니다.
필요한 계정·키·ID를 준비하는 방법은 Windows 앱 Azure 가이드의 시작하기 전에를 참고합니다.
raidrivecli add azure --azure-storage-type <blob|file>
위 형식의 옵션만으로 스토리지를 추가하면 Account와 Key를 입력하라는 메시지가 표시됩니다.
raidrivecli add azure --azure-storage-type blob
Account: <account>
Key: ********
Account나 Key를 옵션으로 지정할 수도 있습니다.
raidrivecli add azure --azure-storage-type <blob|file> \
--azure-storage-account <account> \
--azure-key [key]
경고
셸 명령은 히스토리에 기록됩니다. 가능하면 --azure-key 옵션에 값을 직접 입력하지 마세요.
마운트 디렉터리를 지정하지 않으면 /mnt/azure처럼 /mnt 아래의 디렉터리에 마운트됩니다. 마운트 디렉터리를 지정하려면 --mount-path 옵션을 사용합니다.
raidrivecli add azure --azure-storage-type blob \
--mount-path /myservices/azure
Windows 앱과 달리 CLI에는 컨테이너나 파일 공유 하나를 고르는 옵션이 없습니다.
정보
Azure China 스토리지는 azure 대신 azurechina를 사용합니다.
추가 옵션¶
--azure-storage-type <blob|file> blob, file
--azure-storage-account <account> account
--azure-key [key] key