1. 확인하려는 VM의 디스크 정보를 이용해 vdisk_id 확인
$ acli vm.list
VM name VM UUID
01.OpenShift_DNS_8.11 cce1e476-495c-4aa4-befc-e52e6629d5e7
$ acli vm.disk_get 01.OpenShift_DNS_8.11 disk_addr=scsi.0 | grep vmdisk_uuid
vmdisk_uuid: "25465109-a2f4-468c-9446-b3e3bffc130a"
$ vdisk_config_printer | grep 25465109-a2f4-468c-9446-b3e3bffc130a -C5
mutability_state: kImmutableSnapshot
closest_named_ancestor: "NFS:4611686018455316867"
vdisk_creator_loc: 8
vdisk_creator_loc: 25750204
vdisk_creator_loc: 1878090660
nfs_file_name: "25465109-a2f4-468c-9446-b3e3bffc130a"
may_be_parent: true
parent_nfs_file_name_hint: "25465109-a2f4-468c-9446-b3e3bffc130a"
scsi_name_identifier: "naa.6506b8d7e2824e924fdb1c2eb4c75e6f"
never_hosted: false
snapshot_draining: false
parent_draining: false
clone_parent_draining: false
--
vdisk_id: 27929328
vdisk_name: "NFS:2:0:4880"
parent_vdisk_id: 27928575
vdisk_size: 161061273600
iscsi_target_name: "iqn.2010-06.com.nutanix:vmdisk-25465109-a2f4-468c-9446-b3e3bffc130a"
iscsi_lun: 0
container_id: 12
creation_time_usecs: 1654734251538091
closest_named_ancestor: "NFS:4611686018455317110"
vdisk_creator_loc: 8
vdisk_creator_loc: 25750204
vdisk_creator_loc: 1878670118
nfs_file_name: "25465109-a2f4-468c-9446-b3e3bffc130a"
parent_nfs_file_name_hint: "1e9f16d4-6d9e-4da5-a8b0-266b157cd23d"
scsi_name_identifier: "naa.6506b8d7e2824e924fdb1c2eb4c75e6f"
never_hosted: true
parent_draining: true
clone_source_vdisk_id: 27305545
2. vdisk의 사용 정보 확인
$ vdisk_usage_printer -vdisk_id=27929328
Egid # eids UT Size T Size Ratio Garbage Orphans T Type Replicas(disk/svm/block/rack) AES Egroup
!-1 0 0.00 KB 0.00 KB 100% 0.00 KB 0 none
> 복제된 디스크로 실제 유니크하게 점유한 chunk 정보가 없는 것으로 보임
3. snapshot tree 확인
$ snapshot_tree_printer | grep 27929328
[3][27929328(1,3,1,PD,ct=06/14-15:14:22)][27928575(2,2,1,rm,is,dt=6m)][27302480(3,1,1,rm,im,dt=125h49m)]
> 해당 디스크의 snapshot chain은 depth가 3으로 27302480 - 27928575 - 27929328로 연결되어짐
4. parent snapshot 정보 확인
$ vdisk_usage_printer -vdisk_id=27928575
Egid # eids UT Size T Size Ratio Garbage Orphans T Type Replicas(disk/svm/block/rack) AES Egroup
27937716 8 640.00 KB 96.00 KB 15% 0.00 KB 0 C, [60*/9/28/0][23279427*/23279315/28/0] No
27942089 8 352.00 KB 52.00 KB 14% 0.00 KB 0 C, [61*/9/28/0][47*/8/28/0] No
27937712 7 320.00 KB 48.00 KB 15% 0.00 KB 0 C, [60*/9/28/0][48*/8/28/0] No
27937714 8 864.00 KB 112.00 KB 12% 0.00 KB 0 C, [60*/9/28/0][48*/8/28/0] No
27941768 8 320.00 KB 52.00 KB 16% 0.00 KB 0 C, [60*/9/28/0][9495513*/21022/28/0] No
27937713 9 352.00 KB 48.00 KB 13% 0.00 KB 0 C, [60*/9/28/0][47*/8/28/0] No
27937715 5 352.00 KB 76.00 KB 21% 0.00 KB 0 C, [60*/9/28/0][23279427*/23279315/28/0] No
!-1 53 3.12 MB 484.00 KB 15% 0.00 KB 0 none
> 실제 RF2 구성된 chunk 확인
'IT > nutanix' 카테고리의 다른 글
AHV에 가상으로 ESXi 서버 설치하기 (0) | 2023.06.20 |
---|---|
CVM, AHV host maintenance mode (0) | 2022.06.15 |
AHV의 acropolis master 확인 (0) | 2022.06.15 |
NGT 대량 배포하기 (0) | 2022.06.15 |
Nutanix AHV의 VM Export / Import 절차 (0) | 2022.06.10 |