Swap Partition Size For Domestic UbuntuIs swap an anachronism?Crunchbang does not see existing Ubuntu installationEncrypted filesystems with swap partitionsExpand the size of swap partitionMultiple problems setting up Windows 10 and Ubuntu 14.04.03 dual bootHow to expand /boot partition on Ubuntu 15.10?Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?

What happened to the HDEV ISS Experiment? Is it over?

How to check whether a sublist exist in a huge database lists in a fast way?

How does encoder decoder network works?

Billiard balls collision

What to look for in a spotting scope?

What does "rel" in `mathrel` and `stackrel` stands for?

Do Bayesian credible intervals treat the estimated parameter as a random variable?

Can RMSE and MAE have the same value?

How can I download a file through 2 SSH connections?

How many lines of code does the original TeX contain?

Should I stick with American terminology in my English set young adult book?

Breaker Mapping Questions

Why is "-ber" the suffix of the last four months of the year?

What do these commands specifically do?

Prison offence - trespassing underwood fence

Why doesn't 'd /= d' throw a division by zero exception?

What is the difference between "Grippe" and "Männergrippe"?

Tex Quotes(UVa 272)

How to gently end involvement with an online community?

How do we tell which part of kinetic energy gives rise to temperature?

Discussing work with supervisor in an invited dinner with his family

Redacting URLs as an email-phishing preventative?

Semantic difference between regular and irregular 'backen'

How do I make my image comply with the requirements of this photography competition?



Swap Partition Size For Domestic Ubuntu


Is swap an anachronism?Crunchbang does not see existing Ubuntu installationEncrypted filesystems with swap partitionsExpand the size of swap partitionMultiple problems setting up Windows 10 and Ubuntu 14.04.03 dual bootHow to expand /boot partition on Ubuntu 15.10?Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Trying here to do an installation of Ubuntu 18.04, focusing on domestic surveillance with some ip cameras.



There will be about 12 cameras, which we are going to add in Zoneminder with images capture function.



With this in mind, what should be the Swap partition size?



And how can we enable this partition and start using it?



I already have an installation system with 5GB of Swap, but heard that it isn't enough.










share|improve this question









New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

    – ctrl-alt-delor
    7 hours ago











  • Is it recommendable to resize partitioning? I've never had good experience doing it.

    – Forester77
    5 hours ago

















1















Trying here to do an installation of Ubuntu 18.04, focusing on domestic surveillance with some ip cameras.



There will be about 12 cameras, which we are going to add in Zoneminder with images capture function.



With this in mind, what should be the Swap partition size?



And how can we enable this partition and start using it?



I already have an installation system with 5GB of Swap, but heard that it isn't enough.










share|improve this question









New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

    – ctrl-alt-delor
    7 hours ago











  • Is it recommendable to resize partitioning? I've never had good experience doing it.

    – Forester77
    5 hours ago













1












1








1








Trying here to do an installation of Ubuntu 18.04, focusing on domestic surveillance with some ip cameras.



There will be about 12 cameras, which we are going to add in Zoneminder with images capture function.



With this in mind, what should be the Swap partition size?



And how can we enable this partition and start using it?



I already have an installation system with 5GB of Swap, but heard that it isn't enough.










share|improve this question









New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Trying here to do an installation of Ubuntu 18.04, focusing on domestic surveillance with some ip cameras.



There will be about 12 cameras, which we are going to add in Zoneminder with images capture function.



With this in mind, what should be the Swap partition size?



And how can we enable this partition and start using it?



I already have an installation system with 5GB of Swap, but heard that it isn't enough.







linux ubuntu swap






share|improve this question









New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 7 hours ago









ctrl-alt-delor

14.1k5 gold badges33 silver badges64 bronze badges




14.1k5 gold badges33 silver badges64 bronze badges






New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 8 hours ago









Forester77Forester77

84 bronze badges




84 bronze badges




New contributor



Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Forester77 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

    – ctrl-alt-delor
    7 hours ago











  • Is it recommendable to resize partitioning? I've never had good experience doing it.

    – Forester77
    5 hours ago

















  • Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

    – ctrl-alt-delor
    7 hours ago











  • Is it recommendable to resize partitioning? I've never had good experience doing it.

    – Forester77
    5 hours ago
















Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

– ctrl-alt-delor
7 hours ago





Start with something big. Then shrink it (if you thing that you will need the space). When you are settled on a size, then grow other partition to use the spare space.

