Re: unix df -k .. not giving extact space at point in time
It is possible that some process was attached to those files and until that process released those files it wouldn't release the space, Also Unix will take its own time to actually clean up a delete. It will delete the inode reference from the directory listing but can take some time to actually release the space depending on how busy the system, or that filesystem, is. I have seen some programs that make hidden files to carry out tasks. The software actually created a file then attached a process to it and then deleted the file whilst the process was attached. The file was accessible to the process but was hidden from everything else. You can find them with an inode listing. Cheers -- = Peter McLarty E-mail: [EMAIL PROTECTED] Technical ConsultantWWW: http://www.mincom.com APAC Technical Services Phone: +61 (0)7 3303 3461 Brisbane, AustraliaMobile: +61 (0)402 094 238 Facsimile: +61 (0)7 3303 3048 = A great pleasure in life is doing what people say you cannot do. - Walter Bagehot (1826-1877 British Economist) = Mincom "The People, The Experience, The Vision" = Narender Akula <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01-05-2002 08:49 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Fax to: Subject:unix df -k .. not giving extact space at point in time hi gurus, This is unix question but hope someone got the answer I ran df -k yesterday on my oracle directories. /oradata4 81% /oradata3 77% /oradata6 72% ( this not exact out put only inclueded mount on ,capacity) I removed some files from /oradata4 and added some files to /oradata4 the figure didnot changed on /oradata4 .. but increased to 87% . today agian I ran df -k which showed. /oradata4 as at 76% capacity. my question why df -k command took some time to give exact figures on disk usage ? Is there any why to refresh this command or are there any alternatives ? naren narender akula Oracle DBA OCP TERRALINK INTERNATIONAL LIMITED ddi: 04 915 6055 fax: 04 915 6030 mobile: 021470971 email: [EMAIL PROTECTED] mail:PO Box 2872, Wellington -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Narender Akula INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this e-mail are the opinion of the writer only and are not endorsed by the Mincom Group of companies unless expressly stated otherwise. STG41677 Description: Binary data
RE: unix df -k .. not giving extact space at point in time
If any of the files were being accessed when you removed them they won't show up in an ls command but will still occupy space (and not actually be deleted) until they are no longer being accessed. For example, if you rm all your data files while the database is running the space will not be reclaimed until the database is shut down. -Original Message- Sent: Tuesday, April 30, 2002 6:50 PM To: Multiple recipients of list ORACLE-L hi gurus, This is unix question but hope someone got the answer I ran df -k yesterday on my oracle directories. /oradata4 81% /oradata3 77% /oradata6 72% ( this not exact out put only inclueded mount on ,capacity) I removed some files from /oradata4 and added some files to /oradata4 the figure didnot changed on /oradata4 .. but increased to 87% . today agian I ran df -k which showed. /oradata4 as at 76% capacity. my question why df -k command took some time to give exact figures on disk usage ? Is there any why to refresh this command or are there any alternatives ? naren narender akula Oracle DBA OCP TERRALINK INTERNATIONAL LIMITED ddi:04 915 6055 fax:04 915 6030 mobile: 021470971 email: [EMAIL PROTECTED] mail: PO Box 2872, Wellington -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Narender Akula INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Miller, Jay INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: unix df -k .. not giving extact space at point in time
Did you try: sync before df -k Waleed -Original Message- Sent: Tuesday, April 30, 2002 6:50 PM To: Multiple recipients of list ORACLE-L hi gurus, This is unix question but hope someone got the answer I ran df -k yesterday on my oracle directories. /oradata4 81% /oradata3 77% /oradata6 72% ( this not exact out put only inclueded mount on ,capacity) I removed some files from /oradata4 and added some files to /oradata4 the figure didnot changed on /oradata4 .. but increased to 87% . today agian I ran df -k which showed. /oradata4 as at 76% capacity. my question why df -k command took some time to give exact figures on disk usage ? Is there any why to refresh this command or are there any alternatives ? naren narender akula Oracle DBA OCP TERRALINK INTERNATIONAL LIMITED ddi:04 915 6055 fax:04 915 6030 mobile: 021470971 email: [EMAIL PROTECTED] mail: PO Box 2872, Wellington -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Narender Akula INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Khedr, Waleed INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).