vSphere

cannot remove vmdk no such file or directory |VMware Communities

Dear All,

I cannot remove vmdk no such file or directory.

How can i sloved it. Thanks!

 

Here is my log:

[root@tgesxi3:/vmfs/volumes/5daa7981-f59a2c83-580b-a4bf0137e922/Test/oldfiles] rm -r Test_2-flat.vmdk

rm: can’t remove ‘Test_2-flat.vmdk’: No such file or directory

[root@tgesxi3:/vmfs/volumes/5daa7981-f59a2c83-580b-a4bf0137e922/Test/oldfiles] vmkfstools -D Test_2-flat.vmdk

Lock [type 10c00001 offset 100155392 v 182, hb offset 4161536

gen 101, mode 0, owner 00000000-00000000-0000-000000000000 mtime 2609

num 0 gblnum 0 gblgen 0 gblbrk 0]

Addr <4, 28, 26>, gen 58, links 1, type reg, flags 0x9, uid 0, gid 0, mode 600

len 48855252992, nb 5023 tbz 0, cow 0, newSinceEpoch 5023, zla 3, bs 1048576

affinityFD <4,28,26>, parentFD <4,48,23>, tbzGranularityShift 20, numLFB 0

lastSFBClusterNum 926, numPreAllocBlocks 0, numPointerBlocks 1

 

 

[root@tgesxi3:/vmfs/volumes/5daa7981-f59a2c83-580b-a4bf0137e922/Test/oldfiles] touch Test_2-flat.vmdk | ls -ltr | grep vmdk

-rw——-    1 root     root     48855252992 Nov  4 07:20 Test_2-flat.vmdk

[root@tgesxi3:/vmfs/volumes/5daa7981-f59a2c83-580b-a4bf0137e922/Test/oldfiles] vmfsfilelockinfo -p Test_2-flat.vmdk -v 10.10.1.249 -u administrator@vsphere.local

vmfsfilelockinfo Version 2.0

Looking for lock owners on “Test_2-flat.vmdk”

“Test_2-flat.vmdk” is not locked by any ESX host and is Free

Total time taken : 0.034483469999031513 seconds.

[root@tgesxi3:/vmfs/volumes/5daa7981-f59a2c83-580b-a4bf0137e922/Test/oldfiles]


Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close