Skip to content

Commit 7b30d90

Browse files
committed
Fix minor formatting and structural issues . . .
1 parent b330735 commit 7b30d90

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

articles/machine-learning/data-science-virtual-machine/ubuntu-upgrade.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ You have two migration options:
3535

3636
In the Azure portal, use the search bar to find the **Snapshots** functionality.
3737

38-
:::image type="content" source="media/ubuntu_upgrade/azure-portal-search-bar.png" alt-text="Screenshot showing Azure portal and search bar, with **Snapshots** highlighted":::
38+
:::image type="content" source="media/ubuntu_upgrade/azure-portal-search-bar.png" alt-text="Screenshot showing Azure portal and search bar, with **Snapshots** highlighted.":::
3939

4040
1. Select **Add**, to take you to the **Create snapshot** page. Select the subscription and resource group of your virtual machine. For **Region**, select the same region in which the target storage exists. Select the DSVM storage disk and other backup options. **Standard HDD** is an appropriate storage type for this backup scenario.
41-
42-
:::image type="content" source="media/ubuntu_upgrade/create-snapshot-options.png" alt-text="Screenshot showing 'Create snapshot' options" lightbox="media/ubuntu_upgrade/create-snapshot-options.png":::
43-
41+
:::image type="content" source="media/ubuntu_upgrade/create-snapshot-options.png" alt-text="Screenshot showing 'Create snapshot' options." lightbox="media/ubuntu_upgrade/create-snapshot-options.png":::
4442
1. After you fill in the details and the validations pass, select **Review + create** to validate and create the snapshot. When the snapshot successfully completes, a message appears to tell you that the deployment is complete.
4543

4644
## In-place migration
@@ -66,7 +64,7 @@ After your VM upgrades and reboots, try to access it again via SSH. The IP addre
6664
6765
If you receive the error **REMOTE HOST IDENTIFICATION HAS CHANGED**, you must regenerate your SSH credentials.
6866
69-
:::image type="content" source="media/ubuntu_upgrade/remote-host-warning.png" alt-text="Screenshot showing PowerShell remote host identification changed warning" lightbox="media/ubuntu_upgrade/remote-host-warning.png":::
67+
:::image type="content" source="media/ubuntu_upgrade/remote-host-warning.png" alt-text="Screenshot showing PowerShell remote host identification changed warning." lightbox="media/ubuntu_upgrade/remote-host-warning.png":::
7068
7169
To do so on your local machine, run this command:
7270
@@ -86,34 +84,34 @@ You can upgrade the operating system parts of the filesystem, and leave the user
8684

8785
### Migration at a glance
8886

