-
- Veteran
- Posts: 264
- Liked: 30 times
- Joined: Mar 22, 2011 7:43 pm
- Full Name: Ted
- Contact:
Change replica to thin disk?
I think I can't but I'll ask. My replicas are currently thick and I'd like to change them to thin. Is there a method to convert them to thin that doesn't break the replication?
-
- Chief Product Officer
- Posts: 31789
- Liked: 7290 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Change replica to thin disk?
The "proper" way to do this is specify different replica disk type per disk when creating the replication job. The job will then create replica disks as thin automatically for you. Any other method has not been tested. If I hear otherwise, I will update.
-
- Novice
- Posts: 4
- Liked: never
- Joined: Nov 26, 2010 2:17 am
- Full Name: Scott Robertson
- Contact:
Re: Change replica to thin disk?
Where do you set that (forcing the replica disk to thin) with Veeam 6? I can see the option under 5 (on the "Replica Destination" page) but there does not seem to be an equivilant for Veeam 6...
Ahh, I just found it under the "Pick Datastore" on the "Destination" tab for the job. But it looks like I need to set this individually for each VM in the job. My replication jobs each target a resource pool with around 12 VMs in each - I don't want to have to individually set this for each disk on each VM - am I forced to?
Ahh, I just found it under the "Pick Datastore" on the "Destination" tab for the job. But it looks like I need to set this individually for each VM in the job. My replication jobs each target a resource pool with around 12 VMs in each - I don't want to have to individually set this for each disk on each VM - am I forced to?
-
- Veeam Software
- Posts: 21138
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Change replica to thin disk?
Scott, yes you need to set this manually for each VM, unless some of our PowerShell guys here know how to automate the process. Thanks.
-
- Veteran
- Posts: 293
- Liked: 19 times
- Joined: Apr 13, 2011 12:45 pm
- Full Name: Thomas McConnell
- Contact:
Re: Change replica to thin disk?
I've had a good dig about the shell job options but can't seem to find what I needfoggy wrote:Scott, yes you need to set this manually for each VM, unless some of our PowerShell guys here know how to automate the process. Thanks.
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: Change replica to thin disk?
Testing if I can force thick/thin on everything through powershell, will come back with some results here shortly.
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: Change replica to thin disk?
I tried doing some force thick/force thin for "DiskCreationMode" in the ViReplicaTargetOptions in powershell but it still did "as source" as the GUI shows and ran a couple jobs. Still need to do some more research.
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Veteran
- Posts: 264
- Liked: 30 times
- Joined: Mar 22, 2011 7:43 pm
- Full Name: Ted
- Contact:
Re: Change replica to thin disk?
I made it work. High probability of starting over from scratch if something doesn't quite work right. You've been warned.
1) Remove all snapshots on the replica vm.
2) Rename the virtual disk using vmkfstools -E replica.vmdk thickreplica.vmdk
3) Clone (and convert to thin) using vmkfstools -i thickreplica.vmdk replica.vmdk -d thin
When the next replication job runs, it'll recreate the metadata (calculate digests) and fail over to network mode (changed blocks information doesn't exist because it's a new virtual disk). But, for me, it did make the replica a thin disk without starting completely over (though I did lose all restore points).
6) After it's done and the replication job is working and it's thoroughly confirmed as working, you can delete the old virtual disk with vmkfstools -U thickreplica.vmdk
1) Remove all snapshots on the replica vm.
2) Rename the virtual disk using vmkfstools -E replica.vmdk thickreplica.vmdk
3) Clone (and convert to thin) using vmkfstools -i thickreplica.vmdk replica.vmdk -d thin
When the next replication job runs, it'll recreate the metadata (calculate digests) and fail over to network mode (changed blocks information doesn't exist because it's a new virtual disk). But, for me, it did make the replica a thin disk without starting completely over (though I did lose all restore points).
6) After it's done and the replication job is working and it's thoroughly confirmed as working, you can delete the old virtual disk with vmkfstools -U thickreplica.vmdk
-
- Chief Product Officer
- Posts: 31789
- Liked: 7290 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Change replica to thin disk?
Oh well, let's hope that the contents of your replica disks will still remain valid after the following incremental runs, since this scenario was never explicitly tested.
-
- Veteran
- Posts: 264
- Liked: 30 times
- Joined: Mar 22, 2011 7:43 pm
- Full Name: Ted
- Contact:
Re: Change replica to thin disk?
I did a couple incrementals before posting. (Though I haven't actually tested a failover yet!)
Side note -- this might be a decent enhancement request . . .
Side note -- this might be a decent enhancement request . . .
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Change replica to thin disk?
It just using the new disk as the seed, so it's really no different than "starting over" and using the exising VM, and it's newly converted thin disk, as the seed. Should work great.
-
- Chief Product Officer
- Posts: 31789
- Liked: 7290 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Change replica to thin disk?
Yes, but if you noticed he maps thick disk into thin disk, this is what I am concerned with. Can never be too cautious with DR, I just want his replicas to work when he needs them
-
- Veteran
- Posts: 264
- Liked: 30 times
- Joined: Mar 22, 2011 7:43 pm
- Full Name: Ted
- Contact:
Re: Change replica to thin disk?
Just tested the replica that I converted. It boots up and looks fine.
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Change replica to thin disk?
Should be no problem. Mapping thick disk into thin disk is well tested by someone I know.Gostev wrote:Yes, but if you noticed he maps thick disk into thin disk, this is what I am concerned with. Can never be too cautious with DR, I just want his replicas to work when he needs them
Who is online
Users browsing this forum: No registered users and 20 guests