> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Barkow, Eileen > Sent: Tuesday, April 17, 2007 3:45 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: out of space deleting hfs entry > > Would anyone know why space is needed on a hfs file in order to delete > something? > > I never had this problem before. > > Is this normal or is there some strange problem going on here? > > Thanks for any input. > > $ rm UK21775.PAX.Z > > rm: FSUM9195 cannot unlink entry "UK21775.PAX.Z": EDC5133I No > space left > on device. > > $
This is a known problem. The problem is that HFS is a journalling filesystem. That means that instead of updating the "metadata" directly, the filesystem driver tries to allocate a new block to receive the updated metadata (like the directory or inodes, etc). Unfortunately, when you have literally NO more space, then the changed metadata cannot be journalled and you are SOL. Now, some have said that on occassion, if you UNMOUNT the filesystem, then MOUNT it again, some space MIGHT be freed up to allow the deletion. I don't remember if this works or not, but you might try doing: >UK21775.PAX.Z Note that the greater than sign > is the first character of the input. This basically tells the shell to truncate the file to 0 bytes. This sometimes works as well. If it does, then you can do the "rm" command. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html