VMware Cloud Community
acnsys
Enthusiast
Enthusiast
Jump to solution

List vdisks

Hi,

I recently came into an issue after trying to do a storage vmotion that failed in between. It left the VM with duplicated disks (some called DMotion...) after i rebooted the host, the guest restarted the vmotion and finished correctly this time but i still can see some duplicate disks.

I would like to know how to see which disks are currently used by the VM so i can delete the uneeded vdisks ( i know i can have a look to the vmx file but i would like to know if there is a command)

Reply
0 Kudos
1 Solution

Accepted Solutions
kjb007
Immortal
Immortal
Jump to solution

Edit the vm settings. Click on each drive, and on the right-hand side, it will tell you which file represents that drive

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB

View solution in original post

Reply
0 Kudos
3 Replies
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

  • #cd /vmfs/volumes/$Datastore (Replace $Datastore with your Datastore)

  • #find -name *.vmdk

./pdc1/P2V4Linux-flat.vmdk

./pdc1/P2V4Linux.vmdk

./SSLVPN/noxLab3-flat.vmdk

./SSLVPN/noxLab3.vmdk

./SSLVPN/noxLab3_1-flat.vmdk

./SSLVPN/noxLab3_1.vmdk

./40EFW/40EFW-flat.vmdk

./40EFW/40EFW.vmdk

Hope it give you some idea..

VMware newbie..

Zen Systems Sdn Bhd

www.no-x.org

http://www.no-x.org
Reply
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

Edit the vm settings. Click on each drive, and on the right-hand side, it will tell you which file represents that drive

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
Reply
0 Kudos
AndreTheGiant
Immortal
Immortal
Jump to solution

There is also this nice tool:

http://vnews.mightycare.de/tag/storageview-tool/

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos