diff --git a/2026/day-13/day-13-lvm.md b/2026/day-13/day-13-lvm.md new file mode 100644 index 000000000..a541ca2b9 --- /dev/null +++ b/2026/day-13/day-13-lvm.md @@ -0,0 +1,34 @@ +Screenshot 2026-02-06 at 4 08 06 PM + + +Assign a storage/volume to a server +attach that storage to your server then it will be visible + +now you can step ahead to mount it + +firstly create a physical volume using below command + +lsblk - to list the bulk devices +then use + +pvcreate /dev/ + +now that pv is created now you to create a logical group. + +vgcreate /dev/ + +once it is created , you need to creat a LVM(logicam volume) using the VG + +lvcreate -n -L 5G - this command created a LVM and assign a disk to it + +once it is created you see it using lvm/lsblk/lvdisplay + +now that its done, extract the LVM + +Mkfs.ext4 /dev// + +now you can mount to a directory whichever you want using mount command + +mount /dev// + +and boom done.