bergman on 9 Aug 2006 23:07:54 -0000 |
In the message dated: Wed, 09 Aug 2006 18:49:14 EDT, The pithy ruminations from Lee Marzke on <[PLUG] Debian df command reports wrong usage on root partition> were: => This is a multi-part message in MIME format. => --------------040008070203060506030204 => Content-Type: text/plain; charset=ISO-8859-1; format=flowed => Content-Transfer-Encoding: 7bit => => I'm having a weird problem on a Debian 3.1 system. After moving Gb of => data from the root partition to /var ( and replacing those directories => with symlinks ) => my root partition is still full. Ah, this is basically a question that I use when conducting interviews... Let me take some wild guess... You moved data from /var/log. You haven't restarted syslog (or rebooted). Here are some hints for tools that may help figure things out: fuser lsof Hint: how does "rm" work? man 2 unlink Finally, here are some nice explanations: http://blogs.sun.com/roller/page/chrisg?entry=df_and_du http://www.cyberciti.biz/nixcraft/vivek/blogger/2006/01/freebsd-why-command-df-and-du-reports.php Mark => => Is there some known problem with df ? Are the LVM mounted => volumes causing it problems ? => => I've also looked at / with a graphical disk analysis tool, and all the disk => space is taken up by /home and /var - so why is 14Gb still showing up => as used under / ? => => df => Filesystem 1k-blocks Used Available => Use% Mounted on => /dev/sda2/ 87857 19645 73171 => 22% /boot => /dev/sda3/ 17299036 14649436 1770848 90% / => /dev/mapper/sys-home 30963708 20959920 8430924 72% /home => /dev/mapper/sys-var 20970876 8716796 12254080 42% /var => => => If I add the size of all partitions ( excluding /boot, /home and /var ) => I get 1.5Gb, however the df command above shows 14Gb in use. => => Here are the sized reported by du for all directories except in /boot, => /home, /var => => /tmp 24 => /bin 3112 => /dev 852 => /lib 128472 => /root 4500 => /etc 404432 => /usr 1021440 => Total 1.54 Gb => => Also, the disks are on a Adaptec 2400 IDE RAID controller, HW RAID 1 => that appear as SCSI drives sda2, sda3 JBOD, and the rest as LVM => => Thanks, => => Lee Marzke => ----- Mark Bergman Biker, Rock Climber, Unix mechanic, IATSE #1 Stagehand http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=bergman%40merctech.com I want a newsgroup with a infinite S/N ratio! Now taking CFV on: rec.motorcycles.stagehands.pet-bird-owners.pinballers.unix-supporters 15+ So Far--Want to join? Check out: http://www.panix.com/~bergman ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|