Click to See Complete Forum and Search --> : Can't write to file: disk full
Ahimsa
07-29-2002, 03:53 AM
I have received the error message that I can't write to file because my disk is full. On further research it looks like my /home is full. It is set at 1474MB on its own partition, so I guess this means that somehow (??) I am supposed to increase my partition size and correspondingly decrease one or more other partitions. I'm polling advice on the safest and simplest way of doing this.
Also, if anyone has recommendations about which partitions to adjust. I was thinking the /usr partition. This is my lay-out:
Workstation RH7.2 on an 8.4GB HDD:
/boot 518MB
/usr 3499MB
SWAP 2040MB
/home 1498MB
/ 667MB
Thanx. :)
rapture
07-29-2002, 04:02 AM
lol...you have a 2GB swap partition??? Unless you have 1GB of ram I would suggest you decrease the size of your swap. Ah yes, you should also make your boot partition smaller as well, it doesn't need more than 50mb.
fancypiper
07-29-2002, 04:38 AM
You can do the commanddfand see where you have room. Make a directory on that partition somewhere (not on /boot, it isn't mounted after boot)
You will probably find room on /usr as you made it pretty big.
If you find that is so, then as root,mkdir /usr/storage
chown user.default-group /usr/storageNow you can move stuff from your home directory to /usr/storage. If you like, move an entire directory, say it's called stuff, and put a symbolic link in it's placeln -s /home/user/stuff /usr/storage/stuff
Now you have room.
Ahimsa
07-29-2002, 11:22 AM
Thanks fancypiper - you've come through again :D !!!
I followed your suggestion and that coupled with some vigorous spring-cleaning has reduced the cram significantly.
I'm thinking of doing another install pretty soon, once I can figure out how to back-up the progs I downloaded and other data that is too big to fit on a stiffy, and me lacking a CDRW. Gotta make a plan.
Was thinking that after having used it solidly for the better part of one and a half months it is time to clean house, and start again with my upgraded knowledge of how the system works, so that I can reduce the SWAP partition, boot, and /usr and increase the /home.
All in good time, once I get the back-up issued sorted.
Thanks for the help.
:)