Disk usage problem

Posted on 2007-07-29
Last Modified: 2010-04-20
Hi All,
I have OpenSuse linux installed on my system.
The problem is the drive on which it is installed only has 5Gb space in total, most of which has been eaten up by linux installation.
Now everytime I try to install or run a software I get an error saying there is not enogh space left.
kDiskfree software tells me that 99% of the disk space is being used.

Other drives are mounted to different folders like /home /windows/D etc.
I want to allocate the drive being used by /windows/D also to be mounted to / folder without the contents of / being erased.
Please guide me, my computer has become a total mess.
Best Regards,

Question by:aman123_123
    LVL 16

    Expert Comment


    What is your current setup?? Did you use LVM? if not you should look into LVM
    LVL 34

    Expert Comment

    by:Duncan Roe
    5GB is still a decent amount of space if it only contains installed software. You might like to check what has eaten your disk space - I find this script useful:

    find . -mount -type d -mindepth 1 -maxdepth 1 -exec du -s "{}" \;|sort -n

    The largest sub-folders are reported last. cd to them and repeat
    LVL 34

    Expert Comment

    by:Duncan Roe
    ls -lS when there are no large folders below - it will sort files by size order
    LVL 12

    Accepted Solution

    I had similar problem before. I deleted some folder from /usr/share/doc folder. Better to move folder inside the doc to the windows partition or some other safe place where u have enough space, for just backup. Restart ur server and check. If it runs smoothly than keep the moved folder in windows or free partition.
    LVL 4

    Author Comment

    Thanks all for your help.
    I messed up my system. I did something to my / partition and now I the system does'nt boots.
    I am getting this message on startup
    GRUB Loading stage 1.5.
    GRUB loading, please wait...
    Error 17

    I will try to make my system boot and then try to resolve the orignal problem :(

    Thanx a ton for your help
    Best Regards,
    LVL 34

    Expert Comment

    by:Duncan Roe
    If you boot from a live CD such as Knoppix, you can still follow the procedures I outlined. Once you have some room, reinstate whatever it was you deleted and reconfigure GRUB if required (can't help you much with that - don't use it myself)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now