You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/resize-os-disk-gpt-partition.md
+20-19Lines changed: 20 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Resize an OS Disk with a GPT Partition | Microsoft Docs
2
+
title: Resize an OS disk with a GPT partition | Microsoft Docs
3
3
description: This article provides instructions on resizing an OS Disk with GPT Partition.
4
4
services: virtual-machines-linux
5
5
documentationcenter: ''
@@ -33,23 +33,23 @@ Use the **parted** command to identify if the disk partition has been created wi
33
33
In the following output, the **Partition Table** shows a value of **msdos**, identifying an **MBR** Partition.
34
34
35
35
```
36
-
[root@rhel6 ~]# parted -l /dev/sda
36
+
[user@myvm ~]# parted -l /dev/sda
37
37
Model: Msft Virtual Disk (scsi)
38
38
Disk /dev/sda: 107GB
39
39
Sector size (logical/physical): 512B/512B
40
40
Partition Table: msdos
41
41
Number Start End Size Type File system Flags
42
42
1 1049kB 525MB 524MB primary ext4 boot
43
43
2 525MB 34.4GB 33.8GB primary ext4
44
-
[root@rhel6 ~]#
44
+
[user@myvm ~]#
45
45
```
46
46
47
47
### GPT partition
48
48
49
49
In the following output, the **Partition Table** shows a value of **gpt**, identifying a GPT partition.
50
50
51
51
```
52
-
[root@rhel7lvm ~]# parted -l /dev/sda
52
+
[user@myvm ~]# parted -l /dev/sda
53
53
Model: Msft Virtual Disk (scsi)
54
54
Disk /dev/sda: 68.7GB
55
55
Sector size (logical/physical): 512B/512B
@@ -84,7 +84,7 @@ To increase the size of the OS Disk in Ubuntu 16.x and 18.x:
84
84
As shown in the following example, the OS Disk has been resized from the portal to 100 GB, as the **/dev/sda1** file system mounted on **/** now displays 97 GB.
0 commit comments