Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 27th, 2002, 07:37 AM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
space problem need help urgent

Filesystem Size Used Avail Use% Mounted on
/dev/hda7 3.4G 83M 3.1G 3% /
/dev/hda1 1.9G 1.4M 1.8G 1% /boot
/dev/hda8 2.9G 2.8G 9.7M 100% /home
/dev/hda12 387M 20k 367M 1% /tmp
/dev/hda10 2.4G 2.4G 0 100% /usr <---- move
files / directory (s) from here
/dev/hda9 2.4G 108k 2.2G 1% /usr/local
/dev/hda5 19G 1.6G 16G 9% /var
/dev/hda6 4.1G 20k 3.8G 1% /www <---- move to
here
none 369M 0 368M 0% /dev/shm
I do not have space in /usr when I need to re- install sendmail ; I am linux
newbie, would U please tell me how to re-shufle space


I know things in concept , but I dare not to do in case I miss/ over
confident myself.
__________________
regards,

wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
first I must revise C program thro' example, what's next?

Reply With Quote
  #2  
Old April 27th, 2002, 11:10 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
There is no such thing as urgent in public forum. If you are that urgent go find a consultant or pay someone, don't come here and ask for free help.

>> I do not have space in /usr

You should have allocated more space to /usr during initial install in the first place.
You don't even need to create a /boot partition at all, not to mention when you give it 1.9G, what a waste.

If I were you I'd reinstall from scratch, fighting with disk space problem is just unnecessary these days. Since I don't quite know your setup, but you can take a look at the layout as follow (a 40G hard disk):

/ - 120MB (usually 80mb is more than enough unless you don't follow hier standard and put stuffs all over your root)
/home - 6GB
/usr - 4GB (you are not supposed to load your local stuffs here, a 700MB is more than enough)
/usr/local - 5GB (you created 2.4GB but didn't use it. Why?)
/usr/X11R6 - 5GB
/var - 10GB
/www - 7GB

Reply With Quote
  #3  
Old April 27th, 2002, 05:30 PM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Could you not uninstall some of the programs you've got installed in /usr/bin and move (reinstall) them to /usr/local/bin? As freebsd points out, you've got a lot of free space in /usr/local so if you're not able to do a complete reinstall I'd try to move as much as possible from /usr to /usr/local

Reply With Quote
  #4  
Old April 27th, 2002, 05:40 PM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
sorry do not which software can be uninstall so that it is large eough to re-install samba again.

the console is not in x-windows.

Reply With Quote
  #5  
Old April 30th, 2002, 09:11 AM
pentium5 pentium5 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: entlegen
Posts: 442 pentium5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 3.4G 3.0G 212M 94% /
/dev/hda5 15G 2.9G 11G 21% /home
/dev/hda8 99M 21k 93M 1% /tmp
/dev/hda7 197M 279k 187M 1% /usr/local

this is my 20 G server. I do not why it goes up as 94 % in "/".



would u please comment this ?

Reply With Quote
  #6  
Old April 30th, 2002, 10:31 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Well the calculation it's doing for % usage is:

(1 - (0.212 / 3.4)) x 100 = 93.8%

Which seems right. Though it's odd that total != used+free... 3.0 + 0.212 != 3.4

Reply With Quote
  #7  
Old April 30th, 2002, 02:53 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
you can move /usr/lib to another partition or harddisk (to another harddisk will even speed up your whole system)

- boot into single user mode
- some distros need "mount -no remount,rw /" then
- fdisk, mke2fs the new partition (called hdxx from now)
- mkdir /usrlib
- mount /dev/hdxx /usrlib
- cd /usr ; mv lib /usrlib
- ln -s /usrlib/lib .
- umount /usrlib
- echo "/dev/hdxx /usrlib ext2 defaults 1 1 >>/etc/fstab"
- if you did the first mount command, you need to "umount /" now
- then reboot.

beware! a single mistake (by you or by me) and your system is in trouble.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > space problem need help urgent


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway