From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4122f68e0ba33d2 X-Google-Attributes: gidfee84,public From: Todd Graham Lewis Subject: Re: Root File System Problem Date: 1997/08/10 Message-ID: #1/1 X-Deja-AN: 263357467 References: <33E90A0C.8A9CEE07@ismaa.it> To: Andrea Peterlongo X-Sender: tlewis@reflections.eng.mindspring.net X-Server-Date: 10 Aug 1997 22:23:08 GMT Organization: MindSpring Enterprises Newsgroups: comp.unix.osf.osf1 On Wed, 6 Aug 1997, Andrea Peterlongo wrote: > We have some problem with root file system (adfs). It always seems full > to the system (Digital Unix 4.0B) and we keep on obtaining the following > error warning: > > /:write failed, file system is full. > > Even if since the first error message received we have already deleted > many big file in the root file system (>10 MB) the problem persists. Which would indicate that your filesystem continues to become full. (!) > Moreover if we enter > > #df -k > > obtaining: > > Filesystem 1024-blocks Used Available Capacity Mounted on > root_domain#root 205112 199164 32 100% > / > we may see that when we delete a file the Used space do not decrease and > the Available do not increase by the amount of space previously ocuppied > by the file. This is suggestive; if a process has an open filehandle to the file which you are unlinking, then the reference count on that file has not yet reached zero; the os cannot reclaim disk space until both the file is unlinked and any processes which have it opened have closed it. More below: > Our fstab is the following: > > root_domain#root / advfs rw,userquota,groupquota 0 0 > /proc /proc procfs rw 0 0 > usr_domain#usr /usr advfs rw,userquota,groupquota 0 0 > /dev/rz0b swap1 ufs sw 0 2 > /dev/rz1b swap2 ufs sw 0 2. I notice that you do not have either /var or /tmp on separate partitions. If the large files to which you refer are log files, then you might try deleting and then restarting syslogd. Of course, you should be rotating your log files regularly by this method (mv file file.0; kill -HUP [syslogd]) anyway. Other candidates on this front are squid, apache (perhaps), databases, etc. I'd have to know more about what you are doing to make a more precise guess. What does this machine do? What are the big files which you continue to have to delete? -- Todd Graham Lewis Manager of Web Engineering MindSpring Enterprises (800) 719-4664, x2804 Linux! tlewis@mindspring.net