VMware Cloud Community
Gonzouk
Enthusiast
Enthusiast

Search datastores for VMDK

Hello,

I've not used the CLI much on our VM ESX 4 hosts, but I need to locate a VMDK someone has restored to one of our datastores (we have about 50 datastores), the VMDK has the work *sp4* contained with it, is there a way I can search for this?

Thanks

Reply
0 Kudos
1 Reply
a_nut_in
Expert
Expert

Hey Gonzouk,

Try the following:

1. Log on to the ESX host

2. cd /vmfs/volumes/

3. Run ls -lR *sp4* or ls -lR *?sp4?*.vmdk

Thanks

a

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
Reply
0 Kudos