Informational Guides

What is Storage vMotion ?

VMware has many powerful advanced features to provide your virtual infrastructure High Availability with zero downtime. In this post we will discuss with you about the one of them very cool feature which is “Storage vMotion or svmotion”. Storage vMotion helps vmware admins to manage the storage of their infrastructure by moving the storage of VM’s from one storage to another.

Storage vMotion is very similar to the vMotion but in case of vMotion VM’s resources are migrated from one Host to Another but in case of Storage vMotion only the VM’s storage is migrated from one data store to another or from one storage to another storage.

Storage vMotion is a very useful feature in the vSphere. As we already seen about the vMotion so what exactly Storage vMotion does & why it is different then vMotion ?
Storage vMotion Enables the Live Migration of VM virtual disks from one storage to another storage easily by avoiding the Down time. VM is in Live running state & storage is also in use by using Storage vMotion you can easily migrate the Storage of that VM such as HDD’s from one storage to another storage. Storage vMotion is the Background process which is done be the VMware Admin or IT Team so the user of that VM will unaware that the VM’s storage is migrating. Storage vMotion also helps you to avoid the downtime of the storage activity.

Benefits of Storage vMotion :-

  • Balances the storage by migrating VM’s storage.
  • Helps to perform Patching, Update & Maintenance Activity on the Storage Boxes.
  • Zero Downtime & Application running uninterrupted.
  • Helps in distributing the Storage Load.

Using Storage vMotion you can easily migrate the storage of the vm & distribute the load of your storage infrastructure. By using Storage vMotion you can do the Upgrade, Patching  & Maintenance activity on the Storage Boxes.

So let’s see How to Storage vMotion Works :-

First Step :
VM’s Home directory gets copied to the Destination Datastore. Home directory contains the nonvolatile files such as vmx, swap, logs, snapshots etc.

Second Step:
Shadow VM created on the Destination Datastore which is in idle state because it doesn’t have the virtual disk.

Third Step:
Storage vMotion creates the disk on the Destination Datastore. At this stage the Mirror driver comes into the picture which writes already copied blocks to the Destination.

Fourth Step:
vSphere copies the virtual disks from Source to Destination in single pass while mirroring the I/O.

Fifth Step:
vSphere quickly suspends the source vm & resumes the shadow vm (Similar to vMotion).

Sixth Step:
After successful migration & resume completes the vm files are deleted from Source Datastore.

Now you can easily migrate the storage of the virtual machine in live state from one storage to another storage without downtime.

Checkout Our Post on How to do Storage vMotion:-

 

That’s it for Today Friends. I Hope you liked reading this post & If you find anything more to be added or removed feel free to write it in our comments. If you find it useful You are Feel free to share this on social media to help others & spread knowledge.
If you have any query on any thing you are free to write it in our comments section & we will make sure to provide you the better solution as soon as possible.

Checkout our Facebook Group for discussions & more.
You can also Like & Share our Facebook Page for Latest Updates.

Tags

Mayur Parmar

Hi I am Mayur Parmar. Independent Author & Founder of Mastering VMware. I am working in IT industry for more than 4 Years with knowledge of VMware , Microsoft Server's, Linux Server's.

Related Articles

Leave a Reply

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

15 + seven =

Back to top button
Close