Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi! Im Ann, I have problem regarding our mail server, I can figure out what keep on eating up the HD space. I have deleted files on /var/log, /var/cache and /tmp directories. I also have tried to remove unneeded applications on the server. Doing these things however did not free up some space. What will I do?
Edit: Ah, just an update. Posting in the old thread would help people trace the problem from. In any case, do you know how much space you saved up by deleting those files, clearing out the programs, et cetera? Also, it didn't seem to be that you took the repartitioning idea ...
Getting rid of all unneccessary program files, erasing /tmp, and clearing your log files only freed 1 Megabyte? That just doesn't sound right. Do you need X on the server? X programs use a lot of space due to having pretty pictures and icons.
I did not partition the HD coz im afraid to to loose some files.. I have tried to backup the /var, copy it to the other server but same thing, it does not free some space and then I copy it back again to the mail server. I encountered problem regarding postfix on doing that... but i resolved it.. thanks to MasterC.
Someone told me that i can swap the / to dev/hda3 and /var to /dev/hda1.. Do you know how???
Off the top of my head, I don't know. However, you mentioned that you tried to backup /var and copied it? Copying does not delete the original file, hence there's no way any filesize has been changed.
Again, though, do you use X? What programs do you use routinely on the server?
You freed up one gig, you mean? That's quite a free-up. Try removing all the programs that are installed with Gnome; everything from xmms to gaim, et cetera; things you have absolutely no use for
Originally posted by Poetics Off the top of my head, I don't know. However, you mentioned that you tried to backup /var and copied it? Copying does not delete the original file, hence there's no way any filesize has been changed.
Again, though, do you use X? What programs do you use routinely on the server?
Originally posted by Poetics You freed up one gig, you mean? That's quite a free-up. Try removing all the programs that are installed with Gnome; everything from xmms to gaim, et cetera; things you have absolutely no use for
\
I have removed gaim, gnome, mozilla, guppi, balsa, bug-buddy, nautilus.
Originally posted by Poetics 15 Megs is quite a bit different than 1 Gig ... as for dependancies and whatnot, what programs are giving you errors like that?
when trying to remove the gnome-core
theres an error: removing the oackages would break the dependecies
gnome-core is needed by redhat-config-network-1.0.0-1
libpanel_applet.so.0 is needed by pygnome-applet-1.4.2-3
libpanel_applet.so.0 is needed by redhat-config-network-1.0.0-1
t looks like your root is full. deleting files from /var or /tmp will do nothing since they are on a different partition. See if you have any directory thatis not listed in "df" output and see what "du" is for that directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.