LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2009, 10:28 AM   #91
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

If Wim is right, you only have 4 GB, so not much room to put stuff, or use things like beagle.
However, you can use a usb stick to store your documents etc.
You can look in /var/log/* and delete logfiles which are rotated, NOT the original logfiles.
on my system:

Quote:
cannabis:/var/log# ls sys*
syslog syslog.1 syslog.2.gz
cannabis:/var/log#
You can delete sysog.1 and syslog.2.gz
They are created by logrotate from the original log syslog
Logrotate will rotate the logs every x days/weeks, it will create an empty lgfile, and backup the original, so the logfiles don't get to big.
 
Old 08-18-2009, 10:31 AM   #92
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
If Wim is right, you only have 4 GB, so not much room to put stuff, or use things like beagle.
However, you can use a usb stick to store your documents etc.
You can look in /var/log/* and delete logfiles which are rotated, NOT the original logfiles.
on my system:



You can delete sysog.1 and syslog.2.gz
They are created by logrotate from the original log syslog
Logrotate will rotate the logs every x days/weeks, it will create an empty lgfile, and backup the original, so the logfiles don't get to big.
Should i go through my home/var/log or do it through the command terminal? because when i do it through home/var/log i see all the files but they all have an x on the top corner of them.
 
Old 08-18-2009, 10:35 AM   #93
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I wouldn't invest much time looking into gparted. Really, that box has no more space that gparted could repartition, it doesn't matter what partitioning tool you use. The only real solutions are either to use a smaller distro or to add storage capacity of any kind, or a combination of those both techniques. That's it, besides doing some cleaning.

Last edited by i92guboj; 08-18-2009 at 10:37 AM.
 
Old 08-18-2009, 10:43 AM   #94
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Should i go through my home/var/log or do it through the command terminal? because when i do it through home/var/log i see all the files but they all have an x on the top corner of them.
The command line, you need to be root

Code:
cd /var/log
ls
Look what you can remove.
In general you have the original file, and a file with same name with a number
Quote:
file
file.1
Do not delete the original file
 
Old 08-18-2009, 10:44 AM   #95
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
I wouldn't invest much time looking into gparted. Really, that box has no more space that gparted could repartition, it doesn't matter what partitioning tool you use. The only real solutions are either to use a smaller distro or to add storage capacity of any kind, or a combination of those both techniques. That's it, besides doing some cleaning.
what would i be cleaning? i mean i have nothing on here personally. When i went to look for my BIOS, i went under YaST Control center adn then to Hardware Information. I waited for it to probe and then i saw where all my disk space was being used up at. But i have NO idea what those files are and i dont want to delete something of importance.
 
Old 08-18-2009, 10:49 AM   #96
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
The command line, you need to be root

Code:
cd /var/log
ls
Look what you can remove.
In general you have the original file, and a file with same name with a number


Do not delete the original file
ok this is going to take a min. its not showing what your wrote so im going to type up what it does say. ill do it as fast as i can
 
Old 08-18-2009, 10:53 AM   #97
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
ok this is going to take a min. its not showing what your wrote so im going to type up what it does say. ill do it as fast as i can
Perhaps one day you can try to get connected to the internet using the notebook.
 
Old 08-18-2009, 10:57 AM   #98
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
repo is guiding you through the cleaning of the log files, so that's one thing.

Stuff under /tmp and /var/tmp can also be cleaned, though it should be automatically cleaned on each reboot on most systems, however, check just in case. Nothing in these locations is vital for the system, only temporal files live there. Besides that, there might be some location where suse stores packages that it downloads to install, however I haven't used suse for ages so you would have to ask about that to a suse user.

Deleting the stuff under /usr/src (if anything at all lives there) is also safe, as long as you don't plan to compile your own drivers or kernels. In any case, this can be easily replaced or restored if needed, so it's safe anyway.

For the rest, just be vigilant about the stuff in your home directory. You can also uninstall the programs that you don't use. Just don't uninstall things that you don't know what they are/do, if in doubt, just ask.

It's really a pity that the storage capacity is that limited, otherwise it's a great notebook which can perfectly do what you need it to do.

Last edited by i92guboj; 08-18-2009 at 10:59 AM.
 
Old 08-18-2009, 11:01 AM   #99
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
The command line, you need to be root

Code:
cd /var/log
ls
Look what you can remove.
In general you have the original file, and a file with same name with a number


Do not delete the original file
Code:
 

acpid      gdm            networkmanager  warn   	      zmd-backend.log
apparmor   krb5	     	  news	 	  wtmp  	      zmd-backend.log-20090125.bz2					
boot.kiwi last log        ntp             wtmp-20090509.bz2   zmd-backend.log-20090503.bz2
boot.log  Local Messages  samba           xfree86.0.log       zmd-backend.log-20090504.bz2
boot.msg  mail            SaX.log         xfree86.0.log.old   zmd-backend.log-20090509.bz2
boot.omsg Mail.err        smpppd          Xorg.0.log          zmd-backend.log-20090516.bz2
cups      mail.info       susehelp.log    Xorg.0.log.old      zmd-backend.log-20090531.bz2
faillog   mail.warn       suspend2disk.log Xorg.99.log        zmd-backend.log-20090610.bz2
firewall  messages        suspend2ram.log  YaST2              zmd-messages.log
 
Old 08-18-2009, 11:03 AM   #100
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
Perhaps one day you can try to get connected to the internet using the notebook.
Oh you mean i can copy and paste what this saids?! OH should i be doing this in the white screened gnome command line?! I am connected to the internet with the netbook!? GUH ya'll must hate me by now haha Ill do that instead!


im such a dork. could have been done much faster im sure!!
 
Old 08-18-2009, 11:03 AM   #101
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
i was wondering how ya'll brought those codes up so fast!!! >.<
 
Old 08-18-2009, 11:07 AM   #102
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can remove
Quote:
wtmp-20090509.bz2
xfree86.0.log.old
Xorg.0.log.old
zmd-backend.log-20090125.bz2
zmd-backend.log-20090503.bz2
zmd-backend.log-20090504.bz2
zmd-backend.log-20090509.bz2
zmd-backend.log-20090516.bz2
zmd-backend.log-20090531.bz2
zmd-backend.log-20090610.bz2
just type
Code:
rm xfree86.0.log.old
and so on

You need to do this on a regular basis.

Also take a look at
http://www.linuxquestions.org/questi...2/#post3232993

And follow the suggstions from i92guboj to free up more space.
 
Old 08-18-2009, 11:09 AM   #103
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
ok im online via my note book. but thats what i got when i entered the code in the terminal. i have a sandisk usb card and when i insert it in the port it doesnt let me save anything to it. it says it compatible to linux
 
Old 08-18-2009, 11:12 AM   #104
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Code:
linux-97kx:/var/log # rm xfree86.0.log
rm: cannot remove `xfree86.0.log': No such file or directory
linux-97kx:/var/log # rm -R xfree86.0.log
rm: cannot remove `xfree86.0.log': No such file or directory
linux-97kx:/var/log #
 
Old 08-18-2009, 11:23 AM   #105
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
It is
xfree86.0.log.old

Only remove these files
Quote:
wtmp-20090509.bz2
xfree86.0.log.old
Xorg.0.log.old
zmd-backend.log-20090125.bz2
zmd-backend.log-20090503.bz2
zmd-backend.log-20090504.bz2
zmd-backend.log-20090509.bz2
zmd-backend.log-20090516.bz2
zmd-backend.log-20090531.bz2
zmd-backend.log-20090610.bz2
Type ls to see if you are in the right place, and if you see the files
you can copy/paste the filenames after the command rm or use TAB
type
Code:
rm x
Then press TAB
it will show
Code:
rm xfree86
type . press TAB
it will show
Code:
rm xfree86.0.log
type . press TAB
it will show
Code:
rm xfree86.0.log.old
press enter

Think twice before pressing enter, do I have the right file?
 
  


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 07:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:17 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