删除vSAN中故障磁盘设备

命令行删除vSAN中故障磁盘设备

 

  1. SSH或者ESXi Shell登录到有SSD设备故障的主机;
  2. 执行如下命令确认故障SSD设备ID:esxcli vsan storage list此时,会看到naa.xxxxxx开头的设备;
  3. 执行如下命令,从Disk Group删除掉设备:esxcli vsan storage remove -s naa.xxxxx
  4. 然后,拿掉主机上的这块坏掉的SSD设备,添加新的设备进去后,重新执行扫描,添加进去;
  5. Unknown
    Device: Unknown
    Display Name: Unknown
    通过UUID删除
    [root@esxi168:~] esxcli vsan storage list
    naa.5000c500b809705f
       Device: naa.5000c500b809705f
       Display Name: naa.5000c500b809705f
       Is SSD: false
       VSAN UUID: 520e9aae-a9dc-b35e-13bd-8d24ac6c68be
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 13736057332562856016
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b84429eb
       Device: naa.5000c500b84429eb
       Display Name: naa.5000c500b84429eb
       Is SSD: false
       VSAN UUID: 5214cfb4-a9e1-1c8f-1c36-9d677770ac39
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 17835052590214055526
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.5000c500b8095bdf
       Device: naa.5000c500b8095bdf
       Display Name: naa.5000c500b8095bdf
       Is SSD: false
       VSAN UUID: 5229ffc4-00e9-8545-e6a8-c4394d6cbcd0
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 12360461569146510039
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.500a07511be0dd84
       Device: naa.500a07511be0dd84
       Display Name: naa.500a07511be0dd84
       Is SSD: true
       VSAN UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 6994986707959962499
       Checksum OK: true
       Is Capacity Tier: false
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c50098124733
       Device: naa.5000c50098124733
       Display Name: naa.5000c50098124733
       Is SSD: false
       VSAN UUID: 5256f1fe-a43e-a39e-8edd-34c4c57f51fd
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 4856239252862720943
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue May  7 02:39:24 2019
    
    naa.5000c500b844305b
       Device: naa.5000c500b844305b
       Display Name: naa.5000c500b844305b
       Is SSD: false
       VSAN UUID: 525bf335-3463-cf2d-2e5b-971922f3ac79
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 1599653935973913322
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.5000c500b8093baf
       Device: naa.5000c500b8093baf
       Display Name: naa.5000c500b8093baf
       Is SSD: false
       VSAN UUID: 526763a8-e972-68f4-a577-3577af1ff06b
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 13911735673214752242
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b8092923
       Device: naa.5000c500b8092923
       Display Name: naa.5000c500b8092923
       Is SSD: false
       VSAN UUID: 52863d88-e34e-4feb-ba82-1f34b721679b
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 14979827010222722567
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b844318f
       Device: naa.5000c500b844318f
       Display Name: naa.5000c500b844318f
       Is SSD: false
       VSAN UUID: 528fac97-329a-9b3b-1070-600db714bbcf
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 622639443268996496
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b8442227
       Device: naa.5000c500b8442227
       Display Name: naa.5000c500b8442227
       Is SSD: false
       VSAN UUID: 5294424a-a32d-5368-58d3-90f17337385e
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 13626091087589283952
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.5000c500b8441d57
       Device: naa.5000c500b8441d57
       Display Name: naa.5000c500b8441d57
       Is SSD: false
       VSAN UUID: 529bf03a-0322-0f39-91bc-607cacc91e3f
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 15140885931762138084
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.500a07511be0dc70
       Device: naa.500a07511be0dc70
       Display Name: naa.500a07511be0dc70
       Is SSD: true
       VSAN UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 12793321740773517731
       Checksum OK: true
       Is Capacity Tier: false
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b809373f
       Device: naa.5000c500b809373f
       Display Name: naa.5000c500b809373f
       Is SSD: false
       VSAN UUID: 52a1e909-8d52-0fbe-e127-d12ace600afe
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 14687421811095597583
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b8442b87
       Device: naa.5000c500b8442b87
       Display Name: naa.5000c500b8442b87
       Is SSD: false
       VSAN UUID: 52a88aca-ea74-8702-56e5-65277c5bd824
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 15108214459231231674
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b844293f
       Device: naa.5000c500b844293f
       Display Name: naa.5000c500b844293f
       Is SSD: false
       VSAN UUID: 52a93739-3579-7229-a025-2e4fb8d5806c
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 4367308253417995353
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b80958c7
       Device: naa.5000c500b80958c7
       Display Name: naa.5000c500b80958c7
       Is SSD: false
       VSAN UUID: 52ac41d9-6cd8-3042-77a7-a5849ddcc565
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 15599908734375047539
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b8092ef3
       Device: naa.5000c500b8092ef3
       Display Name: naa.5000c500b8092ef3
       Is SSD: false
       VSAN UUID: 52b0d65d-7e8b-cdcd-f510-43b39f20615b
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 3302907336919914664
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b8097067
       Device: naa.5000c500b8097067
       Display Name: naa.5000c500b8097067
       Is SSD: false
       VSAN UUID: 52b1543f-050b-1f39-bf4e-1668c83da627
       VSAN Disk Group UUID: 5245f864-1b44-1dff-07b4-dbf4e7907753
       VSAN Disk Group Name: naa.500a07511be0dd84
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 3685325171695791538
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:15 2018
    
    naa.5000c500b80943cf
       Device: naa.5000c500b80943cf
       Display Name: naa.5000c500b80943cf
       Is SSD: false
       VSAN UUID: 52b266bd-0941-2d23-2bec-8c92b2bf868c
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 8938634346772624631
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b8094b5f
       Device: naa.5000c500b8094b5f
       Display Name: naa.5000c500b8094b5f
       Is SSD: false
       VSAN UUID: 52ba6a7c-ea32-4028-66c9-44fddb6266a9
       VSAN Disk Group UUID: 529c367d-3886-40f4-2aa7-3cbc244fcd15
       VSAN Disk Group Name: naa.500a07511be0dc70
       Used by this host: true
       In CMMDS: true
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 4055968825279276154
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:09:59 2018
    
    naa.5000c500b8442b53
       Device: naa.5000c500b8442b53
       Display Name: naa.5000c500b8442b53
       Is SSD: false
       VSAN UUID: 52c021bb-ed18-4c74-0c19-33f4647deb6c
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 3172464568355573609
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.5000c500b809568f
       Device: naa.5000c500b809568f
       Display Name: naa.5000c500b809568f
       Is SSD: false
       VSAN UUID: 52d0e00a-66b6-ce24-a5fc-74dd84924178
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 17450323340495659076
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    
    naa.5000c500b80957bb
       Device: naa.5000c500b80957bb
       Display Name: naa.5000c500b80957bb
       Is SSD: false
       VSAN UUID: 52d87de7-ed68-47f7-855c-7d495d374a90
       VSAN Disk Group UUID: 526d65a3-34a4-80b9-5168-0686ca6de94a
       VSAN Disk Group Name:
       Used by this host: true
       In CMMDS: false
       On-disk format version: 7
       Deduplication: false
       Compression: false
       Checksum: 7196727146034522797
       Checksum OK: true
       Is Capacity Tier: true
       Encryption Metadata Checksum OK: true
       Encryption: false
       DiskKeyLoaded: false
       Is Mounted: true
       Creation Time: Tue Nov  6 16:10:32 2018
    [root@esxi168:~]
    [root@esxi168:~] esxcli vsan storage list | grep Display
       Display Name: naa.5000c500b809705f
       Display Name: naa.5000c500b84429eb
       Display Name: naa.5000c500b8095bdf
       Display Name: naa.500a07511be0dd84
       Display Name: naa.5000c50098124733
       Display Name: naa.5000c500b844305b
       Display Name: naa.5000c500b8093baf
       Display Name: naa.5000c500b8092923
       Display Name: naa.5000c500b844318f
       Display Name: naa.5000c500b8442227
       Display Name: naa.5000c500b8441d57
       Display Name: naa.500a07511be0dc70
       Display Name: naa.5000c500b809373f
       Display Name: naa.5000c500b8442b87
       Display Name: naa.5000c500b844293f
       Display Name: naa.5000c500b80958c7
       Display Name: naa.5000c500b8092ef3
       Display Name: naa.5000c500b8097067
       Display Name: naa.5000c500b80943cf
       Display Name: naa.5000c500b8094b5f
       Display Name: naa.5000c500b8442b53
       Display Name: naa.5000c500b809568f
       Display Name: naa.5000c500b80957bb
    [root@esxi168:~] esxcli vsan storage list | grep Display | wc -l 23

     

    [root@vsan13:~] esxcli vsan storage list
    naa.5000c500a00f1a8b
       Device: naa.5000c500a00f1a8b
       Display Name: naa.5000c500a00f1a8b
       Is SSD: false
       VSAN UUID:
       VSAN Disk Group UUID:
       VSAN Disk Group Name:
       Used by this host: false
       In CMMDS: false
       On-disk format version: <Unknown>
       Deduplication: false
       Compression: false
       Checksum:
       Checksum OK: false
       Is Capacity Tier: false
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1b4f
       Device: naa.5000c500a00f1b4f
       Display Name: naa.5000c500a00f1b4f
       Is SSD: false
       VSAN UUID: 5200584e-8bad-2601-a9af-094291ac722d
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 11624927080897558569
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1cbf
       Device: naa.5000c500a00f1cbf
       Display Name: naa.5000c500a00f1cbf
       Is SSD: false
       VSAN UUID: 5209d99f-fe04-9561-4890-bd4740a604f5
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 3882115191772923228
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7e28f
       Device: naa.5000c5009ff7e28f
       Display Name: naa.5000c5009ff7e28f
       Is SSD: false
       VSAN UUID: 520bb8c4-9489-e0c9-f258-cf705687d0dc
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 7962989713887510116
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7e7db
       Device: naa.5000c5009ff7e7db
       Display Name: naa.5000c5009ff7e7db
       Is SSD: false
       VSAN UUID: 5223ca80-409a-5a34-5f82-39f74ab79ed9
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 2771050927993134266
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1dff
       Device: naa.5000c500a00f1dff
       Display Name: naa.5000c500a00f1dff
       Is SSD: false
       VSAN UUID: 5228cbc4-955b-0be0-c254-ac0a76ee6b3d
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 5919060905867089777
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1c9f
       Device: naa.5000c500a00f1c9f
       Display Name: naa.5000c500a00f1c9f
       Is SSD: false
       VSAN UUID: 5232736c-231f-0297-77cf-b2760cc622b1
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 1999326320923239864
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.55cd2e414dc2a793
       Device: naa.55cd2e414dc2a793
       Display Name: naa.55cd2e414dc2a793
       Is SSD: true
       VSAN UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 15262382003459667763
       Checksum OK: true
       Is Capacity Tier: false
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f159f
       Device: naa.5000c500a00f159f
       Display Name: naa.5000c500a00f159f
       Is SSD: false
       VSAN UUID: 52662c05-71b7-c0a7-365e-2a8ad218966a
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 6760414608772866716
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1e67
       Device: naa.5000c500a00f1e67
       Display Name: naa.5000c500a00f1e67
       Is SSD: false
       VSAN UUID: 5267794b-00f7-54c6-dc90-4d59957ff8e3
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 15545171813325471852
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f2a23
       Device: naa.5000c500a00f2a23
       Display Name: naa.5000c500a00f2a23
       Is SSD: false
       VSAN UUID: 52941cca-fcfb-c438-a019-0e90aa432fb4
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 10430866802188591318
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1b6b
       Device: naa.5000c500a00f1b6b
       Display Name: naa.5000c500a00f1b6b
       Is SSD: false
       VSAN UUID: 529e3c65-9d00-2c8f-644f-5067e3e0d088
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 11097355537749729337
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f153f
       Device: naa.5000c500a00f153f
       Display Name: naa.5000c500a00f153f
       Is SSD: false
       VSAN UUID: 52a2510b-bb61-7872-dd43-809c6bd828c3
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 13296496943739866255
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7dd1f
       Device: naa.5000c5009ff7dd1f
       Display Name: naa.5000c5009ff7dd1f
       Is SSD: false
       VSAN UUID: 52b1a600-c030-4e14-35b2-7b57633d2b04
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 15823456994777709316
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7e7d3
       Device: naa.5000c5009ff7e7d3
       Display Name: naa.5000c5009ff7e7d3
       Is SSD: false
       VSAN UUID: 52b7dc26-4d27-2f3d-bd32-3ca432e12c40
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 611224759886110838
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1a67
       Device: naa.5000c500a00f1a67
       Display Name: naa.5000c500a00f1a67
       Is SSD: false
       VSAN UUID: 52baed5a-dd43-162e-d9a4-37fd0d105a19
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 12162743074844331869
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    Unknown
       Device: Unknown
       Display Name: Unknown
       Is SSD: false
       VSAN UUID: 52bcc0f0-20bf-9809-0497-10dd1095be21
       VSAN Disk Group UUID:
       VSAN Disk Group Name:
       Used by this host: false
       In CMMDS: false
       On-disk format version: <Unknown>
       Deduplication: false
       Compression: false
       Checksum:
       Checksum OK: false
       Is Capacity Tier: false
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.55cd2e414dc2a74f
       Device: naa.55cd2e414dc2a74f
       Display Name: naa.55cd2e414dc2a74f
       Is SSD: true
       VSAN UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 7048580772559521847
       Checksum OK: true
       Is Capacity Tier: false
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7ce3f
       Device: naa.5000c5009ff7ce3f
       Display Name: naa.5000c5009ff7ce3f
       Is SSD: false
       VSAN UUID: 52c327cc-eada-56d1-42dc-6929b84febc2
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 10423011473630675163
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7df2f
       Device: naa.5000c5009ff7df2f
       Display Name: naa.5000c5009ff7df2f
       Is SSD: false
       VSAN UUID: 52c38b0f-2f48-8bb2-d553-9ba61597dce9
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 7799784318771514205
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f1cff
       Device: naa.5000c500a00f1cff
       Display Name: naa.5000c500a00f1cff
       Is SSD: false
       VSAN UUID: 52c72b87-28bc-5d8f-5836-24fbb2877ebc
       VSAN Disk Group UUID: 52c135c7-7e04-46b8-310f-cf9bcb8d2f67
       VSAN Disk Group Name: naa.55cd2e414dc2a74f
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 6569778864705005501
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f18bf
       Device: naa.5000c500a00f18bf
       Display Name: naa.5000c500a00f18bf
       Is SSD: false
       VSAN UUID: 52c783e7-cbb6-a744-610c-c6ae2e60f3b7
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 7411470762398268100
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c5009ff7de27
       Device: naa.5000c5009ff7de27
       Display Name: naa.5000c5009ff7de27
       Is SSD: false
       VSAN UUID: 52e18440-c49c-840c-015c-dacd4c628bbe
       VSAN Disk Group UUID: 52365b5c-770b-47cf-c52b-35c0c128a2aa
       VSAN Disk Group Name: naa.55cd2e414dc2a793
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 8746191856592791521
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.55cd2e414dc2ab2b
       Device: naa.55cd2e414dc2ab2b
       Display Name: naa.55cd2e414dc2ab2b
       Is SSD: true
       VSAN UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 10413205729763414046
       Checksum OK: true
       Is Capacity Tier: false
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    
    naa.5000c500a00f145b
       Device: naa.5000c500a00f145b
       Display Name: naa.5000c500a00f145b
       Is SSD: false
       VSAN UUID: 52f816d8-3fae-ab01-4a26-5ac21a14ef03
       VSAN Disk Group UUID: 52f1f7d7-e958-5bc4-ec17-0dc2c37827c2
       VSAN Disk Group Name: naa.55cd2e414dc2ab2b
       Used by this host: true
       In CMMDS: true
       On-disk format version: 5
       Deduplication: false
       Compression: false
       Checksum: 3336449902296012883
       Checksum OK: true
       Is Capacity Tier: true
       Encryption: false
       DiskKeyLoaded: false
       Creation Time: Unknown
    [root@vsan13:~]
    [root@vsan13:~]
    [root@vsan13:~]
    [root@vsan13:~] esxcli vsan storage remove
    No option provided
    [root@vsan13:~] esxcli vsan storage remove --help
    Usage: esxcli vsan storage remove [cmd options]
    
    Description:
      remove                Remove physical disks from vSAN disk groups.
    
    Cmd options:
      -d|--disk=<str>       Specify individual hdd to remove from vSAN usage.e.g.: mpx.vmhba2:C0:T1:L0
      -m|--evacuation-mode=<str>
                            Action the vSAN service must take before the host can enter maintenance mode (default noAction). Allowed values are:
                                ensureObjectAccessibility: Evacuate data from the disk to ensure object accessibility in the vSAN cluster, before removing the disk.
                                evacuateAllData: Evacuate all data from the disk before removing it.
                                noAction: Do not move vSAN data out of the disk before removing it.
      -s|--ssd=<str>        Specify a disk group's fronting ssd to remove the ssd and each backing hdd from vSAN usage.e.g.: mpx.vmhba2:C0:T1:L0
      -u|--uuid=<str>       Specify UUID of vSAN disk.e.g.: 52afa1de-4240-d5d6-17f9-8af1ec8509e5
    [root@vsan13:~] esxcli vsan storage remove --uuid=52bcc0f0-20bf-9809-0497-10dd1095be21
    [root@vsan13:~] esxcli vsan storage list | grep UUID |grep 0497
    [root@vsan13:~]

     

上一篇:如何在 Windows 10 上安装 WSL 2


下一篇:ICMP协议编程实践:实现ping命令(C语言)