[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Are the assigned capacities sufficient for my setup?



Hi Dan,

Thanks for your recommendations.

My hard disk drive is used to dual boot Microsoft Windows with Debian. Secure Boot is enabled in the BIOS.

I assigned 100GB for Debian 10.4.

About your statement: "You don't need a separate /boot unless you're running an odd filesystem for root."

I don't want Debian to install the Grub bootloader onto the space occupied by Windows bootloader. I had an unpleasant experience when I installed Microsoft Windows 10 first followed by Debian Buster. I was unable to boot into Microsoft Windows OS. That's why I dedicated a discreet partition for Debian called /boot.

For your information, I use GPT (GUID Partition Table) on UEFI firmware. MBR and legacy BIOS are behind me now.

Based on your recommendations, I only need the partitions named below:

/root
/home
/swap
(optional) /var

May I know why you provision 100GB of disk space to the root partition?

Regards.

Alan




On Wednesday, July 29, 2020, 5:22:46 AM GMT+8, Dan Ritter <dsr@randomstring.org> wrote: 





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
> 
> In terms of capacity, which of the above partitions are over-provisioned?
> 

All of them, none of them. These are the sorts of hard
assignments I expect from the UNIX Systems Administrator
Handbook, circa 1997 and Solaris.

My recommendation:

/      100 GB
/home  100 GB
swap 1 GB
optionally, /var 20 GB.

You don't need a separate /boot unless you're running an odd
filesystem for root.

You don't need more swap than 1 GB because any use of swap after
the kernel settles things down (say, ten minutes after boot)
means that you need more RAM. And you don't really need more

RAM.


You don't need a separate /usr or /usr/local or /opt or /srv
under any conditions. That differentiation comes from a time
when disks were tens of megabytes.

You only need a separate /var if you think you're going to fill
up log space or similar without noticing. logrotate is pretty
standard these days.

-dsr-


Reply to: