... | ... | @@ -5,7 +5,7 @@ Suppose you want to move a disk D from resource group A to resource group B (in |
|
|
- Create a container in the storage account![Schermata_del_2021-04-22_10-43-44](uploads/dadabf91b0e8fec7c29f8a0856e6115e/Schermata_del_2021-04-22_10-43-44.png)
|
|
|
- Create a **blob** storage in the container
|
|
|
![Schermata_del_2021-04-22_10-43-55](uploads/3e43fe97a44d52c38ffe4f64f3616a4c/Schermata_del_2021-04-22_10-43-55.png)
|
|
|
- Run the powershell script attached modifiyng the parameters in source and destination
|
|
|
- Run the powershell script attached modifiyng the parameters in source and destination and the **expiration time** (set it to around 30h for 2TB of data)
|
|
|
- Create a disk from the dashboard starting from the blob storage (pay attention to the zone!)
|
|
|
![Schermata_del_2021-04-22_10-45-58](uploads/c47976a6d0bf183a4644834d3600d81e/Schermata_del_2021-04-22_10-45-58.png)
|
|
|
- Go to the VM disk managment **refresh** and **attach an existing disk** from the **blob storage**
|
... | ... | @@ -18,7 +18,7 @@ Suppose you want to move a disk D from resource group A to resource group B (in |
|
|
- copy the UUID relative to sdc1
|
|
|
- edit fstab `sudo nano /etc/fstab` and add something like that `UUID=f603f1e2-bd80-4d0c-ab52-524c44069f02 /ada2 ext4 defaults,discard 0 0
|
|
|
`
|
|
|
|
|
|
- Remove the orignal disk, the snapshot and the disk in the blob storage if everything works perfectly
|
|
|
[powershell_script](uploads/7b2c4a2d16b5bbdb635187e005e55be9/powershell_script)
|
|
|
|
|
|
REFERENCES
|
... | ... | |