how to create LVM & how to add extra hard disk in Linux

Published: 21 October 2020
on channel: Technical Skills Linux
590
9

how to create LVM & how to add extra hard disk
#LVM
#Lnux_lvm
#how_to_create_lvm
PV ---- VG -----LV ----Mount

df -h [check]

******Please Subscribe to my channel for the next video******

1st steps ----

lsblk

fdisk /dev/sdb
m (for help)

n

enter

enter

L type patision

8e [For linux LVM]

p [paint check for]

w [save & redwrite]

partprobe [restart lvm]

2nd step ----

pvdisplay [check for pv]

pvcreate /dev/sdb1

pvdisplay

3rd steps----

vgdisplay [check vg]

vgcreate myvg /dev/sdb1

vgdisplay

lvdisplay [check lv]

lvcreate -L +24G -n mylv myvg

lvdisplay

df -h

fdisk -l

4t steps ----

mkfs.ext3 /dev/myvg/mylv

mkdir /mnt/archive

vim /etc/fstab

/dev/myvg/mylv /mnt/archive ext3 defauls 0 0


:wq [save]

mount -a

now check

df -h

Thank you for watching my video if my video any help to you please like , comment, and subscribe to my channel for the next video.


Thank you once again...


-like -comment -share -subscribe


***********************Subscribe Please********************


Watch video how to create LVM & how to add extra hard disk in Linux online without registration, duration hours minute second in high quality. This video was added by user Technical Skills Linux 21 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 590 once and liked it 9 people.