just came back to this a year later to finally learn for the exam. i am playing around with this on a desktop version of ubuntu 23.04 and it doesnt have lvm installed. i had to do sudo apt install lvm2 to start using it. - great content as always Shawn
Thanks for this Shawn. The trouble I always encounter with LVM is when extending the underlying PV (VMDK) and then resizing the whole group to reflect the bigger PV's. Also when you're modifying the LV that's in use for the root, when you need to reboot and when you can do it on the fly.
At the end when you say you want the physical volumes to be on a RAID device, do you mean before you start the pvcreate process that you would make the initial devices use RAID, or after you complete the process and have a logical volume then get another device to do raid on that?
been meaning to play with LVM for ages, this has give me the confidents to have a play with it thank you! - one thing how do you put a file system on it? so it can be used ?
So I’m looking at this like who would use this and what’s the benefit of doing this over raid? I see adding drives to build space to existing drive pools is super useful but if the the data isn’t redundant I find it hard to use this. I’ve never personally done this but I’m pretty sure if you’re running out of space on a raid (as long as right raid) you can pull existing drive and replace with a bigger drive which will rebuild drive data etc. I’m just not seeing a good instance where I’d use this over raid
@@zaxwrld to do that with raid you have to be down for hours maybe days depending on data size. Lvm you don't even have to rebuild the server. I maybe wrong here but am sure you can use hardware raid and then use lvm on top of that? I totally see your point.but again if you have a server running in a VM and need some extra space quicky it's ideal for that too with not needing to reboot
just came back to this a year later to finally learn for the exam. i am playing around with this on a desktop version of ubuntu 23.04 and it doesnt have lvm installed. i had to do sudo apt install lvm2 to start using it. - great content as always Shawn
Thank you so much for these videos! Great teaching skills and you clarify things so well. Thanks again!
Thanks for this Shawn. The trouble I always encounter with LVM is when extending the underlying PV (VMDK) and then resizing the whole group to reflect the bigger PV's. Also when you're modifying the LV that's in use for the root, when you need to reboot and when you can do it on the fly.
Yeah, as much as I love what LVM is -- I find I rarely actually *use* it myself...
thanks mr powers. these videos are amazing and im learning alot. mucho gracias
At the end when you say you want the physical volumes to be on a RAID device, do you mean before you start the pvcreate process that you would make the initial devices use RAID, or after you complete the process and have a logical volume then get another device to do raid on that?
In a virtual environment, does anyone make raid arrays or logical volumes?
I am a bit blocked here, how do you have so many block devices on one drives? Like I tried using a USB, but that's only 1 additional block device.
been meaning to play with LVM for ages, this has give me the confidents to have a play with it thank you! - one thing how do you put a file system on it? so it can be used ?
You put a filesystem on it just like an actual drive partition. So something like "sudo mkfs.ext4 /dev/vgname/lvname" should do the trick. :)
@@shawnp0wers Thank you shawn. i will try that shortly. thanks for the great content.
So I’m looking at this like who would use this and what’s the benefit of doing this over raid? I see adding drives to build space to existing drive pools is super useful but if the the data isn’t redundant I find it hard to use this. I’ve never personally done this but I’m pretty sure if you’re running out of space on a raid (as long as right raid) you can pull existing drive and replace with a bigger drive which will rebuild drive data etc.
I’m just not seeing a good instance where I’d use this over raid
@@zaxwrld to do that with raid you have to be down for hours maybe days depending on data size. Lvm you don't even have to rebuild the server. I maybe wrong here but am sure you can use hardware raid and then use lvm on top of that? I totally see your point.but again if you have a server running in a VM and need some extra space quicky it's ideal for that too with not needing to reboot
@@mason8714 I see your point, thanks
That u too much