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


Groups > linux.debian.user > #241196

Re: New debian installation disk partition

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: New debian installation disk partition
Date 2021-10-11 16:20 +0200
Message-ID <D74jM-3ko-3@gated-at.bofh.it> (permalink)
References <D71vz-1xl-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Josef,

On Mon, Oct 11, 2021 at 01:18:55PM +0200, Josef Strýček wrote:
> I have a question how to partition new debain installation.I have 64GB ssd
> and 500GB hdd. Can I have / on ssd with ext4 and hdd with btrfs /hame /var 

Of course.

> /tmp /opt. Could you recommend layout for ssd and hdd, that ssd is not
> overwritten unnecessarily and ideal filesystem for ssd and hdd.

You've asked questions which are largely down to taste so you will
get a lot of different answers.

I would use "manual layout" in the installer to ensure I got exactly
what I wanted.

I would use whatever filesystems I wanted and not care about SSD
writes unless it's an ancient SSD or a truly exceptional use case.

For most uses /tmp is best left as a tmpfs (memory-backed) and /opt
starts off empty. If you think you're going to use /opt then you
must have some idea what you're going to put into it.

I would put a 1G or so swap partition on HDD and then dedicate whole
rest of the HDD to either btrfs or to LVM, in both cases for the
purposes of volume management. That way if your initial guesses for
sizing are incorrect you can easily change them and/or switch things
into btrfs subvolumes or LVM logical volumes later on.

But to be honest, SSD is life changing compared to HDD so I'd want
to put everything on SSD as long as it fits. I am a big lover of
redundancy so the lack of matched pairs of storage worries me, but
assuming that can't be changed I think I would use say the first
5GiB of SSD for / and then the rest as either btrfs or LVM again for
volume management.

I'd then create subvolumes or logical volumes for /home and /var and
initially have them on the SSD for speed. I'd move them into the
btrfs/LVM on the HDD only if you began to run out of SSD space.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

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


Thread

New debian installation disk partition Josef Strýček <josef.strycek@email.cz> - 2021-10-11 13:20 +0200
  Re: New debian installation disk partition "Andrew M.A. Cater" <amacater@einval.com> - 2021-10-11 13:50 +0200
  Re: New debian installation disk partition Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-11 14:00 +0200
  Re: New debian installation disk partition Andy Smith <andy@strugglers.net> - 2021-10-11 16:20 +0200
  Re: New debian installation disk partition David Christensen <dpchrist@holgerdanske.com> - 2021-10-11 21:40 +0200
    Re: New debian installation disk partition Joe <joe@jretrading.com> - 2021-10-11 22:20 +0200
      Re: New debian installation disk partition David Christensen <dpchrist@holgerdanske.com> - 2021-10-11 23:10 +0200
        Re: New debian installation disk partition Joe <joe@jretrading.com> - 2021-10-12 13:10 +0200
    Re: New debian installation disk partition Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-11 22:40 +0200
      Re: New debian installation disk partition David Christensen <dpchrist@holgerdanske.com> - 2021-10-11 23:00 +0200
        Re: New debian installation disk partition Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-12 09:00 +0200
          Re: New debian installation disk partition David Christensen <dpchrist@holgerdanske.com> - 2021-10-12 09:10 +0200
            Re: New debian installation disk partition Andrei POPESCU <andreimpopescu@gmail.com> - 2021-10-13 06:50 +0200
              Re: New debian installation disk partition David Christensen <dpchrist@holgerdanske.com> - 2021-10-13 19:50 +0200

csiph-web