New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1368 votes ~ 15 comments )

 

Weblog entry #3 for LesleyB

grabbing a bit of space
Posted by LesleyB on Tue 18 Aug 2009 at 13:29
I didn't LVM a recent install and my /usr partiton was filling up.
Using dc du -ch --max-depth=1   I was able to identify /usr/share/ and /usr/share/doc as using the largest amount of disk space.

I moved /usr/share/doc, /usr/share/doc-base and /usr/share/gtk-doc to /usr/local/share and set links to those directories in /usr/share/. I have checked with a removal of one doc package and re-install. The new directory structure seemed to work.

I've regained nearly 1GB of disk pace in my /usr partition.

All I can do is empirically test the operation of this directory structure mod (and read the appropriate Debian documentation to find out how safe this mod is ) but I suspect I will now always hive off /usr/share/ and /usr/src to their own partitions.

Regards

L.

 

Comments on this Entry

Posted by Nilshar (82.238.xx.xx) on Fri 21 Aug 2009 at 15:51
[ Send Message | View Weblogs ]
First, a typo in your text : it is df and not dc :p
To free space in /usr/share/ I recently discovered "localepurge", which freed > 50MB

http://packages.debian.org/lenny/localepurge

[ Parent | Reply to this comment ]

Posted by mcortese (20.142.xx.xx) on Tue 25 Aug 2009 at 16:26
[ Send Message | View Weblogs ]
I think it is du (which summarizes space usage of each file), not df (which reports space usage of a whole file system).

[ Parent | Reply to this comment ]

Posted by Nilshar (82.238.xx.xx) on Wed 26 Aug 2009 at 15:38
[ Send Message | View Weblogs ]
lol, indeed... :)

[ Parent | Reply to this comment ]

Posted by LesleyB (81.139.xx.xx) on Wed 26 Aug 2009 at 15:39
[ Send Message | View Weblogs ]
Thank you both for pointing that typo out. Now corrected. ^_^

[ Parent | Reply to this comment ]

Posted by Anonymous (118.137.xx.xx) on Wed 26 Aug 2009 at 04:11
nice to konw this blog
regard mengembalikan jati diri bangsa

[ Parent | Reply to this comment ]

Posted by Anonymous (187.23.xx.xx) on Mon 31 Aug 2009 at 23:00
You can remove /usr/share/doc/* and packages should work normally.
If you find some problem, then there is a bug in the package that needs its document files to run.

[ Parent | Reply to this comment ]

 

 

Flattr