Ubuntu Disk Resize
Contents
Check Device and Disk Names
|
|
|
|
Check!
You can see
GPT PMBR size mismatch (20971519 != 62914559) will be corrected by write.
Type | Value |
---|---|
Device | /dev/sda3 |
Disk | /dev/mapper/ubuntu--vg-ubuntu--lv |
Check Partition Number
|
|
|
|
Prompt | Input | Action |
---|---|---|
(parted) | print list | Print partition list |
(parted) | quit | Quit parted program |
Check!
You can see
Disk Flags
section.Change Partition Size
|
|
|
|
Prompt | Input | Action |
---|---|---|
(parted) | resizepart | Resize partition |
Fix/Ignore? | Fix | Resize partition |
Partition number? | 3 | Select partition number |
End? | 100% | Set partition size |
(parted) | quit | Quit parted program |
Resize Physical Volume
|
|
|
|
Extend Size of Logical Volume
|
|
|
|
Resize Fie System
|
|
|
|
Check Changed!
|
|
|
|
Check!
You can see
29G
of /dev/mapper/ubuntu--vg-ubuntu--lv