LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-12-2014, 11:28 AM   #1
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Rep: Reputation: Disabled
root volume 100% of capacity


I was installing Netbeans on my PC using ‘apt-get install’ while my flashdrive was mounted. This action resulted in my root, /, directory increasing to 100% of capacity (from about 20%) and my media directory increasing to 97% of capacity. I believed that I have narrowed the issues down to

1) media is at capacity
It appears that in a logical sense that the files in usb0 are duplicates of usb files, thus the 97% of capacity. However drilling into usb, there are no files; the files resides in usb0. There is a recycle bin there with what appears to be systems files, the names are long numerics. Is it safe to delete these files, I deleted a tracer log file and one other.

2) Root is at capacity
In the root directory there was a NetBeansProjects directory which appears to be a full installation of netbeans. I did not believe this directory belonged in the root directory and I deleted it. No change in the issue

3) Issuing:: xxxxxxx@yyyyyyy:~$ sudo gedit /etc/default/jetty
results in:
(gedit:7677): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.C6Q9JX': No such file or directory
or
(gedit:4166): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.MAEHKX': No such file or directory

I ran ‘apt-get clean’.

Also, issuing root@yyyyyyyyyyy:/# ‘du -sch *’ results in the notices below for the directories concerned and these directories are not found on my PC.
du: cannot access `proc/4511/task/4511/fd/4': No such file or directory
du: cannot access `proc/4511/task/4511/fdinfo/4': No such file or directory
du: cannot access `proc/4511/fd/4': No such file or directory
du: cannot access `proc/4511/fdinfo/4': No such file or directory

Is there some way these issues can be addressed.
Thanks
 
Old 08-12-2014, 02:45 PM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,563
Blog Entries: 13

Rep: Reputation: Disabled
What does
Code:
df -hi
show?
 
Old 08-13-2014, 03:35 AM   #3
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
df -hi shows:
root@yyyyyyyyyy:/# df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 84K 7.8K 76K 10% /
udev 484K 490 484K 1% /dev
tmpfs 486K 545 485K 1% /run
/dev/disk/by-uuid/d4b07556-658a-4b62-a895-d1cb8c70786d
84K 7.8K 76K 10% /
tmpfs 486K 1 486K 1% /run/lock
tmpfs 486K 8 486K 1% /run/shm
/dev/sda10 13M 9.4K 13M 1% /home
/dev/sda9 96K 37 96K 1% /tmp
/dev/sda6 537K 157K 380K 30% /usr
/dev/sda7 179K 8.7K 171K 5% /var
/dev/sdc1 254M 113K 253M 1% /media/usb0
Thanks
 
Old 08-13-2014, 04:08 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,807

Rep: Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168
How about - and use tags when posting the output
Code:
df -hT
 
Old 08-13-2014, 08:36 AM   #5
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
root@yyyyyyyyy:/# df -hT
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 323M 307M 0 100% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 389M 864K 388M 1% /run
/dev/disk/by-uuid/d4b07556-658a-4b62-a895-d1cb8c70786d
ext4 323M 307M 0 100% /
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 2.4G 232K 2.4G 1% /run/shm
/dev/sda10 ext4 201G 816M 190G 1% /home
/dev/sda9 ext4 368M 11M 339M 3% /tmp
/dev/sda6 ext4 8.3G 4.3G 3.7G 54% /usr
/dev/sda7 ext4 2.8G 437M 2.2G 17% /var
/dev/sdb1 fuseblk 466G 213G 253G 46% /media/My Passport
 
Old 08-13-2014, 09:01 AM   #6
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
regarding the backup - ??
I have copied my work files and folders and I am prepared to start again from scratch if need be
 
Old 08-13-2014, 09:02 AM   #7
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,273

Rep: Reputation: 290Reputation: 290Reputation: 290
your root partition is only 307Mb! It's full! Note that it will also contain /etc, /bin, /opt, /sbin, /boot

Play Bonny!

hattip:
 
Old 08-13-2014, 09:34 AM   #8
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Here is what I see:
root@yyyyyyy:/# pwd
/
root@yyyyyyy:/# ls -a
. dev lib mnt .pulse-cookie sbin tmp
.. etc lib64 opt .rnd selinux usr
bin home lost+found proc root srv var
boot initrd.img media .pulse run sys vmlinuz

root@yyyyyyy:~# pwd
/root
root@yyyyyyy:~# ls -a

. .bash_history .config .gnome2 .mozilla .synaptic
.. .bashrc .dbus .gnome2_private .netbeans
.aptitude .cache .gconf .java .profile

If I didn't say it before: Appreciate your help!
 
Old 08-13-2014, 09:55 AM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,520

Rep: Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106Reputation: 2106
WHY did you only give your root partition 323 MB?

Of course it's full, it's never not going to be full with any modern Linux distro...that's WAY too small.
 
Old 08-13-2014, 10:41 AM   #10
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
I believe that I followed Linux installation instructions. What can I do about it now?
 
Old 08-13-2014, 11:02 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Depending on your installed programs, customizations... Re-install whole system may be quicker

It is not clear what "/dev/disk/by-uuid/d4b07556-658a-4b62-a895-d1cb8c70786d" is... (sda[X]?)

If you want to keep the system maybe use that /var partition for / and don't use separate var partition?
 
Old 08-13-2014, 11:45 AM   #12
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Althought I thought my system was working pretty well; I will opt to reenstall it. Any suggestions of what size the root directory should be?

Thanks!
 
Old 08-13-2014, 03:45 PM   #13
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
I thought the material in the attached website, just Google it, was intriguing relative to resizing my root directory without destroying my work
 
Old 08-13-2014, 08:30 PM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can also download gparted-live-cd & shrink /home from the left, move the rest of your partitions to the right, shrink, the extended partion from the left & grow the / partition to the right.
I usually make / atleast 2Gigs so that I can add a few things to /opt.
To get 2gigs for your system I calculate 1024*2=2048-323=1725M, this is what I would shrink /home by.
 
Old 08-14-2014, 09:21 AM   #15
fred56
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thanks, I will try that before repartitioning my drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Script for Capacity Performance Monitoring for 100+ servers balu_therock Linux - Newbie 8 10-19-2013 06:21 AM
When a Hard Drive nears 100% capacity will it use another Hard Drive LnxNeophyte Linux - Newbie 7 09-24-2012 10:09 PM
Root file system at 100% capacity...and I have no idea why antiartist Linux - Server 12 06-08-2011 12:16 PM
Audacious opens at 100% volume... netcrawl Linux - Software 1 05-21-2008 01:05 PM
HELP! - root directory "/" 100% CAPACITY JM_Fraser Linux - Software 11 11-28-2003 03:41 PM

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

All times are GMT -5. The time now is 11:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration