🔹Storage

RADOS Object 레벨 스토리지 명령어

terranbin 2024. 3. 10. 16:38
728x90
SMALL

Ceph 클러스터의 RADOS 객체 스토리지와 상호작용 하기 위한 명령어

객체 확인 명령어

  • 객체 생성:
rados -p <pool-name> put <object-name> /path/to/local/file
  • 객체 읽기:
rados -p <pool-name> get <object-name> <destination-file>
  • 객체 삭제
rados -p <pool-name> rm <object-name>
  • 객체 목록 표시
rados -p <pool-name> ls
  • 객체 정보 표시
rados -p <pool-name> stat <object-name>
  • 풀 정보 표시:
rados df
  • 풀 내부 데이터 크기 확인
rados -p <pool-name> du <object-name>
LIST