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
<partition> - 1
`<disk>` - sda
`<partition>` - 1
```shell
growpart /dev/<disk> <partition>
@ -15,7 +15,7 @@ growpart /dev/<disk> <partition>
## Увеличение ФС
<partition> - sda1
`<partition>` - sda1
```shell
resize2fs /dev/<partition>