LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-24-2011, 04:30 PM   #16
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721

Quote:
Originally Posted by SecretCode View Post
I'm not seeing that at all. What "it" are you referring to?
I thought this was a different thread.
 
Old 10-24-2011, 04:38 PM   #17
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
I wondered about that. At ease, then.
 
Old 10-28-2011, 01:04 AM   #18
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Thanks for all sorry for late replay
 
Old 10-28-2011, 01:11 AM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Saying you can't create new directories in the root partition indicates you are using the system area for general storage instead of saving files in your HOME directory. You may also be running as root which is a bad idea as well. Perhaps you have been storing files that could be moved to your HOME directory.
 
Old 10-28-2011, 01:26 AM   #20
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by suresh.k View Post
Thanks for all sorry for late replay
what sort of reply is that?
what are we suppose to mean by that?
 
Old 10-28-2011, 01:49 AM   #21
hen770
Member
 
Registered: Oct 2010
Distribution: Arch
Posts: 136

Rep: Reputation: 7
In case you have created the patition in a default fashion, and you wouldn't use the root account to store files in you /, you have a 5% of the partition free, you should use the root account in order to use that.

But as everybody else here i would assume that you have to change your useg habits with your system, 88G of what?

Merge your partition, and flush any unnessery data that is in you / before do that.

Snd you have asked for a step by step guide, tell us what direction you wanna take and we will try to help.
 
Old 10-28-2011, 06:56 AM   #22
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by suresh.k View Post
Thanks for all sorry for late replay
What is your reply? Looks like you've marked this thread 'solved'. What was the solution? - Could be useful for other people finding this thread in the future.
 
1 members found this post helpful.
Old 10-31-2011, 09:30 AM   #23
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
100% mem usage

Iam very sorry for late replay
This is my /etc/fstab file contents

LABEL=/ / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/opt /opt ext3 defaults 1 2
LABEL=/usr/local /usr/local ext3 defaults 1 2
LABEL=/home /home ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda8 swap swap defaults 0 0

And this is my mount content

/dev/sda5 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda9 on /tmp type ext3 (rw)
/dev/sda7 on /opt type ext3 (rw)
/dev/sda6 on /usr/local type ext3 (rw)
/dev/sda3 on /home type ext3 (rw)
/dev/sda2 on /var type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

Thanks
suresh
 
Old 11-02-2011, 08:40 AM   #24
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
/ partition using 100% usage

Hi,
yes iam using this as a server, /home /opt and /var partitions iam using to share the folders with data.


Quote:
Originally Posted by John VV View Post
i would back up data and repartition
/tmp dose not need to be a seporat partition
and it dose not need to be 23 gig

/opt and /usr/local ?
use one or the other
you do not need both ,personally i would use /opt as a data partition and install programs there instead of /usr/local
/home 88gig ? that is BIG very BIG

/var also dose not need to be a separate partition ( what is in it that is 22 gig??? ( temp files for the last 2 to 3 years ? )
merge it with /

/boot - 100 meg ( for cent )
SWAP - 4 gig
/ - 20 gig to about 50 gig ( is normal )
/home - 25 gig
/opt - the rest of the drive


or seeing as cent normally is running a server
/boot 100 meg ext3
/ LVM
 
Old 11-02-2011, 08:46 AM   #25
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
/ partition usinage is 100%

i mean that iam replaying so late
for that iam telling sorry for u all.

Quote:
Originally Posted by deep27ak View Post
what sort of reply is that?
what are we suppose to mean by that?
 
Old 11-02-2011, 08:58 AM   #26
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
/ partition using 100% usage

Hi Hen,

Actually this system we r using as a server for apache, SVN, Mysql and samba.
my question is it is showing total 88G and 84G is used and avail is 0 why it is showing like that and how to solve it. and in this system i have /soft folder for share, i can create folder in that from this system but i cant create any thing in that share remotely by accessing samba. /soft share is having writable permissions

Quote:
Originally Posted by hen770 View Post
In case you have created the patition in a default fashion, and you wouldn't use the root account to store files in you /, you have a 5% of the partition free, you should use the root account in order to use that.

But as everybody else here i would assume that you have to change your useg habits with your system, 88G of what?

Merge your partition, and flush any unnessery data that is in you / before do that.

Snd you have asked for a step by step guide, tell us what direction you wanna take and we will try to help.
 
Old 11-09-2011, 03:11 AM   #27
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Is the problem solved or not?

If you still have a full / partition, please post the output of this:

Quote:
Originally Posted by SecretCode View Post
The output of this command will show which subdirectory is using up the space:
Code:
du --max-depth 1 -x / | sort -nr | head
Run as root.
The -x parameter stops it from looking into mount points on other filesystems. It will take a while, with no output during the run because of the sort in the pipeline.
 
Old 11-15-2011, 01:18 AM   #28
suresh.k
Member
 
Registered: Aug 2011
Location: Hyderabad, AP, India
Distribution: centos, Ubuntu
Posts: 163
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Hi,
This is my OUTPUT
[root@svn ~]# du --max-depth 1 -x / | sort -nr | head
87268344 /
49101864 /root
31100040 /soft
3917840 /data
2764444 /usr
175400 /lib
159864 /etc
31592 /sbin
9236 /tftpboot
7808 /bin

Thanks
Suresh
 
Old 11-15-2011, 04:11 AM   #29
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
So you have ~49GB in /root, which means someone (or some app service) has been logging in as root and storing things in root's home folder. Bad practice.
You have 31GB + 4GB in directories /soft and /data, which are not standard parts of any distro I know and not in the Filesystem Hierarchy Standard. Bad practice to store things in a / partition when you've carefully allocated all those other partitions.

I suggest you move the entire /soft and /data somewhere else, e.g. into your /home partition. And find out what's in the /root directory via
Code:
du --max-depth 1 -x /root | sort -nr | head

Last edited by SecretCode; 11-15-2011 at 04:13 AM.
 
Old 11-15-2011, 04:16 AM   #30
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Also, with the way those directories are being used, there is no value at all in having separate partitions set up. If you can take this server offline for a while, you should merge all of /tmp /opt /usr/local and /var into the root partition. Make a much bigger /home partition and move all this stuff that is filling up the root partition into that partition.
 
  


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
OpenOffice/LibreOffice writer uses 100% CPU time, 100% memory, workaround someone? jlinkels Linux - Software 11 08-30-2012 02:50 PM
ext3 partion add in 8eLVM partion jitenderana Red Hat 4 10-12-2011 07:47 AM
problem mounting a linux partion from another ext3 partion fkeith Linux - Hardware 1 10-14-2007 08:33 PM
how do i move files from my windows partion to my linux partion awesome_man Linux - Newbie 2 01-30-2004 01:51 PM
Must "/boot" partion be installed in the primary partion? domeili Linux - Newbie 9 11-01-2003 09:27 AM

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

All times are GMT -5. The time now is 08:17 AM.

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