<div dir="ltr"><div>I would disagree there is little benefit to using lvm with a single disk, unless you only use it as a raid mechanism, which I don't. Otherwise, I tend to compartmentalize my os for root, var, var/log, home, usr, and others, but occasionally I need to grow them over time, even adding another disparate disk to the system. LVM lets me do this where I cannot with a base ext partition. Also filling a bare root ext partition tends to fsck up the os royally, sometimes fsck is help in recovering, or not. Never had this again switching to using lvm for everything.<br></div><div><br></div><div>Last time I built my laptop with arch, I was bent on using ZFS, but arch and maybe linux in general couldn't boot off an encrypted volume still. BTRFS not sure currently, but it always seems a bit sketchy anyways. Years later, I'd love to know if this works yet.<br></div><div><br></div><div>End of the day, I need 1) raid, 2) encryption, 3) volume management/scaling, and 4) ssd features to keep them alive. I use only samsung disks that tend to do their own auto-leveling as I have found other SSD's entirely unreliable when layering said requirements currently with mdraid/luks/lvm/ext. Samsung seems to nail it for longevity, though my laptop currently uses only a single toshiba m2 ssd and has been working fine for almost 5 years. Maybe *other* vendors have finally copied them, but I simply don't even consider non-samsung drives these days.</div><div><br></div><div>ZFS seems the long-term ideal to replace mdraid/luks/lvm/ext all in one, maybe BTRFS, but curious if anyone's figured it out yet. Probably wait for a new desktop/laptop to try this.</div><div><br></div><div>-mb</div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 31, 2021 at 8:27 AM Keith Smith via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Thanks Michael and Matt,<br>
<br>
<scroll><br>
<br>
On 2021-05-27 17:33, Matt Graham via PLUG-discuss wrote:<br>
> On 2021-05-26 17:32, Michael Butash via PLUG-discuss wrote:<br>
>> On Wed, May 26, 2021 at 2:24 PM Keith Smith via PLUG-discuss<br>
>>> I am running a 250GB SSD. It will be entirely dedicated to the <br>
>>> server.<br>
>>> In reading the docs there is an option of using the entire disk for <br>
>>> LVM<br>
>>> and there will be two partitions, one for /boot and one for <br>
>>> everything<br>
>>> else.<br>
> <br>
> This is overkill unless you're going to be adding another disk at some<br>
> point or constantly making and destroying LVs. With a disk that<br>
> small, it'd be totally fine to have an EFI partition of about 256M and<br>
> a / partition taking up the rest of the space.<br>
> <br>
>> I run everything through LVM after about the second time I crashed my<br>
>> root partition on plain ext2 by filling it entirely, at least probably<br>
>> 10-12 years now. LVM2 doesn't crash it like that even if filled, or<br>
>> cause a full fsck of fscking time and other weird catastrophic<br>
> <br>
> ext3 was in the vanilla kernel in Nov. 2001 and rapidly became<br>
> available and really well-tested. SuSE was heavily pushing ReiserFS,<br>
> so I was using that for a while, but I went ext3 in 2004 or 2005.<br>
> ext2 in 2009?<br>
> <br>
>> I'd love to hear reasons not to use lvm, as it's dated,<br>
> <br>
> You hear "dated", I hear "has had a lot of people banging on it for a<br>
> long time, so all the major and most of the minor bugs are fixed".<br>
> The main reason not to use LVM is dual booting, as nothing but Linux<br>
> can read LVM. With things like laptops, where you've usually only got<br>
> 1 disk, there's little benefit to LVM.<br>
<br>
I am running a single disk for now. I have two spinners however I <br>
replaced them with an SSD.<br>
<br>
I think the default install is LVM.<br>
<br>
You say "where you've usually only got 1 disk, there's little benefit to <br>
LVM." Please expand on that a little more.<br>
<br>
> <br>
>> and looked at things like zfs and btrfs to replace 1)<br>
>> raid, 2) encryption. and 3) logical volumes, but without these all<br>
>> wasn't really an option. Curious if anyone's using any one native<br>
>> solution for all three yet. Using mdraid+luks+lvm+ext4 is still my<br>
>> general go-to.<br>
> <br>
> btrfs and zfs try to do too much in the same place and suffer for it.<br>
> md has proven itself in the field, and LVM is filesystem-agnostic so<br>
> if you want to run something other than ext4, you could.<br>
> <br>
> --<br>
> Crow202 Blog: <a href="http://crow202.org/wordpress" rel="noreferrer" target="_blank">http://crow202.org/wordpress</a><br>
> There is no Darkness in Eternity<br>
> But only Light too dim for us to see.<br>
> ---------------------------------------------------<br>
> PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
> To subscribe, unsubscribe, or to change your mail settings:<br>
> <a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>