Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226069

Re: Are the assigned capacities sufficient for my setup?

From Daniel Barclay <danielbarclay.oss@gmail.com>
Newsgroups linux.debian.user
Subject Re: Are the assigned capacities sufficient for my setup?
Date 2020-08-10 17:50 +0200
Message-ID <ACidH-7VA-1@gated-at.bofh.it> (permalink)
References <AxFaV-7V4-3@gated-at.bofh.it> <AxFaV-7V4-1@gated-at.bofh.it> <AxUMG-qu-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


gajuph4pre@yahoo,

Andy Smith wrote:
> Hello,
> 
> On Tue, Jul 28, 2020 at 08:53:57PM +0000, gajuph4pre@yahoo.com wrote:
>> I have manually partitioned my hard disk drive as follows:
>>
>> /boot is assigned 200MB
>> /root is assigned 10GB
>> /swap is assigned 20GB
>> /home is assigned 35GB
>> /var is assigned 10GB
>> /usr is assigned 5GB
>> /usr-local is assigned 5GB
>> /opt is assigned 5GB
>> /srv is assigned 5GB
> 
> This is a terrible idea. It's near impossible to predict how your
> usage will evolve so almost certainly one or more of these will fill
> while others remain near empty.
> 
> If you want to do this, use LVM and pick minimal capacities for all

Definitely.  If you really want to have separate file systems for all
those mount points (and maybe even if you only have a few separate ones),
use LVM.

Instead of having your mount points' file systems directly on real disk
partitions, which are harder to re-size, sometimes needing time-consuming
copying to empty space on a disk, you'd have your file systems on
virtual partitions (LVM logical volumes) that can be re-sized easily.
(LVM uses the real disk partitions as LVM physical volumes, from which
space can be allocated to the LVM logical volumes.


One suggestion:  When you set things up, learn how to extend a logical
volume and enlarge its contained file system and then write down
instructions/reminders for yourself.  When you run out of space in some
file system in the middle of doing something else (likely months down the
road), you probably won't remember the LVM details you haven't thought
about since you set things up.

(I have my file systems set up on LVM logical volumes, the LVM physical
volumes set up on RAID arrays, and the RAID arrays set up on pairs of
partitions on my two disks.  Having detailed instructions, for, e.g.,
enlarging a file system and for replacing a failed disk, already written
down saved a lot of time and headaches and avoided mistakes.)


Daniel




> the above, leaving the majority unallocated. You can then grow
> logical volumes as needed and the problem goes away.
> 
> Cheers,
> Andy
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-28 23:20 +0200
  Re: Are the assigned capacities sufficient for my setup? Roberto C. Sánchez <roberto@debian.org> - 2020-07-28 23:30 +0200
  Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-28 23:30 +0200
    Re: Are the assigned capacities sufficient for my setup? Andrew Cater <amacater@gmail.com> - 2020-07-29 00:00 +0200
      Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-29 00:30 +0200
        Re: Are the assigned capacities sufficient for my setup? Andrew Cater <amacater@gmail.com> - 2020-07-29 00:50 +0200
          Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 01:40 +0200
          Re: Are the assigned capacities sufficient for my setup? Keith Bainbridge <ke1th3216@gmail.com> - 2020-07-29 03:30 +0200
        Re: Are the assigned capacities sufficient for my setup? Keith bainbridge <keithrbau@gmail.com> - 2020-07-29 02:30 +0200
      Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 01:40 +0200
    Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 01:40 +0200
      Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-29 03:40 +0200
        Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 05:30 +0200
          Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-29 13:40 +0200
            Re: Are the assigned capacities sufficient for my setup? Andrew Cater <amacater@gmail.com> - 2020-07-29 13:50 +0200
              Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 15:50 +0200
                Re: Are the assigned capacities sufficient for my setup? Hans <hans.ullrich@loop.de> - 2020-07-29 16:00 +0200
            Re: Are the assigned capacities sufficient for my setup? rhkramer@gmail.com - 2020-07-29 14:40 +0200
            Re: Are the assigned capacities sufficient for my setup? rhkramer@gmail.com - 2020-07-29 14:40 +0200
    Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 01:40 +0200
      Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-29 03:50 +0200
        Re: Are the assigned capacities sufficient for my setup? "gajuph4pre@yahoo.com" <gajuph4pre@yahoo.com> - 2020-07-29 05:40 +0200
          Re: Are the assigned capacities sufficient for my setup? Dan Ritter <dsr@randomstring.org> - 2020-07-29 14:10 +0200
  Re: Are the assigned capacities sufficient for my setup? David Christensen <dpchrist@holgerdanske.com> - 2020-07-29 08:20 +0200
  Re: Are the assigned capacities sufficient for my setup? Andy Smith <andy@strugglers.net> - 2020-07-29 16:00 +0200
    Re: Are the assigned capacities sufficient for my setup? Daniel Barclay <danielbarclay.oss@gmail.com> - 2020-08-10 17:50 +0200
  Re: Are the assigned capacities sufficient for my setup? Henning Follmann <hfollmann@itcfollmann.com> - 2020-07-29 17:30 +0200
    Re: Are the assigned capacities sufficient for my setup? Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-30 08:20 +0200

csiph-web