mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-01-18 03:40:51 +03:00
Update linux-disk-resize.md
This commit is contained in:
parent
fded74c558
commit
065c517ba4
@ -6,8 +6,8 @@ tags: [linux]
|
|||||||
---
|
---
|
||||||
## Расширение раздела
|
## Расширение раздела
|
||||||
|
|
||||||
<disk> - sda
|
`<disk>` - sda
|
||||||
<partition> - 1
|
`<partition>` - 1
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
growpart /dev/<disk> <partition>
|
growpart /dev/<disk> <partition>
|
||||||
@ -15,7 +15,7 @@ growpart /dev/<disk> <partition>
|
|||||||
|
|
||||||
## Увеличение ФС
|
## Увеличение ФС
|
||||||
|
|
||||||
<partition> - sda1
|
`<partition>` - sda1
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
resize2fs /dev/<partition>
|
resize2fs /dev/<partition>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user