Page 1 of 1

[solved] made /var partition too small

Posted: Fri Dec 24, 2010 9:07 pm
by dodgefan
just installed LMDE and made a /boot and swap primary partition and in my extended partition, created /, /home, /var, and /tmp. my var and tmp are only 500 megs and now im getting messages saying var doesnt have any space. can i safely ignore these and not worry about it or should /var be bigger than what i made it? if so, can i do it while logged in? i need to shrink my /home partition. or can i delete the /tmp and use it, but then how do i unmount any of these to ake them larger or smaller?

Re: made /var partition too small

Posted: Fri Dec 24, 2010 9:39 pm
by randomizer
500MB is pretty small for /var, I'd make it 1-2GB. If you regularly clean your APT cache (apt-get clean) then you might be able to keep it at 500MB but this means redownloading packages every time they are removed and installed again. 500MB for /tmp is ok as long as you don't need to use large temporary files.

If you want to modify a partition then it can't be mounted. The easiest option is to boot from a live CD and work with the partitions. None of the partitions will be mounted then unless you mount them. If you remove the partition for /tmp, don't forget to create a directory for it on your / partition and remove or comment out the entry in /etc/fstab for /tmp.

Re: made /var partition too small

Posted: Sat Dec 25, 2010 12:21 am
by dodgefan
yeah as soon as i posted that i thought about booting with the live dvd, which i did. i deleted the partitions, edited the fstab and made sure there were /var and /tmp on the / partition, rebooted and it didnt work.

so i just re-did the whole thing. thanks for your input!