Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active June 2, 2024 01:39
Show Gist options
  • Save gilangvperdana/7c18852ab84cbcca6b8d56ffa71c2c5d to your computer and use it in GitHub Desktop.
Save gilangvperdana/7c18852ab84cbcca6b8d56ffa71c2c5d to your computer and use it in GitHub Desktop.
See Serial Number of Virtual Disk

General

Have you ever confused about virtual disk with same size? then you can't choose who the right one? you can check with :

  • SCSI ID
  • UUID

Check with UUID

  • Windows
wmic diskdrive where index=0 get serialnumber

Please adjut index=0 to your needs, you can see the number of index from Disk Management.

  • Linux
ll /dev/disk/by-id/

Check with SCSI ID

  • Windows

    Disk management -> Choose the disk who want you to extend -> Properties -> See the Location number

  • Linux

ll /dev/disk/by-path/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment