Re: HELP! root partition full!
On Thu, Jan 30, 2003 at 04:12:45PM -0500, Ben Williams wrote: > > BR> Use df to find the file thats filling your root: > > BR> du -a -x /usr | sort -rn | tee /tmp/root-space > >Wont the tee will cause this to fail because: > /dev/ad0s1a 516062 505036 -30258 106%/ > ? > Many administrators feel that best practice is, at installation time, to rmdir /tmp and ln -s /var/tmp /tmp If tmp is a symlink to /var/tmp, then no, tee will not fail. His /var has oodles of space. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: HELP! root partition full!
- Original Message - From: "Jason Morgan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 8:05 AM Subject: HELP! root partition full! > I got a strange error from my server this morning - root partition full. > I then looked at my email and had this in my inbox (of course I get > this every day): > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 505036 -30258 106%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1112316 17149920 6%/usr > /dev/vinum/var 235792039623 21683244 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > This was yesterday: > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 135492 33928629%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1108980 17153256 6%/usr > /dev/vinum/var 235792039323 21683544 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > How do I determine what's going on? This is really strange. > > Thanks, > > Jason > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > > > Use df to find the file thats filling your root: du -a -x /usr | sort -rn | tee /tmp/root-space Beech --- Beech Rintoul - Network Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | X - NO Word docs in e-mail | Anchorage, AK 99518-1841 No More Spam! http://www.knockmail.com/default.asp?AID=B0R00073 / \ - To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: HELP! root partition full!
On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote: > I got a strange error from my server this morning - root partition full. > I then looked at my email and had this in my inbox (of course I get > this every day): > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 505036 -30258 106%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1112316 17149920 6%/usr > /dev/vinum/var 235792039623 21683244 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > How do I determine what's going on? This is really strange. First guess is that something large was put into /tmp by a root-owned process. Clean out /tmp and see what df looks like then. Jim -- Jim Trigg, Lord High Everything Else O- /"\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: HELP! root partition full!
On Thu, 30 Jan 2003, Jason Morgan wrote: > I got a strange error from my server this morning - root partition full. > I then looked at my email and had this in my inbox (of course I get > this every day): > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 505036 -30258 106%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1112316 17149920 6%/usr > /dev/vinum/var 235792039623 21683244 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > This was yesterday: > > Disk status: > Filesystem1K-blocksUsedAvail Capacity Mounted on > /dev/ad0s1a 516062 135492 33928629%/ > /dev/ad2s1a 516062 117638 35714025%/rootbackup > procfs4 40 100%/proc > /dev/vinum/usr 19850256 1108980 17153256 6%/usr > /dev/vinum/var 235792039323 21683544 0%/var > /dev/vinum/public 29776085 116 27393883 0%/public > > How do I determine what's going on? This is really strange. > You can use `du` to find out which directories in the / partition are using the diskspace. Specifically, /etc, /root, /bin, /sbin, and /tmp are worth checking. Have you done anything as root in the last day or two? Specifically, installing Perl modules creates temp directories and a lot of temporary files used to build the modules, and has been the source of this kind of problem for other people for quite some time. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message