89-
1. Create a snapshot of your existing VM as described [previously](#snapshot-your-vm-in-case-you-need-to-roll-back)
90-
1. Create a disk from that snapshot
91-
1. Create a new Ubuntu DSVM
92-
1. Recreate user account(s) on the new virtual machine
93-
1. Mount the disk of the snapshotted VM as a data disk on your new DSVM
94-
1. Manually copy the relevant data
87+
1. Create a snapshot of your existing VM as described [previously](#snapshot-your-vm-in-case-you-need-to-roll-back).
88+
1. Create a disk from that snapshot.
89+
1. Create a new Ubuntu DSVM.
90+
1. Recreate user account(s) on the new virtual machine.
91+
1. Mount the disk of the snapshotted VM as a data disk on your new DSVM.
92+
1. Manually copy the relevant data.
9593

9694
### Create a disk from your VM snapshot
9795

9896
Create a VM snapshot as described previously, if you haven't already done so.
9997
10098
1. In the Azure portal, search for **Disks** and select **Add**. This opens the **Disk** page
10199
102-
:::image type="content" source="media/ubuntu_upgrade/portal-disks-search.png" alt-text="Screenshot of Azure portal showing search for Disks page and the Add button" lightbox="media/ubuntu_upgrade/portal-disks-search.png":::
100+
:::image type="content" source="media/ubuntu_upgrade/portal-disks-search.png" alt-text="Screenshot of Azure portal showing search for Disks page and the Add button." lightbox="media/ubuntu_upgrade/portal-disks-search.png":::
103101
104102
2. Set the **Subscription**, **Resource group**, and **Region** to the values of your VM snapshot. Choose a **Name** for the disk to be created
105103
106104
3. Select **Source type** as **Snapshot** and select the VM snapshot as the **Source snapshot**. Review and create the disk
107105
108-
:::image type="content" source="media/ubuntu_upgrade/disk-create-options.png" alt-text="Screenshot of disk creation dialog showing the available options" lightbox="media/ubuntu_upgrade/disk-create-options.png":::
106+
:::image type="content" source="media/ubuntu_upgrade/disk-create-options.png" alt-text="Screenshot of disk creation dialog showing the available options." lightbox="media/ubuntu_upgrade/disk-create-options.png":::
109107
110108
### Create a new Ubuntu Data Science Virtual Machine
111109
112110
Create a new Ubuntu Data Science Virtual Machine with the [Azure portal](https://portal.azure.com) or an [ARM template](./dsvm-tutorial-resource-manager.md).
113111
114-
### Recreate user account(s) on your new Data Science Virtual Machine
112+
### Re-create user account(s) on your new Data Science Virtual Machine
115113
116-
Since you'll only copy data from your old computer, you must recreate the user accounts and software environments that you want to use on the new machine.
114+
Since you'll only copy data from your old computer, you must re-create the user accounts and software environments that you want to use on the new machine.
117115

118116
Linux has enough flexibility to allow you to customize directories and paths on your new installation, to mirror your old machine. In general, however, it's easier to use the preferred layout of modern Ubuntu, and modify your user environment and scripts to adapt.
119117
@@ -124,7 +122,7 @@ For more information, visit [Quickstart: Set up the Data Science Virtual Machine
124122
1. In the Azure portal, verify that your Data Science Virtual Machine is running
125123
1. In the Azure portal, go to the page of your DSVM. Choose the **Disks** blade on the left rail. Choose **Attach existing disks**
126124
1. In the **Disk name** dropdown, select the disk that you created from your old VM's snapshot
127-
:::image type="content" source="media/ubuntu_upgrade/attach-data-disk.png" alt-text="Screenshot of DSVM options page showing disk attachment options" lightbox="media/ubuntu_upgrade/attach-data-disk.png":::
125+
:::image type="content" source="media/ubuntu_upgrade/attach-data-disk.png" alt-text="Screenshot of DSVM options page showing disk attachment options." lightbox="media/ubuntu_upgrade/attach-data-disk.png":::
128126
1. Select **Save** to update your virtual machine.
129127

130128
> [!Important]
@@ -141,7 +139,7 @@ For more information, visit [Quickstart: Set up the Data Science Virtual Machine
141139
142140
The results should resemble the next image. In the image, disk `sda1` is mounted at the root and `sdb2` is the `/mnt` scratch disk. The data disk created from the snapshot of your old VM is identified as `sdc1`, but isn't yet available, as evidenced by the lack of a mount location. Your results might have different identifiers, but you should see a similar pattern.
143141

144-
:::image type="content" source="media/ubuntu_upgrade/lsblk-results.png" alt-text="Screenshot of lsblk output, showing unmounted data drive" lightbox="media/ubuntu_upgrade/lsblk-results.png":::
142+
:::image type="content" source="media/ubuntu_upgrade/lsblk-results.png" alt-text="Screenshot of lsblk output, showing unmounted data drive." lightbox="media/ubuntu_upgrade/lsblk-results.png":::
145143

146144
1. To access the data drive, create a location for it and mount it. Replace `/dev/sdc1` with the appropriate value that `lsblk` returns:
147145

@@ -163,11 +161,11 @@ cat /etc/os-release
163161

164162
The terminal should show that you're running Ubuntu 20.04.
165163
166-
:::image type="content" source="media/ubuntu_upgrade/ssh-os-release.png" alt-text="Screenshot of an Ubuntu terminal showing OS version data" lightbox="media/ubuntu_upgrade/ssh-os-release.png":::
164+
:::image type="content" source="media/ubuntu_upgrade/ssh-os-release.png" alt-text="Screenshot of an Ubuntu terminal showing OS version data." lightbox="media/ubuntu_upgrade/ssh-os-release.png":::
167165
168166
The Azure portal also shows the version change.
169167
170-
:::image type="content" source="media/ubuntu_upgrade/portal-showing-os-version.png" alt-text="Screenshot of the Azure portal showing DSVM properties, including OS version" lightbox="media/ubuntu_upgrade/portal-showing-os-version.png":::
168+
:::image type="content" source="media/ubuntu_upgrade/portal-showing-os-version.png" alt-text="Screenshot of the Azure portal showing DSVM properties, including OS version." lightbox="media/ubuntu_upgrade/portal-showing-os-version.png":::
171169
172170
## Next steps
173171

0 commit comments

Comments
 (0)