You are not logged in.
Pages: 1
I did my install using the default settings from the auto-prepare format option and my root partition is about 7.5 G. That has been filled up and i'm running into memory problems with increasing frequency, scraping for things to delete to make room. I just ran
pacman -Qdtq | pacman -Rs -and made enough room for a system upgrade, just barely.
The biggest chunk of the partition is 2.9G still in the pacman cache. Is it a good idea to clear that out any further, or do i need to shrink /home to expand /? I see the Beginners' Guide recommends / be at least 15G and /var at least 8, but i'm on a laptop with a 41G SSD, so would like to maximize available space for /home. Why does the auto-prepare default to 7.5G for /?
Last edited by Don Coyote (2012-05-30 02:35:24)
Offline
I did my install using the default settings from the auto-prepare format option and my root partition is about 7.5 G. That has been filled up and i'm running into memory problems with increasing frequency, scraping for things to delete to make room. I just ran
pacman -Qdtq | pacman -Rs -and made enough room for a system upgrade, just barely.
The biggest chunk of the partition is 2.9G still in the pacman cache. Is it a good idea to clear that out any further, or do i need to shrink /home to expand /? I see the Beginners' Guide recommends / be at least 15G and /var at least 8, but i'm on a laptop with a 41G SSD, so would like to maximize available space for /home. Why does the auto-prepare default to 7.5G for /?
Lots of threads get started about this issue. I suspect the reason 7.5G is considered a good default is that Arch Linux is meant to be kept simple; if you think a different size should be default, you probably need to take it up with the Arch Linux devs. I agree that 7.5G is a little small. My system is fairly minimalistic but I've used 15G on my root partition.
In future, using LVMs will make it easy for you to do this kind of resizing, or you can just put /home on the same partition as /, or you can choose some non-default size. I think these are your only options.
Offline
My netbook has a 4GB / partition: I just rsync my pacman cache to an external drive every couple of weeks and then pacman -Scc.
For desktops, I go with a 20GB / (on LVM)...
Offline
I keep my pacman cache on the home partition for the very same reason. Just check the CacheDir option in pacman.conf.
Offline
There have been a lot of threads like this over the years. Maybe this will help: https://bbs.archlinux.org/viewtopic.php?id=139157
Install and use ncdu to find out what's eating all the space:
$ ncdu / --exclude /media --exclude /homeAlso, logrotate wouldn't hurt either (check the above link).
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
The last official Arch iso has been created last year and IIRC it autopartitions with 7.5 GB / . The wiki has been edited but I don't know if the changes have been incorporated into the testbuilds.
You can always partition the drive yourself.
7.5 GB is all I need (I clean pacman cache once a year).
Offline
The last official Arch iso has been created last year and IIRC it autopartitions with 7.5 GB / . The wiki has been edited but I don't know if the changes have been incorporated into the testbuilds.
You can always partition the drive yourself.
I don't think there was much advice on this in the guides when i installed, but it has been elaborated on some since.
7.5 GB is all I need (I clean pacman cache once a year).
'clean' as in "pacman -Scc", or something more selective?
I think xduugu's suggestion of remapping the cache to /home would work best for my current situation. Is it as simple as editing the one line in the conf file?
Offline
Cacheclean is useful. You can keep the most recent packages in case of a problem, but it cleans out older versions. I'd also second the vote for ncdu as really good at tracking down what's using the space.
I'm at 4.5Gb in my root parition and I have a couple of pretty heavy-weight (in terms of package size) apps including all the texlive-most packages (~1Gb), inkscape, and libreoffice. But then those are what I consider heavy-weight! I have dwm as my only WM.
I think 7.5Gb is a good starting point, but perhaps the installer should include a note on forethought: if you are going to install a fullsized DE with all its bells and whistles, 7.5Gb can quickly fill up and that should be increased.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I have a 5G root and have never used more than 3.5Gs of space in it. Granted I have my /var as a separate partition and my system is fairly minimalistic with no kde/gnome/xfce related stuff which brings in a shitload of apps.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
karol wrote:7.5 GB is all I need (I clean pacman cache once a year).
'clean' as in "pacman -Scc", or something more selective?
Just 'pacman -Sc' :-)
Offline
I'd also second the vote for ncdu as really good at tracking down what's using the space.
I've been getting more comfortable with CLI the longer i've used Arch, but the Baobab/DUA grapical representation of files is worth a thousand ncurses (and prabably takes at least that much more space to get running in XFCE...) Or maybe i'm just being too big of a Masamune Shirow fanboy.
Um, not sure if this was more of a discussion than a problem, should i still mark it "solved"?
Last edited by Don Coyote (2012-05-29 06:39:37)
Offline
Um, not sure if this was more of a discussion than a problem, should i still mark it "solved"?
Please do. Newbie Corner is for problem solving, not discussion...
Offline
Pages: 1