Hi!
My root-partition(/) is almost full, but i cant find out what to delete. Is there a way to find out what to delete?
I miss something like CCleaner for Windows
But an alternativ is to resize partition since i have good free space on /home, but i canāt resize without unmounting partition and i donāt dare to experiment.
ronnys wrote:
> My root-partition(/) is almost full, but i cant find out what to
> delete. Is there a way to find out what to delete?
kdirstat can display large files and directories as rectangles of
corresponding sizes. You will find temporary files in /tmp and /var/tmp.
You can also remove unused programs. You can display a list of packages
sorted by installed size in YaST / Software / Software management,
installation summary view, [x] installed packages checked. Click āsizeā
column to sort. To do this in shell, run this command:
rpm -qa --qf="%{SIZE} %{NAME}
" | sort -g
> But an alternativ is to resize partition since i have good free space
> on /home, but i canāt resize without unmounting partition and i donāt
> dare to experiment.
You can resize partitions from an openSUSE Live CD, an openSUSE rescue
system (DVD, mini netinstall ISO, grub boot to install system, floppies)
Ext3 file systems can be enlarged while mounted.
No i cannot!
Iāve of course used all diskspace and partition like this:
/ total:20GB used:18.1GB free:1,9GB (ext3)
/swap 2GB
/home āThe restā with allot free space (ext3)
Now i have uninstalled apps that did take space and i dindt use. I have deletet files in /tmp and manage to get 1GB extra free.
I would like to decrease size og /home and increase /
But i cant decrease /home because it says its in use and i cant umount it eighter. I guess i have to boot up in init 3 and then use som cli-command to resize /home.
What command?
Your best friend to find out the size of various folders on your hard disk is āduā, see āman duā for more information.
18GB for an openSUSE installation with its own /home is not normal, there is something āfatā hidden somewhere, use du to find out whatās wrong here.
I had the same problem. I was able to successfully move some mount points (swap, /tmp, and /home) onto a second physical disk. But I ran into problems trying to resize /. It seems partions can be easily resized if the unallocated space is after the partition of interest.
If the unallocated space is before the desired partition, the problem is tougher. See Extend / into Unpartioned Space - openSUSE Forums. My ultimate solution was to reinstall with a bigger drive (the installation was rather fresh).
i agree with the other posters that this is an unusual situation that
you need to solve (why is it so largeā¦i guess you have HUGE logs)
> I would like to decrease size og /home and increase /
> But i cant decrease /home because it says its in use and i cant umount
> it eighter. I guess i have to boot up in init 3 and then use som
> cli-command to resize /home.
no, you can do all in a GUI if you boot from a Live CD as āAndreas
Stiegerā suggestedā¦
[hint when booting from a Live CD the hard driveās partitions are not
mounted, BUT the partitioner accessible from YaST will run in memory
and do all you need----BUT, making a larger / just addresses the
symptom, not the causeā¦]
Hi!
Thanks for helping! Since you tell me that this was not normal, then i start to look more in detail. It was the trashcan for root-user that hold an old virtual disk from Virtualbox that was 10GB.
Now im down to 8GB usage of 20GB.
you are welcome, but there should NEVER be anything in rootās trashcanā¦
there is absolutely NO reason for root to ever have a trash canā¦
because no one should EVER log into KDE/GNOME/Xfce/etc/etc as
rootā¦NEVER EVERā¦
to perform administrator duties as root, NEVER log into KDE/etc as
root, instead always log in as a normal user and then become root in
the ways noted in: http://en.opensuse.org/SDB:Login_as_root