Out of Space
Gene Heskett
gheskett at shentel.net
Sun Aug 7 10:47:52 UTC 2016
On Saturday 06 August 2016 15:06:17 Ralf Mardorf wrote:
> On Sat, 6 Aug 2016 20:01:21 +0200, Liam Proven wrote:
> >/dev/sda1 ... /boot ... 2GB
>
> I would add /boot to / and don't give it its own partition, so
> required space is automatically allocated, if needed.
I disagree with that advice Ralf. I have had a newer kernel just
installed, to be located far enough into the disk that the bios could
not reach it to boot it.
Because of that, I have had to redo the default partitioning so as to
have a separate /boot partition of a bit over 1Gb.
And make sure that when done, before pressing enter, that it is the FIRST
partition. I have had installers (including ubuntu's) re-arrange the
partition list on me several times. Bad dog, no biscuit...
> >/dev/sda2 ... extended... all remaining space
> >/dev/sda5 ... /home ... *inside* /dev/sda2 ... all remaining space
>
> I don't use a separated /home partition either, but nothing is
> speaking against giving /home it's own partition. Some people consider
> that having /home on its own partition, as being an advantage, so this
> is ok.
>
> _But_ just formatting one primary partition is a bad habit, since some
> operating systems, e.g. FreeBSD require a primary partition and you
> never know, if you one day might want to test such an operating
> system.
>
> So format your drives like this
>
> /dev/sda1 primary
> /dev/sda2 primary
> /dev/sda3 primary
> /dev/sda4 extended
> /dev/sda5
> /dev/sdan
>
> /dev/sdb1 primary
> /dev/sdb2 primary
> /dev/sdb3 primary
> /dev/sdb4 extended
> /dev/sdb5
> /dev/sdan
>
> n is for as much partitions you like. However, don't make the
> partitions to small. Format all partitions to ext4, but format one
> partition on each HDD as a Linux swap. While all ext4 partitions
> should be around <= 20 to >= 60 GiB (sure, it depends on the size of
> your HDDs ;), so you might not want to have that much partitions), the
> two swaps should be as large as the RAM of your computer, to be able
> to suspend to disk,without the need to care about the compression.
>
> IOW each HDD should have it's own swap and assuming you've enough
> space, three primary partitions.
> Use one large partition for /, including /boot, don't split it.
>
> Use another large partition for /home, but also consider to have a
> partition for special data, e.g. videos, documents, virtual machines
> etc. (IMO you not necessarily need a separated /home).
>
> For performance reasons it could be an advantage to have /home and
> data partitions on one HDD and / on the other. You also could make
> "backups" (quotation marks, because a backup should be made on an
> external drive) in the future from sda to sdb and from sdb to sda, so
> assumed one drive should fail, the other drive still contains its
> content.
>
> 2 Cents,
> Ralf
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the ubuntu-users
mailing list