-
- Novice
- Posts: 8
- Liked: never
- Joined: Nov 29, 2011 9:50 pm
- Full Name: Arnaud Bigot
- Contact:
CTP files when backup VM in CSV
hi!
I use VEEAM to backup a Hyper-V cluster (2 nodes) labtest. I use Software VSS (so : onhost mode)
*.ctp files are created in VM folders (so we can't delete all VM files when removing a VM.)
CTP files seems to come with CBT...
is there a fix to delete these files automatically ?
regards,
I use VEEAM to backup a Hyper-V cluster (2 nodes) labtest. I use Software VSS (so : onhost mode)
*.ctp files are created in VM folders (so we can't delete all VM files when removing a VM.)
CTP files seems to come with CBT...
is there a fix to delete these files automatically ?
regards,
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: CTP files when backup VM in CSV
Arnaud,
You're right. Veeam CBT driver keeps track of changing data blocks in virtual disks via special .ctp files stored next to VM disk files.
Could you please clarify one thing for me please - you're saying that you cannot delete this files at all, right? What does the corresponding error message say?
Thanks!
You're right. Veeam CBT driver keeps track of changing data blocks in virtual disks via special .ctp files stored next to VM disk files.
Could you please clarify one thing for me please - you're saying that you cannot delete this files at all, right? What does the corresponding error message say?
Thanks!
-
- Novice
- Posts: 8
- Liked: never
- Joined: Nov 29, 2011 9:50 pm
- Full Name: Arnaud Bigot
- Contact:
Re: CTP files when backup VM in CSV
thank you for reply.
sorry, but the problem disappears...(the problem was *.ctp cannot be deleted because they were in use by a process.)
So I will go on testing .
thanks.
sorry, but the problem disappears...(the problem was *.ctp cannot be deleted because they were in use by a process.)
So I will go on testing .
thanks.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: CTP files when backup VM in CSV
Yep, looks like these files were still locked by Veeam process when you tried to remove them.
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
You don't want to delete these files. You should only delete if you decide uninstall Veeam Backup & Replication from your environment (as well as our Hyper-V integration components from all hosts). Thanks!
-
- Enthusiast
- Posts: 26
- Liked: never
- Joined: Feb 22, 2012 1:45 pm
- Full Name: Sergio Murteira
- Contact:
Re: CTP files when backup VM in CSV
But how long does it take for these files to disappear? If or when they disappear does it also delete the folder? Leaving these folders and files out there makes a mess out of csv storage. I'd like to look at my csv storage and know what's in there and not have to guess which ones have files in them and which ones don't. I can get rid of the .ctp files by live migrating my vms out of the host that has a lock on the file, then once the host is rebooting, you can just delete the file and follow the procedure for any other host that may have a lock on the file. But live migrating the vms and rebooting a host can't be the answer we are looking for here. There has to be a reason/answer as to why these files don't go away after you delete a vm.
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
Well, that's an easy one. If you delete VM using any Microsoft tool, it simply does not know about any 3rd party files belonging to this VM, and thus those are not included in the deletion process. It's a good point though, we should add functionality to our Hyper-V intergration components to automatically clean up these files after VM has been moved or deleted.smurteira wrote:There has to be a reason/answer as to why these files don't go away after you delete a vm.
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
Actually, it appears that this functionality is already in place. The obsolete CTP files clean up job is an automated operation that is performed daily. If you do not see this happening in your environment, we would like to investigate this closer with the debug logs (it could be that there are certain scenarios that clean up logic is missing).
By the way, to ensure transparent support for Live Migration, CTP files are created on EACH host of the cluster for EACH VM we protect, and they will not be deleted by cleanup logic until VM is either removed completely, or changed to be a non-clustered resource. So it is normal to still see CTP files after live migrating VM to another host.
Thanks!
By the way, to ensure transparent support for Live Migration, CTP files are created on EACH host of the cluster for EACH VM we protect, and they will not be deleted by cleanup logic until VM is either removed completely, or changed to be a non-clustered resource. So it is normal to still see CTP files after live migrating VM to another host.
Thanks!
-
- Enthusiast
- Posts: 26
- Liked: never
- Joined: Feb 22, 2012 1:45 pm
- Full Name: Sergio Murteira
- Contact:
Re: CTP files when backup VM in CSV
Thanks Gostev. Is there a way for me to kickoff the cleanup myself? PowerShell maybe?
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
I don't believe this is available through PowerShell. Besides, why not just wait for just 12 hours (on average) and let it happen automatically?
-
- Influencer
- Posts: 12
- Liked: 3 times
- Joined: Jun 02, 2011 3:33 pm
- Full Name: Mark Harford
- Contact:
Re: CTP files when backup VM in CSV
Any update on this Gostev? It's proving a real nuisance.
Also I have just found that a backup taken straight after a live migration of storage location fails.
Nothing obvious in the log files.
Also I have just found that a backup taken straight after a live migration of storage location fails.
Nothing obvious in the log files.
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
Update on what specifically?
-
- Influencer
- Posts: 12
- Liked: 3 times
- Joined: Jun 02, 2011 3:33 pm
- Full Name: Mark Harford
- Contact:
Re: CTP files when backup VM in CSV
Ah sorry, I meant an update on a way to manually kick off the cleanup of obsolete CTP files.
-
- Chief Product Officer
- Posts: 31806
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: CTP files when backup VM in CSV
No plans to add that. All unneeded files should be cleaned up automatically within 24 hours.
Who is online
Users browsing this forum: No registered users and 17 guests