[EMAIL PROTECTED] wrote:

>To free up some space you may try to zero out the contents of your /var/log directory 
>like /var/log/messages. Back up first if u need it.
>Most of the time its one eating up the disk space.

I think you misunderstood the problem. The problem is isolated only in
a partition  (/home), as my root, /var, /tmp and /usr are separate.

The problem is as in you're only using 30% of your disk the previous minute
and suddenly it skyrockets to 100% the next. You can't rm -rf the affected
directory because it can't stat a specific file (in this case .gnome-errors).
The problem is not GNOME, for it happened when I deleted adom from my
directory before, and adom is being reported to be pointing to some non-
existent file. performing plain ls on the file would make you see the file,
but you can't open it, check the properties or modify/delete it (since doing
such involves invoking the stat() function call). 

As such, .gnome-errors can't be seen by mc (since mc shows the stats of each
file, such as file size, file creation, etc...). I concluded that this is
already a file system problem since even fsck.xfs (which does nothing at all)
or xfs_repair can't repair the file. Even though I move the other contents of
the folder to another partition, the remaining disk space in /home is absurdly
high for some partition to contain no more files except for .gnome-errors
(as in 96% partition usage afterwards). Nothing I mentioned works (rm -rf, wipe, move 
other files to other partitions, xfs_repair, delete the file that
can't be stat()ed). The only way out of the predicament was to reformat the XFS
partition.

There ought to be another way if this isn't a bug, and the situation has been
addressed anyhow. Btw, I'm using the latest xfsprogs (since I synchronize to
XFS CVS almost every week, and I "debianize" and install them quite so often),
so it's not the version I'm using that is the culprit.

Any ideas?



Paolo Alexis Falcone

>Paolo Alexis Falcone wrote:
>
>> has anyone encountered file system errors with XFS? I had a problem just
>> yesterday wherein after some file operations in GNOME, my /home partition with 4 GB 
>just went from 30% usage to 100% usage. I verified the contents of my own
>> folder and I'm still using only around 1.2 GB. When I ran mc, a red dialog
>> came up warning about .gnome-errors pointing to some non-existant file.
>> Stat()ing the file doesn't do, as the stat() calls fails on that file. Can't
>> delete it either for the same reason. But plain ls sees the .gnome-errors file
>> the problem is local only to my folder (fortunately). Deleting my local folder
>> too was impossible even for root because of the .gnome-errors file. The only
>> resort I did was to move the contents of my personal folder (I can't tar -cvvf
>> user.tar user/* since it would copy the .gnome-errors file to the archive)
>> to somewhere else. still df would show an abnormally high space-used percentage.
>>
>> I even tried using xfs_repair to repair this error but xfs_repair would return
>> with a failure message due to having run out of hard disk space. Remounting the
>> disk after unmounting or even rebooting doesn't solve the problem. The only
>> time I never got this problem back was after moving all things in my personal
>> directory to another partition then issue mkfs -t xfs -f to create a new XFS
>> filesystem. then moved back all the contents of my directory from the backup.
>>
>> Any ideas what happened? There are no extended attributes used within the local
>> folder's files (such as ACLs). Is there any workaround aside from what I've
>> done? Or is this a bug that must be/had been addressed? How can avoid such from
>> happening again? (this was the second time, but the other time, it wasn't
>> complaining about .gnome-errors but it claimed to see the adom directory when
>> in fact i've deleted it.
>>
>> This is the only bad part in my use of XFS.
>>
>> Paolo Alexis Falcone
>>
>> __________________________________
>> www.edsamail.com
>> _
>> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
>> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>>
>> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]
>
>--
>Lito A. Lampitoc
>PLDT Foundation                         http://www.codewan.com.ph
>--
>"If you think you're good, you're not."

__________________________________
www.edsamail.com
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to