Home Office PHP Web Server : HD Configuration

techlists at phpcoderusa.com techlists at phpcoderusa.com
Mon May 31 08:27:16 MST 2021


Thanks Michael and Matt,

<scroll>

On 2021-05-27 17:33, Matt Graham via PLUG-discuss wrote:
> On 2021-05-26 17:32, Michael Butash via PLUG-discuss wrote:
>> On Wed, May 26, 2021 at 2:24 PM Keith Smith via PLUG-discuss
>>> I am running a 250GB SSD. It will be entirely dedicated to the 
>>> server.
>>> In reading the docs there is an option of using the entire disk for 
>>> LVM
>>> and there will be two partitions, one for /boot and one for 
>>> everything
>>> else.
> 
> This is overkill unless you're going to be adding another disk at some
> point or constantly making and destroying LVs.  With a disk that
> small, it'd be totally fine to have an EFI partition of about 256M and
> a / partition taking up the rest of the space.
> 
>> I run everything through LVM after about the second time I crashed my
>> root partition on plain ext2 by filling it entirely, at least probably
>> 10-12 years now.  LVM2 doesn't crash it like that even if filled, or
>> cause a full fsck of fscking time and other weird catastrophic
> 
> ext3 was in the vanilla kernel in Nov. 2001 and rapidly became
> available and really well-tested.  SuSE was heavily pushing ReiserFS,
> so I was using that for a while, but I went ext3 in 2004 or 2005.
> ext2 in 2009?
> 
>> I'd love to hear reasons not to use lvm, as it's dated,
> 
> You hear "dated", I hear "has had a lot of people banging on it for a
> long time, so all the major and most of the minor bugs are fixed".
> The main reason not to use LVM is dual booting, as nothing but Linux
> can read LVM.  With things like laptops, where you've usually only got
> 1 disk, there's little benefit to LVM.

I am running a single disk for now.  I have two spinners however I 
replaced them with an SSD.

I think the default install is LVM.

You say "where you've usually only got 1 disk, there's little benefit to 
LVM."  Please expand on that a little more.

> 
>> and looked at things like zfs and btrfs to replace 1)
>> raid, 2) encryption. and 3) logical volumes, but without these all
>> wasn't really an option.  Curious if anyone's using any one native
>> solution for all three yet.  Using mdraid+luks+lvm+ext4 is still my
>> general go-to.
> 
> btrfs and zfs try to do too much in the same place and suffer for it.
> md has proven itself in the field, and LVM is filesystem-agnostic so
> if you want to run something other than ext4, you could.
> 
> --
> Crow202 Blog: http://crow202.org/wordpress
> There is no Darkness in Eternity
> But only Light too dim for us to see.
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list