From 8325774d640114721eb1ca6df3d9e142e62d5bae Mon Sep 17 00:00:00 2001 From: alvis Date: Sun, 21 Dec 2025 09:44:28 +0000 Subject: [PATCH] Add Storage --- Storage.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Storage.md diff --git a/Storage.md b/Storage.md new file mode 100644 index 0000000..f19c4d5 --- /dev/null +++ b/Storage.md @@ -0,0 +1,18 @@ +The host is using [LVM](https://wiki.archlinux.org/title/LVM). + +Useful commands to check the current status: + +```bash +sudo pvs # create new hard drive +sudo pvcreate /dev/sda1 + +sudo lvs # similar to pvs +sudo vgcreate group_name /dev/sda1 + +sudo lvcreate -L 30G group_name -n lv_name +sudo mkfs.ext4 /dev/group_name/volume_name + +lsblk +``` + +Then, create a new directory in `/mnt`, load and also modify `/etc/fstab`. \ No newline at end of file