|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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 ? |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > space problem need help urgent |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|