@scottalanmiller said in SAMIT: Should You Still Be Using Disk Partitions:
@Pete-S said in SAMIT: Should You Still Be Using Disk Partitions:
Well, if you extend the definition of lvm then everything is using it
Everything should be using it, it's the only really logical approach in the modern world. The idea of hard partitions should have died long ago. But we saw people using it just today in an example, it's still out there in a lot of servers.
If you skip the LVM layer entirely today, you'd feel it. You'd lack snapshots, ability to resize (within reason), and all the flexibility we expect.
I know it seems weird to think about, but if you look at how LVM2, ZFS, a PERC and Qcow2 works... it's all identical under the hood. But it is all different from partitions, but the same as each other.
I think the only thing that makes it feel like these might not all be LVMs is that one of them used the name LVM2 23 years ago, and the others did not. In the Windows world they called their LVM "dynamic disks". Only on Linux and AIX did their LVM layer get called LVM or LVM-something. Everyone else gave it a product name rather than the category name.
In that case physical drives are using lvm too.
Mechanical disks can remap their logical sectors to physical sectors. SSDs even more so. And NVMe drives have namespaces which maps logical blocks into different independent "drives".