– ctrl-alt-delor
7 hours ago













Is it recommendable to resize partitioning? I've never had good experience doing it.

– Forester77
5 hours ago





Is it recommendable to resize partitioning? I've never had good experience doing it.

– Forester77
5 hours ago










2 Answers
2






active

oldest

votes


















2















Honestly, I wouldn't overengineer this situation. Of course, there're different scenarios and for each of them, you might want a different size of swap, but for normal needs you might have at home, you can stick to this recommendation by Red Hat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-disk-partitioning-setup-x86#sect-recommended-partitioning-scheme-x86 (table 8.3, you need to scroll a bit).



Having said that, start with finding out how much RAM you have.



Another discussion about the same topic is on askubuntu: https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap You might want to read through it.



As for the second question. If you install the system, you don't really need to do anything else to start using it. The system (Ubuntu) will use your swap automatically whenever runs out of RAM.






share|improve this answer

























  • That table dose not even describe a continues function.

    – ctrl-alt-delor
    7 hours ago






  • 1





    My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

    – Forester77
    6 hours ago


















0















For a 1Tb HDD, I'd recommend the following partitioning:



/ <== primary partition, 10gb root partition with **boot flag**
/usr <== logical partition, 24gb read-only user data
/var <== logical partition, 26gb variable files
swap <== logical partition, 11gb used when psysical RAM memory is full
/tmp <== logical partition, 12gb temporary files
/home <== logical partition, 400gb home directories
the rest <== free space



It is similar to the I've been user for some time, and have had satisfatory results.



Notice the differents sizes, for quicker recognizing.






share|improve this answer




















  • 1





    Aren't there any more partitions I could add?

    – Forester77
    5 hours ago











  • This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

    – Vasconcelos1914
    5 hours ago













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Forester77 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f537379%2fswap-partition-size-for-domestic-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2















Honestly, I wouldn't overengineer this situation. Of course, there're different scenarios and for each of them, you might want a different size of swap, but for normal needs you might have at home, you can stick to this recommendation by Red Hat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-disk-partitioning-setup-x86#sect-recommended-partitioning-scheme-x86 (table 8.3, you need to scroll a bit).



Having said that, start with finding out how much RAM you have.



Another discussion about the same topic is on askubuntu: https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap You might want to read through it.



As for the second question. If you install the system, you don't really need to do anything else to start using it. The system (Ubuntu) will use your swap automatically whenever runs out of RAM.






share|improve this answer

























  • That table dose not even describe a continues function.

    – ctrl-alt-delor
    7 hours ago






  • 1





    My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

    – Forester77
    6 hours ago















2















Honestly, I wouldn't overengineer this situation. Of course, there're different scenarios and for each of them, you might want a different size of swap, but for normal needs you might have at home, you can stick to this recommendation by Red Hat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-disk-partitioning-setup-x86#sect-recommended-partitioning-scheme-x86 (table 8.3, you need to scroll a bit).



Having said that, start with finding out how much RAM you have.



Another discussion about the same topic is on askubuntu: https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap You might want to read through it.



As for the second question. If you install the system, you don't really need to do anything else to start using it. The system (Ubuntu) will use your swap automatically whenever runs out of RAM.






share|improve this answer

























  • That table dose not even describe a continues function.

    – ctrl-alt-delor
    7 hours ago






  • 1





    My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

    – Forester77
    6 hours ago













2














2










2









Honestly, I wouldn't overengineer this situation. Of course, there're different scenarios and for each of them, you might want a different size of swap, but for normal needs you might have at home, you can stick to this recommendation by Red Hat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-disk-partitioning-setup-x86#sect-recommended-partitioning-scheme-x86 (table 8.3, you need to scroll a bit).



Having said that, start with finding out how much RAM you have.



Another discussion about the same topic is on askubuntu: https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap You might want to read through it.



As for the second question. If you install the system, you don't really need to do anything else to start using it. The system (Ubuntu) will use your swap automatically whenever runs out of RAM.






share|improve this answer













Honestly, I wouldn't overengineer this situation. Of course, there're different scenarios and for each of them, you might want a different size of swap, but for normal needs you might have at home, you can stick to this recommendation by Red Hat: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-disk-partitioning-setup-x86#sect-recommended-partitioning-scheme-x86 (table 8.3, you need to scroll a bit).



Having said that, start with finding out how much RAM you have.



Another discussion about the same topic is on askubuntu: https://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap You might want to read through it.



