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;
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
New contributor
add a comment |
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
New contributor
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
add a comment |
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
New contributor
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
linux ubuntu swap
New contributor
New contributor
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
asked 8 hours ago
Forester77Forester77
84 bronze badges
84 bronze badges
New contributor
New contributor
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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.
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
add a comment |
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.
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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