[DONE]low disk space on "filesystem root"

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[DONE]low disk space on "filesystem root"

Postby robertbond » Oct 22nd, '14, 13:25

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....
Last edited by robertbond on Oct 26th, '14, 08:17, edited 1 time in total.
robertbond
 
Posts: 30
Joined: May 30th, '13, 09:45

Re: low disk space on "filesystem root"

Postby jkerr82508 » Oct 22nd, '14, 18:57

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: low disk space on "filesystem root"

Postby jiml8 » Oct 23rd, '14, 01:20

I will mention that my own Mageia 4 installation occupies 14 GB. Your problem easily could be that you need to enlarge the partition.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: low disk space on "filesystem root"

Postby robertbond » Oct 23rd, '14, 14:51

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?
Last edited by doktor5000 on Oct 23rd, '14, 17:59, edited 1 time in total.
Reason: added code tags
robertbond
 
Posts: 30
Joined: May 30th, '13, 09:45

Re: low disk space on "filesystem root"

Postby jkerr82508 » Oct 23rd, '14, 16:24

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
Last edited by jkerr82508 on Oct 24th, '14, 08:17, edited 1 time in total.
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: low disk space on "filesystem root"

Postby jiml8 » Oct 23rd, '14, 19:19

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.
Last edited by doktor5000 on Oct 23rd, '14, 19:41, edited 1 time in total.
Reason: removed fullquote
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: low disk space on "filesystem root"

Postby daniewicz » Oct 24th, '14, 04:19

Can you explain how to enlarge a partition without a reinstall? Thanks!
The dude abides.
User avatar
daniewicz
 
Posts: 224
Joined: Feb 10th, '13, 03:37

Re: low disk space on "filesystem root"

Postby doktor5000 » Oct 24th, '14, 11:49

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).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: low disk space on "filesystem root"

Postby robertbond » Oct 24th, '14, 13:26

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 ...
robertbond
 
Posts: 30
Joined: May 30th, '13, 09:45

Re: low disk space on "filesystem root"

Postby jkerr82508 » Oct 24th, '14, 15:34

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: low disk space on "filesystem root"

Postby doktor5000 » Oct 24th, '14, 16:22

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 :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: low disk space on "filesystem root"

Postby jkerr82508 » Oct 24th, '14, 17:53

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
jkerr82508
 
Posts: 946
Joined: Mar 26th, '11, 01:34
Location: Fife, Scotland

Re: low disk space on "filesystem root"

Postby doktor5000 » Oct 25th, '14, 00:00

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: low disk space on "filesystem root"

Postby robertbond » Oct 25th, '14, 09:57

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
robertbond
 
Posts: 30
Joined: May 30th, '13, 09:45

Re: low disk space on "filesystem root"

Postby doktor5000 » Oct 25th, '14, 16:04

Please mark the thread accordingly by editing the topic of the first post and prefix it by [DONE], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18066
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest