Root out of space, and hard drive has none too :/
My root ran out of space, and I have no more space on my hard drive. Is there any way possible to resize partitions without losing data?
Code:
/dev/hd1/ /boot 32M Also, my has only used 8% of Inodes. Is that good, bad, or what? It seems like something ate that space up fast, but I haven't the faintest clue :/ :scratch: I'm using Slackware 9.1 |
You can't resize the partition if an OS is running on it. I would recommend you clean out your "/" partition. If all else falls, but all your essential information to a CD and resize your disk appropriatly. Inodes are spots that files can exist. 1 file = 1 Inode. 8% isn't bad at all.
If you want to try to find files of a certain size to delete, use: find / -size +1024k -print This will search your / partition for files over 1MB (1024k). Good Luck. |
Re: Root out of space, and hard drive has none too :/
Quote:
http://www.gnu.org/software/parted/parted.html There's also qparted which runs in x but I've had better results with console-based GNU parted. Read the instructions packaged with the application and take your time. |
My suggestion would be to move /opt to /usr,
and just make a symlink in / :) And clean-up /var and /tmp ;) Cheers, Tink |
Another useful command for finding where space is being taken up is to run:is
du -hs `ls` It will give you the total space taken up by each directory. Once you know where which directory is taking up the space you can either move the files, move the directory and symlink it like Tinkster suggested or perhaps move /tmp to your / partition and make what was your /tmp into whatever is taking up the space like /var |
Quote:
Btw, I checked for GNU Parted earlier this evening but it seems to be gone :/ And how do I 'symlink' ? |
ls -s /parition /target/partition
|
You'd probably want to do
init 1 mv /opt /usr ln -s /usr/opt /opt Cheers, Tink |
Thanks, everyone ;)
|
Good Luck with everything man.
|
Also, if you're using swaret to keep your slackware up-to-date, then you probably have a lot of already installed packages in /var/cache/swaret. Do a swaret --purge to get rid of 'em.
|
The reason why I noticed my root was full was because I couldn't get on start my X server, KDE. I still can't. I ran 'xwmconfig' and switch my XServer to Flubbox. Everything works fine :/ So it has to be an issue with KDE. I do get a message saying a bunch of files in the 'KDE/Libs/' directory are too small or truncuated. What could be the cause of this?
|
Probably ... /opt in Slack is the place where
KDE lives ... if you ran out of space during and install/upgrade this may well cause odd phenomena ... Cheers, Tink |
heh, why is your /boot partition 32 megs??
it does'nt need to be that big, 2 maybe 3 megs at most. |
No no, 32 megs is ok, if you want to compile and try out other kernels.
|
All times are GMT -5. The time now is 04:07 AM. |