Тёмный

What is LVM in Linux with Example in Hindi | MPrashant 

M Prashant
Подписаться 74 тыс.
Просмотров 61 тыс.
50% 1

#linux #linuxtutorial #mprashant #centos8 #lvm
Alright!
In this video I have covered,
What is LVM and it's example
Advantage of LVM
Possibilities of LVM
Real-time LVM Example
Adding New Space/disk using LVM
Extending the space using LVM
Creating a partition using fdisk command
Logical Volume Manager in Hindi
Linux LVM Tutorial in Hindi
In this video I will cover the usage of following Linux Commdands
fdisk -l
pvcreate
pvdisplay
vgcreate
vgextend
vgdisplay
lvcreate
lvextedn
lvdisplay
lvs
mount
mkfs
df -Th
------------------------------------------------------------------
Timelines
00:00 Intro
01:12 What is LVM?
01:50 Examples of LVM
02:42 LVM Structure Diagram
04:58 Advantage of LVM
05:30 Use Cases of LVM
06:30 Various Combinations of LVM components
07:46 How to add a disk using LVM?
08:53 Steps to add new disk using LVM
27:00 Extending a disk using LVM
-----------------------------------------------------------------------
NOTES
-----------------------------------------------------------------------
Steps of LVM for adding new space
Install a new Hard Disk drive
Make a partition to use it
Designate physical volume (PV)
Manage Volume Group (VG)
Manage Logical Volume (LV)
Apply a filesystem
Set a mount point
-----------------------------------------------------------------------
Steps for LVM
1. Install a new hard disk drive
2. Designate Physical Volumes (PV) so that it will be available to LVM as storage capacity.
Command to create a PV:
pvcreate /dev/sdb1
pvcreate /dev/sdc
The first command designates partition 1 on storage disk b as a PV.
The second command sets the total capacity of storage disk c as a PV.
Display PV capacity and additional information:
pvdisplay
3. Manage Volume Groups
Now we have created PV
We can create Volume Group (VGs)
A server can have multiple VG
A disk can be part of multiple VG
PV can only be member of one VG
VG must have at least one member (vg00 is our group name and others are our PVs)
vgcreate vg00 /dev/sdb1 /dev/sdc
To display information for a VG named vg00
vgdisplay vg00
4. Now it's time to manage Logical Volumes
VG can be subdivided into one or more LVs (lvcreate is the command)
lvcreate -L size(1G or 1T) -n lvname vgname
To display information for a LV
lvdisplay /dev/vg00/lvname
5. Now we have LV also, so we can now move with apply a filesytem and set a mount point.
- Run the mkfs.ex4 command on the LV.
- Create a mount point by using mkdir.
- Manually mount the volume using the mount command, or edit the /etc/fstab file to mount the volume automatically when the system boots.
- Use the df -h command to verify the storage capacity is available.
--------------------------------------------------------------------------------------------

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 154   
@mayuripatil962
@mayuripatil962 8 дней назад
Thankuu so much sir , kitne simple tarikese ap explain krte hai! really amazing❣
@MPrashant
@MPrashant 8 дней назад
Glad to liked it!!
@pratikshadhiman3114
@pratikshadhiman3114 Месяц назад
Thanks bhut acche se explain kiya
@rajatpundir701
@rajatpundir701 Год назад
your teaching is soo nice, i was struggling with this LVM concept but now i feel confident. thanks a lot
@MPrashant
@MPrashant Год назад
Glad to hear that!
@sumitgaikwad8492
@sumitgaikwad8492 7 месяцев назад
very good explain , thanks a lot of you😇
@tabrezahmad9295
@tabrezahmad9295 Год назад
Thanks sir kitne din se wait kar raha tha 🙏🙏
@MPrashant
@MPrashant Год назад
😀
@Harsh-yj9ly
@Harsh-yj9ly Год назад
Excellent Mr prashant , video was very impressive , cleared each and every dought
@MPrashant
@MPrashant Год назад
Thanks a ton!
@Ankit5434
@Ankit5434 Год назад
Your way of teaching is very well strucrtured , simple and easy to understand.. Please continue making more such useful videos !! :)
@MPrashant
@MPrashant Год назад
Thanks for sharing feedback!
@siddharajkarambe735
@siddharajkarambe735 8 дней назад
Thank you bro very well explained❤
@kamleshmishra3789
@kamleshmishra3789 6 месяцев назад
Thank you so much Prashant for this great content. your videos are really helpful.
@MPrashant
@MPrashant 6 месяцев назад
Glad you like them!
@Sunil-ek3cw
@Sunil-ek3cw Год назад
Really helpful thanks for making this video and also thanks for your hard work
@MPrashant
@MPrashant Год назад
Happy to help!
@sanketmhaske2706
@sanketmhaske2706 Год назад
Your explanation is very simple and to the point. Thank you bro 🙂
@MPrashant
@MPrashant Год назад
Glad it helped!
@akhileshprajapati8358
@akhileshprajapati8358 Год назад
Bro... How lucky I'm... I have just search for how to create lvm and guess what you have already dropped a video regarding lvm... Smile on my face
@MPrashant
@MPrashant Год назад
😃 hope it was easy to understand and helped you!
@akhileshprajapati8358
@akhileshprajapati8358 Год назад
@@MPrashant yes bro...
@Criminalwar
@Criminalwar Год назад
Excellent , I like the smart way of teaching !!!!!! share us more Linux updates
@MPrashant
@MPrashant Год назад
Thanks for the feedback!
@PoojaGupta-wq1gs
@PoojaGupta-wq1gs 10 месяцев назад
We'll done sir🎉 your videos very helpful for us. Keep share your experience and good knowledge.
@MPrashant
@MPrashant 10 месяцев назад
Keep watching and thanks for the feedback!
@MPrashant
@MPrashant Год назад
NOTE: In case you want to use entire disk space as single partition then you can directly create PV (you can skip the fdisk partition part) Added additional step of 'fdisk partition' for reference so that in case if you want multiple partition of a single disk for multiple Volume Group.
@pavanpavan8464
@pavanpavan8464 Год назад
Literally I don't know hindi bhai but the way of ur teaching makes me understand everything . ❤❤ thank you
@MPrashant
@MPrashant Год назад
Appreciate your effort for learning!
@ajinj2936
@ajinj2936 Год назад
Perfect video and clearly understandable compared to others
@MPrashant
@MPrashant Год назад
Thanks for the feedback!
@abhi5566
@abhi5566 2 месяца назад
Thank you sir, you teach complex topics very easy way
@MPrashant
@MPrashant 2 месяца назад
Glad you liked it.
@DipuSingh-zg3tt
@DipuSingh-zg3tt Год назад
realiiy helping me out these days
@MPrashant
@MPrashant Год назад
Glad to hear that!
@vilen7856
@vilen7856 5 месяцев назад
❤goat
@khyatimamaniya7155
@khyatimamaniya7155 5 месяцев назад
Amazing!
@MPrashant
@MPrashant 5 месяцев назад
Thanks for the feedback!!
@pradeephmkumar
@pradeephmkumar 5 месяцев назад
Thank you , You're Awesome
@MPrashant
@MPrashant 5 месяцев назад
You're welcome!
@harishbs3803
@harishbs3803 Год назад
can we use lvresize command and decrease/increase the size
@CodeBlows
@CodeBlows 9 месяцев назад
@MPrashant, I am facing issue in 25:13 i.e after (vi / etc/fstab) command. So can you help?
@mohitborse6018
@mohitborse6018 Год назад
good mornng sir thanks
@lakshayarora3935
@lakshayarora3935 Год назад
Awesome
@gajendrakadu29
@gajendrakadu29 Год назад
really helpful video, very simple language ,easy to understand. thanks
@MPrashant
@MPrashant Год назад
Glad it was helpful!
@gajendrakadu29
@gajendrakadu29 Год назад
@@MPrashant could you please suggest some point or video for linux job roles and responsibilities ,which will help me to put on CV.
@veriverithanam2867
@veriverithanam2867 Год назад
Plz include lv backup and restore
@faizanusmani2103
@faizanusmani2103 11 месяцев назад
Thanks sir
@JaskaranSingh-io8uj
@JaskaranSingh-io8uj 9 месяцев назад
THAANNNKK YOU WHAT A EXPLANATION TAHNK YOU SO MUCH BROOOOOOOO.............
@MPrashant
@MPrashant 9 месяцев назад
Glad you liked it 😀
@saikatbiswas4402
@saikatbiswas4402 Год назад
Great Man Nice Clear Tutorial.....
@MPrashant
@MPrashant Год назад
Glad you liked it!
@alokraj7935
@alokraj7935 Год назад
Prashant do we not require partprobe command to save it to the kernel? Just asking to remove my confusion
@justdoit532
@justdoit532 9 месяцев назад
Thank you si
@Iqbalsultan1553
@Iqbalsultan1553 Год назад
Prashant sir before extending vg what needs to be done?
@harishbs3803
@harishbs3803 Год назад
Hi King. you have dropped your 👑 always awesome
@MPrashant
@MPrashant Год назад
Thanks buddy!
@ashwinijitithor3206
@ashwinijitithor3206 5 месяцев назад
thank you bhai 💯
@MPrashant
@MPrashant 5 месяцев назад
Welcome!!
@kaustubhmavle8459
@kaustubhmavle8459 10 месяцев назад
@MPrashant, thank you for creating such dedicated and lucid video on LVM. I have learnt and understood a complex concept within such short time. Looking forward for more informative content.👍🏽👌🏽
@MPrashant
@MPrashant 9 месяцев назад
Glad it was helpful!
@user-ch6ff3ts5s
@user-ch6ff3ts5s 3 месяца назад
Seriously your explaining way is outstanding but i have a work for you kindly create a video on pcs cluster
@fayazmohammad1391
@fayazmohammad1391 Год назад
thankyou soooooo much ❤❤❤❤
@MPrashant
@MPrashant Год назад
You're welcome 😊
@Md_Ehtesham.
@Md_Ehtesham. Год назад
All of your videos are great. Please make a video on allowing ports in firewall for incoming traffic.
@MPrashant
@MPrashant Год назад
Thanks for the feedback! Will try to make one
@tabrezahmad6633
@tabrezahmad6633 Год назад
Sir in fstab 6 tab is there whats mean of 0 0 pls tell 🙏
@SagarKumar-lv6wq
@SagarKumar-lv6wq 6 месяцев назад
awesome teaching
@MPrashant
@MPrashant 6 месяцев назад
Glad you think so!
@AshishSingh-pf1vp
@AshishSingh-pf1vp 8 месяцев назад
Sir when we go for output of df -Th command, sometimes it get hanged. There could be multiple reasons in Prod Environment like NFS issue & more. Please throw some light on this command
@mayanksharma-rk8hz
@mayanksharma-rk8hz 9 месяцев назад
@Prashant first of all thanks for this lecture I have one doubt like you have show one case to increase or extend but in case we have to decrease
@mushtaqueshaikh8963
@mushtaqueshaikh8963 Год назад
Thanks for this video. I have one doubt there are 3 types of lvm…. Why it is not in the video ? Please reply
@user-qv7cd4ik7c
@user-qv7cd4ik7c 4 месяца назад
Nice explain. Please Partitions and Swap partitions this topic explain.
@anilbangera1
@anilbangera1 Год назад
Excellent
@MPrashant
@MPrashant Год назад
Thank you! Cheers!
@Criminalwar
@Criminalwar Год назад
Hello Prashant , How can I prepare for RHEL 9 Certification exams . Currently all the interviewer are asking for certifications.
@clarityamazon9220
@clarityamazon9220 Год назад
Thanks Dear
@MPrashant
@MPrashant Год назад
Welcome!
@supertalentedkids8228
@supertalentedkids8228 5 месяцев назад
Good explanation for LVM..
@MPrashant
@MPrashant 4 месяца назад
Thanks for the feedback!
@AbhishekSharma-ep9km
@AbhishekSharma-ep9km Год назад
Very nice way of teaching sir , I am aslo working as Unix/Linux admin but the way u explain is awsm 🙌
@MPrashant
@MPrashant Год назад
Thanks for liking!
@shamabano8144
@shamabano8144 9 месяцев назад
kbse ye job kr rhe aap?
@Itlife522
@Itlife522 Год назад
Bro you have a unique teaching skill
@MPrashant
@MPrashant Год назад
I appreciate that!
@akhileshprajapati8358
@akhileshprajapati8358 Год назад
Hey Prashant waiting for ur video on Ansible and docker... Now every recruiter wants this skills in the employee... Hope you will publish it soon...
@MPrashant
@MPrashant Год назад
I will try my best!
@nobitagaminglite2150
@nobitagaminglite2150 Год назад
One of the best channel
@MPrashant
@MPrashant Год назад
Thank You!
@dhirajubhalkar6361
@dhirajubhalkar6361 Год назад
Dear Prashant, Please make a video on Linux cluster.
@itzizag2280
@itzizag2280 Год назад
Sir can we increase root volume or can we add another LVM disk in root volume with help of lvextend. Or how many way to increase it. kindly guide me. and Thank you so much for your efforts.
@pankajpatil9966
@pankajpatil9966 2 месяца назад
Can you please provide detail video on linux memory management topic??
@tahirm09
@tahirm09 Год назад
excellent
@MPrashant
@MPrashant Год назад
Thanks!
@brokenchains69
@brokenchains69 9 месяцев назад
@MPrashant, this video was very well made, reflects your in-depth knowledge of the subject matter. Which leads me to ask you this question, How did you acquire such expertise, any book or any other resource, I want to also gain deeper knowledge of linux system networking and storage administration. Can you please point me in the right direction .
@MPrashant
@MPrashant 9 месяцев назад
Thanks for the feedback! I rely on official documentation of each topic and including understanding that topic from multiple resources (online, google, youtube etc) and ofcourse practice :)
@DevOps_Zone
@DevOps_Zone Год назад
sir pls make complete rhel 9 video
@poojasreedas7050
@poojasreedas7050 Год назад
Make video on patching activities and incident handling if possible
@Unknown-rh5jh
@Unknown-rh5jh Год назад
Good
@MPrashant
@MPrashant Год назад
Thanks!
@user-ch6ff3ts5s
@user-ch6ff3ts5s 3 месяца назад
kindly Create a video on Grafana 😅 there are many RU-vid channels but no one explain like you and I have already seen many videos on Grafana but the information given there is incomplete. just because I'm requesting to you.
@MPrashant
@MPrashant 2 месяца назад
added in my list, will try
@user-zr1pj5rz3c
@user-zr1pj5rz3c 7 месяцев назад
i like you 👍
@tabrezahmad6633
@tabrezahmad6633 Год назад
Sir ek request hai aapse pls make video on Server monitoring and helath checka dn disk utilizagion ratio check kaise kqre everytime interview tbey askung
@MPrashant
@MPrashant Год назад
I will try to cover it.
@rishiraj2548
@rishiraj2548 Год назад
🙏🙏
@ashishsaket2911
@ashishsaket2911 Год назад
Mount command kya batata hai dir
@prathameshgodse5435
@prathameshgodse5435 Год назад
Bhai dns server pai video plz
@sauddalvi6650
@sauddalvi6650 11 месяцев назад
@MPrashant sir dhcp pe banalo ek lecture pls #req
@paragshegulwadkar9622
@paragshegulwadkar9622 11 месяцев назад
Hii Prashant , thanks for this video, may I know what is difference between -L & -l (small -l) in lvcreate command?? please let us know
@ilyasshaikh5944
@ilyasshaikh5944 8 месяцев назад
-L for specific size , -l you can specify % like 100%
@kirnadevi1380
@kirnadevi1380 Месяц назад
very good beta
@sauddalvi6650
@sauddalvi6650 11 месяцев назад
#@MPrashant sir dhcp pe banalo ek lecture pls #req
@veriverithanam2867
@veriverithanam2867 Год назад
We can create pv directly from scanning the disc right?I'm a bit confused why to create a partition and then coming to pv create Can anyone explain
@MPrashant
@MPrashant Год назад
Yes in case you want to use entire disk space as single partition then you can directly create PV
@MPrashant
@MPrashant Год назад
In practical cases, mostly you will have only one single hard disk and you might need to do partitions for better usage. In that case 'fdisk' can be helpful.
@sauddalvi6650
@sauddalvi6650 11 месяцев назад
#MPrashant sir dhcp pe banalo ek vedio
@MohitKumar-rv5hz
@MohitKumar-rv5hz Год назад
Good evening sir
@MPrashant
@MPrashant Год назад
Good evening!
@manojkakde6476
@manojkakde6476 Год назад
Please sir can you upload video on user and group management
@MPrashant
@MPrashant Год назад
soon
@ujjawal_
@ujjawal_ Год назад
Sir I replaced my Os with Ubuntu 20.04 in excitement but now I'm finding it very tough and scary, What to do now.
@MPrashant
@MPrashant Год назад
Once you start learning Linux it will be fun using it, and very useful too in the IT industry
@amolnitnaware2238
@amolnitnaware2238 Год назад
Please how to make a user, group, multiple user Please make a video Question answer
@rajdeepbhosale7360
@rajdeepbhosale7360 Год назад
Please try to upload lecture on MySQL database
@MPrashant
@MPrashant Год назад
Very soon.
@anmolgupta971
@anmolgupta971 Год назад
How can we copy and paste the commands like he did? Can anyone please help?
@MPrashant
@MPrashant Год назад
In terminal like putty, when you select something with mouse, it is already copied. To paste, you can just right-click on mouse OR Shift+Insert
@anmolgupta971
@anmolgupta971 Год назад
@@MPrashant thanks a lot
@manojkakde6476
@manojkakde6476 Год назад
Sir please upload troubleshooting series
@MPrashant
@MPrashant Год назад
Working on it, will be uploading soon.
@kafilbbs00
@kafilbbs00 Год назад
I am searching for linux jobs and watching your videos for long time.. please suggest for searching job in Linux
@MPrashant
@MPrashant Год назад
I will try making video on this
@AbdultalibShiekh
@AbdultalibShiekh Год назад
Sir background ka or font ka color kaise change kre
@MPrashant
@MPrashant Год назад
You can try using different terminal like Windows cmd, Git bash etc
@AbdultalibShiekh
@AbdultalibShiekh Год назад
@@MPrashant sir i am using aws Login console to practice linux machine using putty gen
@chidiyacartoon4222
@chidiyacartoon4222 Год назад
sir thodi problem ho rahi mujhe samajhne me ye part
@amolnitnaware2238
@amolnitnaware2238 Год назад
How to file transfer linux to windows and windows to linux Please 🙏🙏🙏 Make a video Question answer.
@MPrashant
@MPrashant Год назад
soon
@user-zr1pj5rz3c
@user-zr1pj5rz3c 7 месяцев назад
sir ap k pass kon ha centos7 centos 8
@MPrashant
@MPrashant 7 месяцев назад
I was using Centos8 and now using Redhat9
@aarav.14gaming33
@aarav.14gaming33 10 месяцев назад
Hi sir I want to join
@lalitrao9897
@lalitrao9897 Год назад
Hi sir, how we can connect with you for training. 🖐🖐🖐🖐🖐
@MPrashant
@MPrashant Год назад
Hello Lalit, I don't take classes or paid training as of now outside of this YT channel. Rest assured, you will be getting more useful content here.
@lalitrao9897
@lalitrao9897 Год назад
Thanks
@AbhishekGupta-ir6ly
@AbhishekGupta-ir6ly 7 месяцев назад
please make pdf available you use in the videos
@manojkakde6476
@manojkakde6476 Год назад
Please upload booting process in Linux
@MPrashant
@MPrashant Год назад
Will try soon
@manojkakde6476
@manojkakde6476 Год назад
Thanks sir
@justdoit532
@justdoit532 9 месяцев назад
Backup & Restoration
@nareshtalari6482
@nareshtalari6482 Год назад
Could you please explain in English Bcz we don't know Hindi
@MPrashant
@MPrashant Год назад
I can try but it's bit hard to maintain two channels... will subtitles work?
@shrikantpatil194
@shrikantpatil194 Год назад
Далее
Linux FIREWALL - firewalld service, rules | MPrashant
37:29
They got a Golden Buzzer 🤣✨
00:46
Просмотров 24 млн
100+ Linux Things you Need to Know
12:23
Просмотров 852 тыс.
Linux LogRotate with Example [HINDI] | MPrashant
22:00