Skip to content

Instantly share code, notes, and snippets.

@metabsd
Created July 30, 2018 15:52
Show Gist options
  • Save metabsd/8f28049dc46d41658d25af5c72da56f3 to your computer and use it in GitHub Desktop.
Save metabsd/8f28049dc46d41658d25af5c72da56f3 to your computer and use it in GitHub Desktop.
"ansible_facts.disks": [
{
"bootable": true,
"bus_type": "SAS",
"clustered": false,
"firmware_version": "1.0 ",
"friendly_name": "VMware Virtual disk",
"guid": "{60c01450-65ba-4ecf-9049-f6e5a8e511db}",
"location": "SCSI0",
"manufacturer": "VMware ",
"model": "Virtual disk ",
"number": 0,
"operational_status": "Online",
"partition_count": 4,
"partition_style": "GPT",
"partitions": [
{
"access_paths": [
"\\\\?\\Volume{4aee19bd-ae3d-427d-8979-db673a190867}\\"
],
"drive_letter": null,
"gpt_type": "{de94bba4-06d1-4d40-a16a-bfd50179d6ac}",
"guid": "{4aee19bd-ae3d-427d-8979-db673a190867}",
"hidden": false,
"no_default_driveletter": true,
"number": 1,
"offset": 1048576,
"shadow_copy": false,
"size": 471859200,
"transition_state": 1,
"type": "Recovery",
"volumes": [
{
"allocation_unit_size": 4096,
"drive_type": "Fixed",
"health_status": "Healthy",
"label": "Recovery",
"object_id": "{1}\\\\ZWPAAC0015\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{df596e30-0aff-11e8-a2ae-806e6f6e6963}:VO:\\\\?\\Volume{4aee19bd-ae3d-427d-8979-db673a190867}\\\"",
"path": "\\\\?\\Volume{4aee19bd-ae3d-427d-8979-db673a190867}\\",
"size": 471855104,
"size_remaining": 128077824,
"type": "NTFS"
}
]
},
{
"access_paths": null,
"drive_letter": null,
"gpt_type": "{c12a7328-f81f-11d2-ba4b-00a0c93ec93b}",
"guid": "{50f8aa50-456d-4edf-af96-91a1ffde72e2}",
"hidden": true,
"no_default_driveletter": null,
"number": 2,
"offset": 472907776,
"shadow_copy": null,
"size": 103809024,
"transition_state": 1,
"type": "System"
},
{
"access_paths": null,
"drive_letter": null,
"gpt_type": "{e3c9e316-0b5c-4db8-817d-f92df00215ae}",
"guid": "{31be5bcf-906f-4b23-9f35-1d65d1f0f38d}",
"hidden": true,
"no_default_driveletter": null,
"number": 3,
"offset": 576716800,
"shadow_copy": null,
"size": 16777216,
"transition_state": 1,
"type": "Reserved"
},
{
"access_paths": [
"C:\\",
"\\\\?\\Volume{02cc32d6-0f28-4541-9f85-db7f9fae36f8}\\"
],
"drive_letter": "C",
"gpt_type": "{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}",
"guid": "{02cc32d6-0f28-4541-9f85-db7f9fae36f8}",
"hidden": false,
"no_default_driveletter": false,
"number": 4,
"offset": 593494016,
"shadow_copy": false,
"size": 42355130368,
"transition_state": 1,
"type": "Basic",
"volumes": [
{
"allocation_unit_size": 4096,
"drive_type": "Fixed",
"health_status": "Healthy",
"label": "",
"object_id": "{1}\\\\ZWPAAC0015\\root/Microsoft/Windows/Storage/Providers_v2\\WSP_Volume.ObjectId=\"{df596e30-0aff-11e8-a2ae-806e6f6e6963}:VO:\\\\?\\Volume{02cc32d6-0f28-4541-9f85-db7f9fae36f8}\\\"",
"path": "\\\\?\\Volume{02cc32d6-0f28-4541-9f85-db7f9fae36f8}\\",
"size": 42355126272,
"size_remaining": 24296386560,
"type": "NTFS"
}
]
}
],
"path": "\\\\?\\scsi#disk&ven_vmware&prod_virtual_disk#5&1982005&0&000000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}",
"physical_disk": {
"allocated_size": 42949672960,
"bus_type": "SAS",
"can_pool": false,
"cannot_pool_reason": "Insufficient Capacity",
"device_id": "0",
"firmware_version": "1.0",
"friendly_name": "VMware Virtual disk",
"health_status": "Healthy",
"indication_enabled": null,
"manufacturer": "VMware",
"media_type": "Unspecified",
"model": "Virtual disk",
"object_id": "{1}\\\\ZWPAAC0015\\root/Microsoft/Windows/Storage/Providers_v2\\SPACES_PhysicalDisk.ObjectId=\"{df596e30-0aff-11e8-a2ae-806e6f6e6963}:PD:{356412b0-8f69-11e8-a2c1-806e6f6e6963}\"",
"operational_status": "OK",
"partial": true,
"physical_location": "SCSI0",
"serial_number": null,
"size": 42949672960,
"spindle_speed": 0,
"supported_usages": {
"Count": 5,
"value": [
"Auto-Select",
"Manual-Select",
"Hot Spare",
"Retired",
"Journal"
]
},
"unique_id": "{356412b0-8f69-11e8-a2c1-806e6f6e6963}",
"usage_type": "Auto-Select"
},
"read_only": false,
"sector_size": 512,
"serial_number": null,
"size": 42949672960,
"system_disk": true,
"unique_id": "SCSI\\DISK&VEN_VMWARE&PROD_VIRTUAL_DISK\\5&1982005&0&000000:zwpaac0015"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment