Device Boot Start End Blocks Id System
/dev/sda1 2048 4208639 2103296 82 Linux swap / Solaris
/dev/sda2 * 4208640 46153727 20972544 83 Linux
/dev/sda3 46153728 1953523711 953684992 83 Linux
Now, i installed opensuse from scratch, and as far as i am aware, didnt knowlingly partition anything.
I don’t see why the smaller (20G) is being used as root?
Is it possible to change root to be sda3?
I am also unsure as to how to find out what is taking up the space.
devtmpfs on /dev type devtmpfs (rw,relatime,size=2021264k,nr_inodes=505316,mode=755)
tmpfs on /dev/shm type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda2 on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sda3 on /home type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
In my home dir, i see i am already on sda3, with lots of space (/home/sam):
df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 896G 13G 882G 2% /home
Normally, 20G should be more than adequate for the root file system.
You might check what is filling it up. See if there is a large file in “/tmp” or in “/var/tmp”
With 12.1 installed, my root file system is using 8.2G. That’s with KDE, Gnome, XFCE and LXDE all installed, and with tex/latex (a rather large software suite) also installed.
Well, then, use tools to find out what exactly is filling that space. In
the terminal, you can use “du” with the appropriate options. Or you can use
Midnight Commander (mc): menu/command/show directory sizes. If you use
gnome, try baobab - provided you have it installed already and the graphics
system works.
> PHP code:
Please use plain code tags.
> Now, i installed opensuse from scratch, and as far as i am aware, didnt
> knowlingly partition anything.
>
> I don’t see why the smaller (20G) is being used as root?
Why not? Typically home is made bigger than root.
> Is it possible to change root to be sda3?
If you wish… you can do whatever you like. Or you can choose your own
sizes.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Note that some databases may default to living on /. Generally this is not a problem unless you are using very large data sets. If this is your case then you should move said database to their own partitions. If not is is most likely temp files.
It is of course allways a good thing to have a datbase of some importance/size on a separate file system. Like a separate /home it is then easy to keep over installs.
YaST > System > /etc/sysconfig editor and then open at the left System > Cron. You will see parameter CLEAR_TMP_DIRS_AR_BOOTUP. Switch it to “yes”. You can study the text there and look at some of the other connected parameters to finetune (I personaly have only this one switched to “yes”). It will clean e.g. /tmp at every boot in a way that will not hamper running processes.