Am I the only person who does not see the benefit of using LVM on a Virtual Machine?
It makes somewhat sense on a physical machine, but not on a VM in my world.
Am I the only person who does not see the benefit of using LVM on a Virtual Machine?
It makes somewhat sense on a physical machine, but not on a VM in my world.
You can make a snapshot of a VM
Ah I have touched AWS a couple of times and I hated every minute of it.
Yeah, then I understand
@selea I'd say it depends on the type of VM.
If it's a throwaway-and-rebuild-on-change machine, LVM is irrelevant.
If it's a VM that's aging like fine wine and I can't just rebuild it within 5 minutes, I'll probably be happy if I use LVM at some point, even if it's just saving me a reboot to resize a mounted partition that's in use.
That's why my VMs still get LVM by default, unless I've already designed the rebuild machinery.
@selea that's news to me, I remember messages from the linux kernel after partprobe -s refusing to reload a partition table because one of the partitions is in use.
If that's changed now, great...
Every those that is being in use
You actually can resize the partition without rebooting and/or using LVM :)
Basically, after adding the extra storage in our hypervisor, you need to perform a rescan of the disk:
echo 1 > /sys/class/block/sda/device/rescan
Then you can resize it with tools like "cfdisk". And what that is done - resize the filesystem with
resize2fs -p /dev/sda1
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.