Update linux-disk-resize.md

This commit is contained in:
ruslan 2024-12-10 14:02:37 +01:00 committed by GitHub
parent fded74c558
commit 065c517ba4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>