Skip to content

Commit 3533285

Browse files
committed
Acrolinx.
1 parent 17b2357 commit 3533285

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/virtual-machines/linux/expand-disks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ An OS disk has a maximum capacity of 4,095 GiB. However, many operating systems
2323
2424
## <a id="identifyDisk"></a>Identify Azure data disk object within the operating system ##
2525

26-
In the case of expanding a data disk when there are several data disks present on the VM, it may be difficult to relate the Azure LUNs to the Linux devices. If the OS disk needs expansion, it will be clearly labeled in the Azure portal as the OS disk.
26+
In the case of expanding a data disk when there are several data disks present on the VM, it may be difficult to relate the Azure LUNs to the Linux devices. If the OS disk needs expansion, it is clearly labeled in the Azure portal as the OS disk.
2727

2828
Start by identifying the relationship between disk utilization, mount point, and device, with the ```df``` command.
2929

@@ -39,9 +39,9 @@ Filesystem Type Size Used Avail Use% Mounted on
3939
/dev/sde1 ext4 32G 49M 30G 1% /opt/db/log
4040
```
4141

42-
Here we can see, for example, the `/opt/db/data` filesystem is nearly full, and is located on the `/dev/sdd1` partition. The output of `df` will show the device path regardless of whether the disk is mounted by device path or the (preferred) UUID in the fstab. Also take note of the Type column, indicating the format of the filesystem. This will be important later.
42+
Here we can see, for example, the `/opt/db/data` filesystem is nearly full, and is located on the `/dev/sdd1` partition. The output of `df` shows the device path regardless of whether the disk is mounted by device path or the (preferred) UUID in the fstab. Also take note of the Type column, indicating the format of the filesystem. This is important later.
4343

44-
Now locate the LUN which correlates to `/dev/sdd` by examining the contents of `/dev/disk/azure/scsi1`. The output of the following `ls` command will show that the device known as `/dev/sdd` within the Linux OS is located at LUN1 when looking in the Azure portal.
44+
Now locate the LUN that correlates to `/dev/sdd` by examining the contents of `/dev/disk/azure/scsi1`. The output of the following `ls` command shows that the device known as `/dev/sdd` within the Linux OS is located at LUN1 when looking in the Azure portal.
4545

4646
```bash
4747
sudo ls -alF /dev/disk/azure/scsi1/
@@ -121,7 +121,7 @@ In the following samples, replace example parameter names such as *myResourceGro
121121
122122
### Detecting a changed disk size
123123
124-
If a data disk was expanded without downtime using the procedure mentioned previously, the disk size won't be changed until the device is rescanned, which normally only happens during the boot process. This rescan can be called on-demand with the following procedure. In this example we have detected using the methods in this document that the data disk is currently `/dev/sda` and has been resized from 256GB to 512GB.
124+
If a data disk was expanded without downtime using the procedure mentioned previously, the disk size won't be changed until the device is rescanned, which normally only happens during the boot process. This rescan can be called on-demand with the following procedure. In this example we have detected using the methods in this document that the data disk is currently `/dev/sda` and has been resized from 256 GiB to 512 GiB.
125125
126126
1. Identify the currently recognized size on the first line of output from `fdisk -l /dev/sda`
127127
@@ -439,7 +439,7 @@ To increase the OS disk size in SUSE 12 SP4, SUSE SLES 12 for SAP, SUSE SLES 15,
439439
└─rootvg-rootlv 253:6 0 2G 0 lvm /
440440
```
441441

442-
1. Expand the partition containing this PV using *growpart*, the device name, and partition number. Doing so will expand the specified partition to use all the free contiguous space on the device.
442+
1. Expand the partition containing this PV using *growpart*, the device name, and partition number. Doing so expands the specified partition to use all the free contiguous space on the device.
443443

444444
```bash
445445
growpart /dev/sda 4

0 commit comments

Comments
 (0)