Skip to content

Commit d724d26

Browse files
authored
Merge pull request #197094 from cynthn/patch-601
Update attach-disk-portal.md
2 parents 8d31d6c + 82eab1a commit d724d26

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/virtual-machines/linux/attach-disk-portal.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ sdc 3:0:0:0 4G
7777

7878
In this example, the disk that I added is `sdc`. It is a LUN 0 and is 4GB.
7979

80-
For a more complex example, here is what multiple data disks looks like in the portal:
80+
For a more complex example, here is what multiple data disks look like in the portal:
8181

8282
:::image type="content" source="./media/attach-disk-portal/find-disk.png" alt-text="Screenshot of multiple disks shown in the portal.":::
8383

@@ -99,15 +99,17 @@ sde 3:0:0:2 32G
9999

100100
From the output of `lsblk` you can see that the 4GB disk at LUN 0 is `sdc`, the 16GB disk at LUN 1 is `sdd`, and the 32G disk at LUN 2 is `sde`.
101101

102-
### Partition a new disk
102+
### Prepare a new empty disk
103103

104-
If you are using an existing disk that contains data, skip to mounting the disk. If you are attaching a new disk, you need to partition the disk.
104+
> [!IMPORTANT]
105+
> If you are using an existing disk that contains data, skip to [mounting the disk](#mount-the-disk).
106+
> The following instuctions will delete data on the disk.
105107
106-
The `parted` utility can be used to partition and to format a data disk.
108+
If you are attaching a new disk, you need to partition the disk.
107109

108-
> [!NOTE]
109-
> It is recommended that you use the latest version `parted` that is available for your distro.
110-
> If the disk size is 2 tebibytes (TiB) or larger, you must use GPT partitioning. If disk size is under 2 TiB, then you can use either MBR or GPT partitioning.
110+
The `parted` utility can be used to partition and to format a data disk.
111+
- It is recommended that you use the latest version `parted` that is available for your distro.
112+
- If the disk size is 2 tebibytes (TiB) or larger, you must use GPT partitioning. If disk size is under 2 TiB, then you can use either MBR or GPT partitioning.
111113

112114

113115
The following example uses `parted` on `/dev/sdc`, which is where the first data disk will typically be on most VMs. Replace `sdc` with the correct option for your disk. We are also formatting it using the [XFS](https://xfs.wiki.kernel.org/) filesystem.

0 commit comments

Comments
 (0)