From ef9b59bc919b468174800df179bb6d9e4360f16f Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 26 Mar 2023 15:30:56 +0300 Subject: [PATCH] notes: add info about increase ssd size --- notes/ssd.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 notes/ssd.md diff --git a/notes/ssd.md b/notes/ssd.md new file mode 100644 index 0000000..5bea385 --- /dev/null +++ b/notes/ssd.md @@ -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 +```