Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Disk usage problem

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,
Aman


0
aman123_123
Asked:
aman123_123
1 Solution
 
xDamoxCommented:
Hi,

What is your current setup?? Did you use LVM? if not you should look into LVM
0
 
Duncan RoeSoftware DeveloperCommented:
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:

#!/bin/sh
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
0
 
Duncan RoeSoftware DeveloperCommented:
ls -lS when there are no large folders below - it will sort files by size order
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ibu1Commented:
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.
0
 
aman123_123Author Commented:
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,
Aman
0
 
Duncan RoeSoftware DeveloperCommented:
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)
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now