As for the second question. If you install the system, you don't really need to do anything else to start using it. The system (Ubuntu) will use your swap automatically whenever runs out of RAM.







share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









puzzlepuzzle

763 bronze badges




763 bronze badges















  • That table dose not even describe a continues function.

    – ctrl-alt-delor
    7 hours ago






  • 1





    My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

    – Forester77
    6 hours ago

















  • That table dose not even describe a continues function.

    – ctrl-alt-delor
    7 hours ago






  • 1





    My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

    – Forester77
    6 hours ago
















That table dose not even describe a continues function.

– ctrl-alt-delor
7 hours ago





That table dose not even describe a continues function.

– ctrl-alt-delor
7 hours ago




1




1





My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

– Forester77
6 hours ago





My # swapon --show command output shows 0b in USED column, so that is right? Swap partition would only be used when RAM memory is depleted?

– Forester77
6 hours ago













0















For a 1Tb HDD, I'd recommend the following partitioning:



/ <== primary partition, 10gb root partition with **boot flag**
/usr <== logical partition, 24gb read-only user data
/var <== logical partition, 26gb variable files
swap <== logical partition, 11gb used when psysical RAM memory is full
/tmp <== logical partition, 12gb temporary files
/home <== logical partition, 400gb home directories
the rest <== free space



It is similar to the I've been user for some time, and have had satisfatory results.



Notice the differents sizes, for quicker recognizing.






share|improve this answer




















  • 1





    Aren't there any more partitions I could add?

    – Forester77
    5 hours ago











  • This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

    – Vasconcelos1914
    5 hours ago















0















For a 1Tb HDD, I'd recommend the following partitioning:



/ <== primary partition, 10gb root partition with **boot flag**
/usr <== logical partition, 24gb read-only user data
/var <== logical partition, 26gb variable files
swap <== logical partition, 11gb used when psysical RAM memory is full
/tmp <== logical partition, 12gb temporary files
/home <== logical partition, 400gb home directories
the rest <== free space



It is similar to the I've been user for some time, and have had satisfatory results.



Notice the differents sizes, for quicker recognizing.






share|improve this answer




















  • 1





    Aren't there any more partitions I could add?

    – Forester77
    5 hours ago











  • This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

    – Vasconcelos1914
    5 hours ago













0














0










0









For a 1Tb HDD, I'd recommend the following partitioning:



/ <== primary partition, 10gb root partition with **boot flag**
/usr <== logical partition, 24gb read-only user data
/var <== logical partition, 26gb variable files
swap <== logical partition, 11gb used when psysical RAM memory is full
/tmp <== logical partition, 12gb temporary files
/home <== logical partition, 400gb home directories
the rest <== free space



It is similar to the I've been user for some time, and have had satisfatory results.



Notice the differents sizes, for quicker recognizing.






share|improve this answer













For a 1Tb HDD, I'd recommend the following partitioning:



/ <== primary partition, 10gb root partition with **boot flag**
/usr <== logical partition, 24gb read-only user data
/var <== logical partition, 26gb variable files
swap <== logical partition, 11gb used when psysical RAM memory is full
/tmp <== logical partition, 12gb temporary files
/home <== logical partition, 400gb home directories
the rest <== free space



It is similar to the I've been user for some time, and have had satisfatory results.



Notice the differents sizes, for quicker recognizing.







share|improve this answer












share|improve this answer



share|improve this answer










answered 6 hours ago









Vasconcelos1914Vasconcelos1914

8010 bronze badges




8010 bronze badges










  • 1





    Aren't there any more partitions I could add?

    – Forester77
    5 hours ago











  • This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

    – Vasconcelos1914
    5 hours ago












  • 1





    Aren't there any more partitions I could add?

    – Forester77
    5 hours ago











  • This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

    – Vasconcelos1914
    5 hours ago







1




1





Aren't there any more partitions I could add?

– Forester77
5 hours ago





Aren't there any more partitions I could add?

– Forester77
5 hours ago













This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

– Vasconcelos1914
5 hours ago





This is part of Linux File Hierarchy Structure. Those option for specific partitioning are provided during Ubuntu or Debian instalation process.

– Vasconcelos1914
5 hours ago










Forester77 is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Forester77 is a new contributor. Be nice, and check out our Code of Conduct.












Forester77 is a new contributor. Be nice, and check out our Code of Conduct.











Forester77 is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f537379%2fswap-partition-size-for-domestic-ubuntu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її