LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-07-2024, 05:55 PM   #16
viel
Member
 
Registered: Jul 2021
Location: Arcadia
Distribution: Slackware
Posts: 50

Rep: Reputation: Disabled

Hi again,

Sorry for bother all you again but reading your last post I couldn't stand it.

With ncdu you can see the files that use more space. You know.

Maybe an option will be mount that empty space as /opt and install some tools or repositories or games or files that use lot of space on /home and you can leave on /opt forever and don't touch it to much.

Viel.
 
Old 03-08-2024, 07:12 PM   #17
nnx
LQ Newbie
 
Registered: Feb 2024
Location: In the faaaar east
Distribution: Slackware 15
Posts: 10

Original Poster
Rep: Reputation: 1
Yes, I have considered mounting as /opt for extra data or temporary storage. Once there was and /extra partition in an older setup, and I also used /win ntfs partition a few times for shared files But using it as /swap would be waste, since there is plenty of memory at this stage.

Thank you again for the advice!
 
Old 03-09-2024, 02:52 AM   #18
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 405

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Originally Posted by viel View Post
Hi,

That home at 100% is not so good. Why is 100%?

To many applications?

Lot of files you work in?

Try to work in ram whenever possible with tmpfs on /tmp for example.

I don't really agree with one single partition because you can't reinstall system / whiteout losing /home. For me you have the correct partitions. So If you plan to have only one partition make some backups of you important data.

You can take 5G from / and leave 25G if no plan to install too more applications.

Swap about 10% of the ram.

Then the rest on /home.

So in a 80~100G disk. 300~500Mb on boot. 20% or 25% for / an 75%~80% for home. Then if you have 8~16G of ram 1~1.5G Swap.

But this depends on your preferences. If you need the maximum space possible, so as not to leave anything unused in /, I would put /boot separate and a partition for everything but making backups.

Hope that help.

Edited: u > you . Sorry. Bad habit.
For /tmp I often use this line in /etc/fstab :
tmpfs /tmp tmpfs defaults,size=5g,nr_inodes=1m 0 0

The size is half the swap size. In this example I have 10Go of swap.

/tmp can grow a lot and in your case it is taken from /. With tmpfs it is cleaned on every reboot.
/var can grow only if you have big spoolers like a lot of printings and needs more to be permanent. It takes time to grow and can be cleaned (/var/log and /var/spool for example).
 
Old 03-10-2024, 03:58 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,985

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
There are 4 cases:
you have a disk full (or similar) on a partition (/var, /tmp, or whatever) or there is a tool/app which needs a lot of disk space. In that case you can dedicate a partition to that to avoid disk full on /root or on any other partition.
There is no such issue, nothing to solve.
As a practice you can play with /home, /var, /opt, /tmp or any other dir to put them into a new partition, but if everything works as expected is it not necessary.
In general using swap is recommended even if you think it is useless (it is never useless), that can be a goal too.
 
Old 03-10-2024, 04:11 AM   #20
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,860

Rep: Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523Reputation: 1523
Quote:
Originally Posted by pan64 View Post
In general using swap is recommended
Using a swap file is convenient. If you think it's too small or too large, you can remove it and create a new one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] F27 - Empty Trash Bin icon is showing the non-empty icon Connor84 Fedora 2 02-17-2018 01:18 AM
LXer: How To Empty a File, Delete N Lines From a File, Remove Matching String From a File, And Remove Empty/Blank Lines From a File In Linux LXer Syndicated Linux News 0 11-22-2017 12:30 PM
Scripting Help--Check empty string condition (not null, but empty!) sungchoiok Linux - Newbie 4 01-01-2012 03:46 PM
[SOLVED] [BASH] non-empty variable before loop end, is empty after exiting loop aitor Programming 2 08-26-2010 09:57 AM
Gentoo VNC, empty dialog box !! "Question" window is empty ! TheHushedCaskeT Linux - Software 0 02-01-2005 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration