system/notes/ssd.md

29 lines
392 B
Markdown
Raw Normal View History

# 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
2023-06-05 13:56:54 +03:00
nix-shell -p cloud-utils --run 'growpart /dev/sda 1'
resize2fs /dev/sda1
```