LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 02:36 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 04:03 AM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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 04:10 AM.
 
Old 06-30-2012, 11:26 AM   #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, 11:50 AM   #20
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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 11:54 AM.
 
Old 07-01-2012, 08:32 PM   #21
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,358

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 02: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, 02: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, 03:07 AM   #24
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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



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

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

All times are GMT -5. The time now is 12:58 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
Open Source Consulting | Domain Registration