Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had large file 200GB in my ext2 disk, then I deleted it(three are no files in Trash). And I haven't gained any free space. I don't want to use fsck as it requres me to unmount disk. I were windows user for a long time, there I could scan disk without unmounting it, is there are similar posibility in Ubuntu 10?

share|improve this question
Even on Windows, you can only run a read-only scan on mounted disks. – grawity Apr 22 '11 at 12:09
up vote 3 down vote accepted

Is the file a database file by chance or something that might be still "open" by a long running program or daemon? Generally, if you didn't see a decrease in disk space it's most likely that something still has the file open.

If it truly is the file system itself that is in error (which would be odd), I'm afraid you'll need to umount the disk to run fsck on it.

share|improve this answer
Thanks, its really other process that was still using it. – yura Apr 24 '11 at 9:56

No. You cannot safely fsck a mounted disk. You can force it to, but be aware that doing so can eat your data. To do so, if you are VERY sure you want to, just move to fsck it - fsck will ask for your confirmation to proceed.

You might be able to do what you need using "debugfs" - this can be used on a live filesystem I believe... but please realize it's a debugging shell for ext2/ext3 and can EASILY destroy your filesystem and/or data.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.