notes: add info about increase ssd size

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-26 15:30:56 +03:00
parent 277f1ed28a
commit ef9b59bc91
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
1 changed files with 29 additions and 0 deletions

29
notes/ssd.md Normal file
View File

@ -0,0 +1,29 @@
# Increase SSD size
Get available disk size
```
fdisk -l
```
Show disk list
```sh
lsblk
```
```
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 8G 0 disk
├─sda1 8:1 0 8G 0 part /
└─sda14 8:14 0 8M 0 part
sdb 8:16 0 7G 0 disk
```
Increase size
```sh
nix-shell -p cloud-utils
growpart /dev/sda 1
resize2fs /dev/sda1
```