Share via


Spanned Volume in Azure VM

Question

Thursday, April 23, 2015 5:47 AM

Hello Friends

I have made a small change in one of my Azure VM, I have attached 100 HDD to one of the VM, and  want to extend the present Local Drive. but some how it changed into spanned volume. No w my E drive 220 GB it was 120 GB.

is there any issue if I use VM local drive as Spanned Volume.

Is it possible to change Spanned Volume to 'simple' 

Thanks 

Santo Antony

All replies (7)

Thursday, April 23, 2015 8:37 AM | 1 vote

Spanned volumes means that you create a volume using two ore more hard disks (This is like the RAID0 or the Stripping). You will not be able to change it to simple volume by a simple conversion, but you can do it this way.

1. Shutdown your VM

2. Attach a new VHD with the appropriate size (120)

3- Start the VM, initialize the disk and format it and assign it a letter (Example : F:)

4- Shutdown any service that uses the data locate don your spanned volume (I assume your spanned volume letter is E:)

5- Use the following command to copy all data form E: to F: : robocopy E:\ F:\ /mir

6- Now, go to disk manager, and change the letter used by E: to G:

7- Change F: to E:

8- Restart the VM

9- Verify that your application or service works correctly

10- Shutdown your VM and remove the old VHDs

Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com


Thursday, April 23, 2015 8:55 AM

Thanks Samir Farhat, let me try and get back to you thanks for your answer

Santo Antony

With Regards, Santo Antony


Thursday, April 23, 2015 9:00 AM

Hello Samir Farhat,

If i continue with the Spanned Volume is there any issue?

Is there any chance to lose data.

 

With Regards, Santo Antony


Thursday, April 23, 2015 9:07 AM

No, but you will maintain 2 VHDs (they form your spanned volume), and if one of them fails you will will loose the data, so if we talk maths and probability, you will have two times more risk to loose your volume than when using one single VHD. I recommend you to change it to one disk. Don't worry, this operation is harmless since your spanned volume will always be there (Just with another volume letter). If anything happens (a problem with your app), you will just reassign it the old letter.

Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com


Thursday, April 23, 2015 9:14 AM

Hello Samir Farhat,

Thanks for your reply, surely i am going to try it. 

Thanks

With Regards, Santo Antony


Friday, April 24, 2015 6:01 AM

Hello Samir,

Is it possible to run this command over internet, if i have two VM in different location and i need to take copy of the same every week, so can i use this (: robocopy E:\ F:\ /mir) this command over internet.

Thanks.

With Regards, Santo Antony


Monday, June 25, 2018 7:19 AM

Hi Samir,

Can you please guide me to add 16 TB to VM disk.

Regards,

Pankaj