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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-29-2012, 05:17 AM
|
#16
|
LQ Newbie
Registered: Jun 2012
Posts: 9
Original Poster
Rep: 
|
Quote:
Originally Posted by ewalter
Sorry du -sh /dev/sda5/*
|
du: cannot access `/dev/sda5/': Not a directory
|
|
|
06-30-2012, 03:36 AM
|
#17
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
|
Quote:
Originally Posted by Angoni6
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.
|
|
|
06-30-2012, 05:03 AM
|
#18
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Quote:
Originally Posted by Angoni6
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.
|
|
|
06-30-2012, 12:26 PM
|
#19
|
LQ Newbie
Registered: Jun 2012
Posts: 9
Original Poster
Rep: 
|
Quote:
Originally Posted by EDDY1
/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
|
|
|
06-30-2012, 12:50 PM
|
#20
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Last edited by EDDY1; 06-30-2012 at 12:54 PM.
|
|
|
07-01-2012, 09:32 PM
|
#21
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,425
|
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.
|
|
|
07-04-2012, 03:46 AM
|
#22
|
LQ Newbie
Registered: Jun 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 10
Rep: 
|
Am also now experiencing the same problem here is my output for 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.
|
|
|
07-04-2012, 03:00 PM
|
#23
|
LQ Newbie
Registered: Dec 2010
Distribution: mint julia, mint lisa
Posts: 12
Rep:
|
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.
|
|
|
07-05-2012, 04:07 AM
|
#24
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
|
Quote:
Originally Posted by ewalter
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.
|
|
|
All times are GMT -5. The time now is 08:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|