LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-29-2012, 05:17 AM   #16
Angoni6
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by ewalter View Post
Sorry du -sh /dev/sda5/*
du: cannot access `/dev/sda5/': Not a directory
 
Old 06-30-2012, 03:36 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by Angoni6 View Post
du: cannot access `/dev/sda5/': Not a directory
That's expected. /dev/sda5 is the device (partition) of the file system, not where it is mounted. And anyway /dev/sda5 is for the / file system, not /home.

To find the large files on the /home file system:
Code:
find /home -size +100M
If that lists too many files to be useful, increase the 100.
 
Old 06-30-2012, 05:03 AM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,982

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Quote:
Originally Posted by Angoni6 View Post
df -h output
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 151G 8.5G 135G 6% /
tmpfs 990M 520K 989M 1% /dev/shm
/dev/sda1 194M 23M 162M 13% /boot
/dev/sda2 77G 72G 1.9G 98% /home
/home is almost full, you will need to resize
/ is only 6% full
You can take almost 90% of / & not hurt it

The suggestion at post #10 I made earlier was not correct, use this 1
Quote:
If everything on /home is important use gparted-live & shrink sda5 from the left, also shrink the extended sda4 from the left, then move sda3 to the right & grow sda2

Last edited by EDDY1; 06-30-2012 at 05:10 AM.
 
Old 06-30-2012, 12:26 PM   #19
Angoni6
LQ Newbie
 
Registered: Jun 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
/home is almost full, you will need to resize
/ is only 6% full
You can take almost 90% of / & not hurt it

The suggestion at post #10 I made earlier was not correct, use this 1
Sorry yo bother you Eddy. How do I take the 90% of / thats what I am interested in. Sorry once again am new to linux
 
Old 06-30-2012, 12:50 PM   #20
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,982

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
gparted is a live-cd or usb you have to boot to it to use it
http://www.youtube.com/watch?v=5Uaa546TmTM
http://gparted.sourceforge.net/
installation instructions
http://gparted.sourceforge.net/livecd.php/

Last edited by EDDY1; 06-30-2012 at 12:54 PM.
 
Old 07-01-2012, 09:32 PM   #21
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,310

Rep: Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039Reputation: 2039
The point is, you've got a physical disk which has 250GB of 'space'.
This you have broken down into multiple partitions as shown by 'df -h' & 'fdisk -l'
Each partition is effectively its own disk.

Code:
df -h output
Filesystem Size Used Avail Use% Mounted on
/dev/sda5   151G 8.5G 135G 6%    /
tmpfs       990M 520K 989M 1%    /dev/shm
/dev/sda1   194M  23M 162M 13%   /boot
/dev/sda2    77G  72G 1.9G 98%   /home
Try to use code tags when posting output https://www.linuxquestions.org/quest...do=bbcode#code

As above
1. your /home partition is nearly full, which is what the msg is in fact saying if you read it

2. you don't need 150Gb for root partition (aka '/'); ideally you should probably re-partition to use e.g. 50GB for '/' and the rest for home.
(in actual fact the programs, cfgs etc stored in '/' should fit inside 10 (maybe 20 ) GB, but as it sits, you're also going to have all your logs under there as well.
 
Old 07-04-2012, 03:46 AM   #22
ewalter
LQ Newbie
 
Registered: Jun 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 10

Rep: Reputation: Disabled
Am also now experiencing the same problem here is my output for
Quote:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 874G 173G 657G 21% /
tmpfs 3.8G 0 3.8G 0% /lib/init/rw
udev 10M 10M 0 100% /dev
tmpfs 3.8G 0 3.8G 0% /dev/shm
/dev/md0 93M 38M 50M 43% /boot

I cannot use live-cd gparted as the server is off-shore is there any alternative.
 
Old 07-04-2012, 03:00 PM   #23
sixathome
LQ Newbie
 
Registered: Dec 2010
Distribution: mint julia, mint lisa
Posts: 12

Rep: Reputation: 1
I had a low disk space warning come up too. I thought it was too many pictures and tried rmoving them. When it kept happening I figured i better try something else. I found a post that said the logs may not be purging the old reports.
I down loaded Bleach bit from package manager and ran it from root, I found my logs were way too many!
I used bleach bit to clean and I regained about 30 GB of space! There are languages that come with packages that you do not need and just take up space. It can be configured to keep only your preferred languages.
Try it it may help. All files can be previewed so you do not delete something you need.
 
Old 07-05-2012, 04:07 AM   #24
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by ewalter View Post
Am also now experiencing the same problem here ...
Better you start you own thread ewalter otherwise it will be confusing if people are advising you and the OP in the same thread.
 
  


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
Readjust disk space between /dev/sda2 and /dev/sda5 born2bdesi Linux - Newbie 23 12-21-2010 12:40 AM
How to get Hard Disc memory size used and unused space in c/c++ Linux program dwijesh Linux - Hardware 4 06-26-2009 02:35 AM
how to remove disk space in /dev/sda8 to increase the /dev/sda7 centguy Linux - Software 16 11-27-2008 07:05 PM
Secure unused disk space wipes, dd and shred Akonbobot Linux - Security 10 03-14-2008 02:01 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration