The partition for the swap is waste of space a swapfile will do just as well. I go with 2G for its size and it seems to really never be fully used the machine has the 32GB of ram like yours mentioned. A script I have to create it when needed and the entry for it in the fstab.
What should I be looking at for disk space? I will make 3 partitions.
-the 1st will be swap and be about 8GB, which is 25% of available RAM
-the 2nd will be root
-the 3rd will be home
There is a great deal of available disk space for files and such in existing partitions so the home partition will not need to be very large. About how much should I allocate for the root partition assuming it will be 25%-50% filled (at lest for now)? My other linux root partitions are about 40GB with 10-12GB used.
Is ext4 still the best choice for formatting?
Thanks,
LMHmedchem
Code:
root@9600k:~# cat bin/fix_swap.sh #!/bin/bash# A script to fix the swapfile missed when using new partition without one already there for a backup/clone/restore.# make the /swapfile filefallocate -l 2G /swapfile# correct the permissionschmod 600 /swapfile# format as swap spacemkswap /swapfile# load the /swapfileswapon /swapfileroot@9600k:~# cat /etc/fstab | grep swap# use swapfile instead of partition/swapfile none swap sw 0 0
Statistics: Posted by RedGreen925 — 2024-07-13 16:32 — Replies 7 — Views 222