728x90
반응형
rook-ceph연습하다가 osd 추가 삭제 연습을 하고 있었어요
그런데 osd가 자동 매핑되려면, 비어있어야하는데
기존 데이터와 서명이 남아있어서 문제가 생겼어요
skipping device "sdc" because it contains a filesystem "LVM2_member".
cox@k8sworker1:/root$ blkid
/dev/nvme0n1p1: LABEL="cloudimg-rootfs" UUID="93e5a202-73de-4bd5-8826-61ca0bcc099f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="cbb5015f-ca94-467b-91ae-cce97828a042"
/dev/nvme0n1p15: LABEL_FATBOOT="UEFI" LABEL="UEFI" UUID="C733-26D6" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1902af65-4ad6-4ba5-b895-7cc800d3ec87"
/dev/nvme1n1: TYPE="ceph_bluestore"
root@k8sworker1:~# dd if=/dev/zero of="/dev/nvme1n1" bs=1M count=100 oflag=direct,dsync
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 0.441559 s, 237 MB/s
root@k8sworker1:~# blkid
/dev/nvme0n1p1: LABEL="cloudimg-rootfs" UUID="93e5a202-73de-4bd5-8826-61ca0bcc099f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="cbb5015f-ca94-467b-91ae-cce97828a042"
/dev/nvme0n1p15: LABEL_FATBOOT="UEFI" LABEL="UEFI" UUID="C733-26D6" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1902af65-4ad6-4ba5-b895-7cc800d3ec87"
/dev/loop1: TYPE="squashfs"
/dev/nvme0n1p14: PARTUUID="274bd230-e195-4bf8-ab5a-bcde855b82ce"
/dev/loop6: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop0: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
초기화 시키고 나서 rook-ceph operator를 초기화시켜주니 알아서 매핑을 했습니다.
$ k rollout restart deployment.apps/rook-ceph-operator -n rook-ceph
https://github.com/rook/rook/issues/6865
https://rook.io/docs/rook/v1.10/Storage-Configuration/Advanced/ceph-osd-mgmt/#pvc-based-cluster
https://github.com/rook/rook/issues/6738
728x90
반응형
'Storage > Ceph' 카테고리의 다른 글
Ceph) 기타 설정_memory, mgr replication, osd 지정 (0) | 2022.12.23 |
---|---|
Ceph) k8s_rook-ceph_osd 제거하기 (0) | 2022.08.23 |
ceph)mc cp로 클러스터간 데이터 옮기기 (0) | 2022.05.31 |
Ceph) readonly 계정 만들기_radosgw,subuser,s3 policy (0) | 2022.04.25 |
Ceph) ceph-dashboard object-storage ui 보이게 설정 (0) | 2022.04.21 |