Page 1 of 1

[DONE]low disk space on "filesystem root"

PostPosted: Oct 22nd, '14, 13:25
by robertbond
hello i need help, every time I turn on mageia there's notif "Low disk space on filesystem root, the volume filesystem root has only ... disk space". how to resolve this problem, when I installed mageia 4 root is 12 GB, now has only 350.9 MB....

Re: low disk space on "filesystem root"

PostPosted: Oct 22nd, '14, 18:57
by jkerr82508
To find out which directories are using most space, execute as root:
Code: Select all
du -akx / | sort -nr | head -n 25
This will tell which directories are using most space.

How you should proceed from there depends on the result of that command.

Jim

Re: low disk space on "filesystem root"

PostPosted: Oct 23rd, '14, 01:20
by jiml8
I will mention that my own Mageia 4 installation occupies 14 GB. Your problem easily could be that you need to enlarge the partition.

Re: low disk space on "filesystem root"

PostPosted: Oct 23rd, '14, 14:51
by robertbond
hei jkerr82508 thanks for your responses, I run that command and this is my result...

Code: Select all
11284304   /
5097772   /usr
3371924   /root
1645704   /root/.AndroidStudioBeta
1643524   /root/.AndroidStudioBeta/system
1559172   /usr/lib64
1492244   /opt
1478624   /usr/share
1372292   /root/.AndroidStudioBeta/system/Maven
1372288   /root/.AndroidStudioBeta/system/Maven/Indices
1372128   /root/.AndroidStudioBeta/system/Maven/Indices/Index1
1205308   /opt/lamp
1189964   /var
1027112   /var/log
983256   /var/log/journal
983252   /var/log/journal/6638660aa23d4ddc949e93f4f78b3727
783660   /usr/local
693760   /root/.AndroidStudioBeta/system/Maven/Indices/Index1/data1
678408   /root/.AndroidStudioBeta/system/Maven/Indices/Index1/data1/context
678360   /root/.AndroidStudioBeta/system/Maven/Indices/Index1/update
678340   /root/.AndroidStudioBeta/system/Maven/Indices/Index1/update/_1m.cfs
678340   /root/.AndroidStudioBeta/system/Maven/Indices/Index1/data1/context/_1m.cfs
666568   /usr/lib
632092   /root/Dropbox
618176   /usr/local/netbeans-8.0


hei jiml8, do you think I need reinstall my mageia and increase my root partition?

Re: low disk space on "filesystem root"

PostPosted: Oct 23rd, '14, 16:24
by jkerr82508
3371924 /root

A /root directory of over 3GB is very strange - mine is about 3MB.

I'm not familiar with AndroidStudio, but I suspect that .AndroidStudioBeta belongs in your home directory and not in /root. I don't use Dropbox, but I suspect that Dropbox does not belong in /root either.
How did you install those?
Are you running them as root, if so why?

I think that you should carefully review the instructions for installing and using those applications. You may have to remove and re-install them both.

Jim

Edit: fixed typo

Re: low disk space on "filesystem root"

PostPosted: Oct 23rd, '14, 19:19
by jiml8
I agree. Mine is about 1.2 Meg, though I did recently clean up a bunch of old stuff in there that reduced its size considerably.

That said, even removing all that stuff from /root will still leave you with a pretty crowded / . If it were me, I would enlarge the partition...which you can do without a reinstall.

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 04:19
by daniewicz
Can you explain how to enlarge a partition without a reinstall? Thanks!

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 11:49
by doktor5000
Pretty simple - enlarge the partition, then partprobe for the kernel to rescan the partition tables and then run resize2fs (or the respective tool if you don't have ext filesystem).

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 13:26
by robertbond
for jkerr82508 android studio is app for develop android, it's like ecilpse. for dropbox i follow the instruction here http://forum.linuxbsdos.com/topic/124/h ... n-mageia-4

for doktor5000 can you make step by step, I never enlarge the partition for sure ...

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 15:34
by jkerr82508
robertbond wrote:dropbox i follow the instruction here http://forum.linuxbsdos.com/topic/124/h ... n-mageia-4
You will note on that page:
All command will be typed as a regular user, so you do not have to su to root.
the root folder of your home directory
is /home/username (replace username with the name that you log in as) and not the /root directory.

The AndroidStudio download can be extracted to /opt, which requires root privileges, or to your home folder, which is easier and does not require root privileges.

You should run both of these applications as your regular user, and not as root. You must have been root at some point in order to have these directories appear in /root. Only the root user can write to /root.

Jim

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 16:22
by doktor5000
robertbond wrote:for jkerr82508 android studio is app for develop android, it's like ecilpse. for dropbox i follow the instruction here http://forum.linuxbsdos.com/topic/124/h ... n-mageia-4

We have instructions here how to install dropbox, please first have a look at those. Problem is we can't really support some foreign howtos.
So if you have issues with that instructions, please comment in their forum and provide them feedback if any parts were unclear to you.

For partition resizing, first you should clean up that mess with the android studio, then we'll have a look again.

@jkerr82508:
Code: Select all
du -smx /* | sort -nr
is less typing but easier to read IMHO - even if it's not posix'ish :)

Re: low disk space on "filesystem root"

PostPosted: Oct 24th, '14, 17:53
by jkerr82508
doktor5000 wrote:@jkerr82508:
Code: Select all
du -smx /* | sort -nr
is less typing but easier to read IMHO - even if it's not posix'ish :)

Thanks for that. I can see it being useful. However, it only gives the size of top level directories. In this case we would have had to ask for it to be run a second time on /root in order to see the cause of the problem.

In order to use either of those commands, I have to copy and paste from my Notes. These days my memory cells leak information faster than they absorb it. :(

On systems to which I have access, I prefer to install ncdu, which, in addition to providing a "pretty" display, enables one to drill down to the offending directory.

Jim

Re: low disk space on "filesystem root"

PostPosted: Oct 25th, '14, 00:00
by doktor5000
jkerr82508 wrote:On systems to which I have access, I prefer to install ncdu, which, in addition to providing a "pretty" display, enables one to drill down to the offending directory.

Thanks for that one, didn't know that :D
I'm often using baobab, as I can see better what's what there and the general overview is better IMHO.

Re: low disk space on "filesystem root"

PostPosted: Oct 25th, '14, 09:57
by robertbond
for all
yes after reinstall dropbox my root space is increase 700 mb, I think I should reinstall android studio too, but it need more time for set up. For me this problem is done, thanks for response..

good day :P

Re: low disk space on "filesystem root"

PostPosted: Oct 25th, '14, 16:04
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks