Add Storage

2025-12-21 09:44:28 +00:00
parent 1d92571bff
commit 8325774d64

18
Storage.md Normal file

@@ -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`.