Add Storage
18
Storage.md
Normal file
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`.
|
||||
Reference in New Issue
Block a user