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


Groups > linux.debian.user > #202106

Re: Recommendation on partition sizes

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Recommendation on partition sizes
Date 2018-11-04 17:30 +0100
Message-ID <wQtrH-Zf-3@gated-at.bofh.it> (permalink)
References <wQhgR-2aK-3@gated-at.bofh.it> <wQhgR-2aK-1@gated-at.bofh.it> <wQiwh-2PA-3@gated-at.bofh.it> <wQsOZ-xe-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 04/11/2018 à 16:45, Stefan Monnier a écrit :
> Andy Smith <andy@strugglers.net> writes:
> 
>> Seems excessive. Without service-specific data or /var, my servers
>> generally use under 2GiB for /, so dedicating 40GiB to it is likely
>> to be wasteful.

IMO on a server setup service specific data should be stored in a 
separate filesystem mounted on /srv, not in the / filesystem.

> I use LVM volumes for my swap space, which is yet another option, one
> that can be grown and shrunk easily, online.

You can resize a logical volume online, but AFAIK you cannot resize a 
swap area online (while in use) ; you must disable it (i.e. reload its 
contents back into memory), re-create it with the new size and re-enable 
it. Not an option when the swap space is filling up and you quickly need 
to add some more. Fortunately LVM allows to easily create a new volume 
for extra swap.

> One of the benefits [of LVM] also is that you get to *name* your
> volumes, so you don't need to mess with meaningless UUIDs.

And please, folks, don't :
- give meaningless names such as vg1, vg2, lv1, lv2... to your VGs and LVs ;
- add affixes such as "vg" or "lv" to your VG and LV names. This 
produces ugly device names and is really not needed. You already know 
they are VG or LV names.

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


Thread

Recommendation on partition sizes D&P Dimov <lddimov@yahoo.com> - 2018-11-04 04:30 +0100
  Re: Recommendation on partition sizes Andy Smith <andy@strugglers.net> - 2018-11-04 05:50 +0100
    Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 10:30 +0100
      Re: Recommendation on partition sizes Andy Smith <andy@strugglers.net> - 2018-11-04 14:00 +0100
        Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 14:40 +0100
          Re: Recommendation on partition sizes Andy Smith <andy@strugglers.net> - 2018-11-04 14:50 +0100
            Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 16:00 +0100
      Re: Recommendation on partition sizes Rick Thomas <rbthomas@pobox.com> - 2018-11-05 09:20 +0100
        Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-05 19:50 +0100
    Re: Recommendation on partition sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-04 16:50 +0100
      Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 17:30 +0100
        Re: Recommendation on partition sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-04 21:00 +0100
          Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 23:30 +0100
            Re: Recommendation on partition sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-05 00:20 +0100
              Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-05 20:20 +0100
            Re: Recommendation on partition sizes Curt <curty@free.fr> - 2018-11-05 09:40 +0100
              Re: Recommendation on partition sizes Michael Stone <mstone@debian.org> - 2018-11-05 16:20 +0100
              Re: Recommendation on partition sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-06 15:10 +0100
                Re: Recommendation on partition sizes Michael Stone <mstone@debian.org> - 2018-11-06 16:20 +0100
      Re: Recommendation on partition sizes Michael Stone <mstone@debian.org> - 2018-11-04 17:40 +0100
  Re: Recommendation on partition sizes David Christensen <dpchrist@holgerdanske.com> - 2018-11-04 08:40 +0100
    Re: Recommendation on partition sizes Michael Stone <mstone@debian.org> - 2018-11-04 15:10 +0100
  Re: Recommendation on partition sizes Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-11-04 10:30 +0100

csiph-web