Skip to content

Commit d330140

Browse files
committed
Updates.
1 parent 39b2d26 commit d330140

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

articles/virtual-machines/linux/add-disk.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,27 @@ There are two ways to enable TRIM support in your Linux VM. As usual, consult yo
166166

167167
- In some cases, the `discard` option may have performance implications. Alternatively, you can run the `fstrim` command manually from the command line, or add it to your crontab to run regularly:
168168

169-
**Ubuntu**
169+
# [Ubuntu](#tab/ubuntu)
170170

171171
```bash
172172
sudo apt-get install util-linux
173173
sudo fstrim /datadrive
174174
```
175175

176-
**RHEL/CentOS**
176+
# [Red Hat](#tab/rhel)
177177

178178
```bash
179179
sudo yum install util-linux
180180
sudo fstrim /datadrive
181181
```
182182

183+
# [SUSE](#tab/suse)
184+
185+
```bash
186+
sudo fstrim /datadrive
187+
```
188+
---
189+
183190
## Troubleshooting
184191

185192
[!INCLUDE [virtual-machines-linux-lunzero](../../../includes/virtual-machines-linux-lunzero.md)]

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ sdb 1:0:1:0 14G
7575
sdc 3:0:0:0 4G
7676
```
7777

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

8080
For a more complex example, here is what multiple data disks look like in the portal:
8181

@@ -108,7 +108,7 @@ From the output of `lsblk` you can see that the 4GB disk at LUN 0 is `sdc`, the
108108
If you are attaching a new disk, you need to partition the disk.
109109

110110
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.
111+
- Use the latest version `parted` that is available for your distro.
112112
- 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.
113113

114114

@@ -211,25 +211,26 @@ There are two ways to enable TRIM support in your Linux VM. As usual, consult yo
211211
```
212212
* In some cases, the `discard` option may have performance implications. Alternatively, you can run the `fstrim` command manually from the command line, or add it to your crontab to run regularly:
213213

214-
**Ubuntu**
215-
214+
# [Ubuntu](#tab/ubuntu)
215+
216216
```bash
217217
sudo apt-get install util-linux
218218
sudo fstrim /datadrive
219219
```
220-
221-
**RHEL/CentOS**
220+
221+
# [Red Hat](#tab/rhel)
222222

223223
```bash
224224
sudo yum install util-linux
225225
sudo fstrim /datadrive
226226
```
227227

228-
**SLSE**
228+
# [SUSE](#tab/suse)
229229

230230
```bash
231231
sudo fstrim /datadrive
232232
```
233+
---
233234

234235
## Next steps
235236

0 commit comments

Comments
 (0)