| ... | ... | @@ -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
|
|
|
|
- Create a **blob** storage in the container
|
|
|
|

|
|
|
|
- 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!)
|
|
|
|

|
|
|
|
- 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
|
| ... | ... | |
| ... | ... | |