VMware Cloud Community
khaliqamar
Enthusiast
Enthusiast

cannot complete the operation because the file or folder <unspecified filename > already exists

hello

I want to get some suggestions form you guys.

I cant take a snapshot of a vm and having this error " cannot creae snapshot because file or folder unspecified filename already exists"

snapshot manager is not showing any snapsot in virtual center but vm folder is having snapshot files.

I have seen this KB http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100805...

ls -alrt *.vmdk

-rw------- 1 root root          523 May  9  2015 vm1.vmdk

-rw------- 1 root root          500 Sep 11  2014 vm1_1.vmdk

-rw------- 1 root root          499 Sep 11  2014 vm1_2.vmdk

-rw------- 1 root root          501 Sep 12  2014 vm1_3.vmdk

-rw------- 1 root root  21474836480 Jun  9  2015 vm1-flat.vmdk

-rw------- 1 root root  53687091200 Jun  9  2015 vm1_1-flat.vmdk

-rw------- 1 root root  32212254720 Feb  3  2015 vm1_2-flat.vmdk

-rw------- 1 root root 107374182400 Jun  9  2015 vm1_3-flat.vmdk

-rw------- 1 root root  53687091200 Dec  1 18:04 vm1_4-flat.vmdk

-rw------- 1 root root          355 Aug 28 12:09 vm1-000001.vmdk

-rw------- 1 root root          360 Jun  9  2015 vm1_1-000001.vmdk

-rw------- 1 root root          359 Jun  9  2015 vm1_2-000001.vmdk

-rw------- 1 root root          360 Jun  9  2015 vm1_3-000001.vmdk

-rw------- 1 root root   9277845504 Dec  9 10:11 vm1-000001-delta.vmdk

-rw------- 1 root root  14327848960 Dec  9 08:45 vm1_1-000001-delta.vmdk

XXX-rw------- 1 root root       106496 Jun  9 22:06 vm1_1-000002-delta.vmdk XXXX

-rw------- 1 root root     16842752 Dec  1 18:05 vm1_2-000001-delta.vmdk

-rw------- 1 root root 103935062016 Dec  7 04:14 vm1_3-000001-delta.vmdk

so when i match all the vmdk's with all the descriptor files i found vm1_1-000002-delta.vmdk is not having a descriptor file.

what is the best to fix it. according to the KB i can rename it to vm1_1-000002-delta.vmdk.old but is it possible to change it on powered on status.

This vm is very important VM and we dont have a backup so any other possible way to backup instead of shutdown and copy the full folder.

What is the best way to fix it.

MY .VMX file

#!/usr/bin/vmware

.encoding = "UTF-8"

config.version = "8"

virtualHW.version = "4"

nvram = "vm1.nvram"

virtualHW.productCompatibility = "hosted"

powerType.powerOff = "soft"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "soft"

displayName = "vm1"

extendedConfigFile = "vm1.vmxf"

floppy0.present = "true"

scsi0.present = "true"

scsi0.sharedBus = "none"

scsi0.virtualDev = "lsilogic"

memsize = "1024"

scsi0:0.present = "true"

scsi0:0.fileName = "vm1-000001.vmdk"

scsi0:0.deviceType = "scsi-hardDisk"

sched.scsi0:0.shares = "normal"

sched.scsi0:0.throughputCap = "off"

scsi0:1.present = "true"

scsi0:1.fileName = "vm1_1-000001.vmdk"

scsi0:1.deviceType = "scsi-hardDisk"

sched.scsi0:1.shares = "normal"

sched.scsi0:1.throughputCap = "off"

scsi0:2.present = "true"

scsi0:2.fileName = "vm1_2-000001.vmdk"

scsi0:2.deviceType = "scsi-hardDisk"

sched.scsi0:2.shares = "normal"

sched.scsi0:2.throughputCap = "off"

ide0:0.present = "true"

ide0:0.fileName = "CD-ROM 1"

ide0:0.deviceType = "atapi-cdrom"

ide0:0.startConnected = "false"

floppy0.startConnected = "false"

floppy0.fileName = "Floppy 1"

ethernet0.present = "true"

ethernet0.wakeOnPcktRcv = "false"

ethernet0.networkName = "XXX"

ethernet0.addressType = "vpx"

ethernet0.generatedAddress = "XX:XX:XX:XX:XX:XX"

guestOS = "rhel5"

annotation = "vRanger Backup & Replication: Type [Full] Result [Success] Time [6/9/2015 10:07:09 PM] Repository [M]"

uuid.bios = "42 23 1b 4f 08 55 9f 68-55 13 27 76 43 6e 97 36"

vc.uuid = "50 23 1f ea 44 50 76 3b-94 51 bc 27 64 5d 4b e5"

log.fileName = "vmware.log"

snapshot.action = "keep"

sched.cpu.min = "0"

sched.cpu.units = "mhz"

sched.cpu.shares = "normal"

sched.mem.minsize = "0"

sched.mem.shares = "normal"

tools.upgrade.policy = "manual"

evcCompatibilityMode = "FALSE"

guestCPUID.0 = "0000000"

guestCPUID.1 = "000206cff"

guestCPUID.80000001 = "00800"

hostCPUID.0 = "0000000b"

hostCPUID.1 = "000206c2f"

hostCPUID.80000001 = "00"

replay.supported = "FALSE"

scsi0:0.redo = ""

scsi0:1.redo = ""

userCPUID.0 = "0000000"

userCPUID.1 = "000206c200200f"

userCPUID.80000001 = "00000000000000000000000128100800"

vmotion.checkpointFBSize = "4194304"

scsi0:2.ctkEnabled = "false"

scsi0:2.redo = ""

tools.syncTime = "FALSE"

uuid.location = "56 4d 58 30 69 34 bf c5-24 22 d9 20 1d 14 91 ad"

cleanShutdown = "FALSE"

migrate.hostlog = "./vm1-78e9b921.hlog"

sched.mem.max = "1024"

sched.swap.derivedName = "/vmfs/volumes/5391aeef-a/vm1/vm1-78e9b921.vswp"

scsi0:3.fileName = "vm1_3-000001.vmdk"

scsi0:3.mode = "persistent"

scsi0:3.ctkEnabled = "FALSE"

scsi0:3.deviceType = "scsi-hardDisk"

scsi0:3.present = "TRUE"

scsi0:3.redo = ""

scsi0:4.fileName = "vm1_4.vmdk"

scsi0:4.mode = "persistent"

scsi0:4.ctkEnabled = "FALSE"

scsi0:4.deviceType = "scsi-hardDisk"

scsi0:4.present = "TRUE"

scsi0:4.redo = ""

Thanks in advance

0 Kudos
2 Replies
martinriley
Hot Shot
Hot Shot

Hi there,

From your .vmx file you can see that vm_1 is pointing to vm1_1-000001.vmdk and so your identified delta file is not in use.  You'll be able to rename or move or delete this file whilst your VM is running without issue, then you should be able to take your snapshot.

Hope this helps and good luck!

vM

-----------------------

VCAP-DCD / VCAP-DCA / VCP-CLOUD / VCP-DT / VCP5 / VCP4

-----------------------

vMustard.com

0 Kudos
khaliqamar
Enthusiast
Enthusiast

thanks

0 Kudos