mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peder Stray <peder@ifi.uio.no>
To: linux-kernel@vger.kernel.org
Subject: Files truncate on vfat filesystem
Date: 06 May 2003 17:29:12 +0200	[thread overview]
Message-ID: <wa1ade0gkl3.fsf@tyrfing.ifi.uio.no> (raw)


I have a 250GB usb-storage disk i use to transport large files between
work and home, I uses vfat (since I haven't found any other good
filesystems that don't require me to either be root or have all files
worldreadable). Anyways...

Some files get its size truncated to 0 after a while (usually a few
minuts, or when i umount the disk). They seem to be the correct size
when I do ls -l immediately after i have transfered the files (with cp
or rsync, doesn't really matter). Moving files on the disk with mv also
seems to trigger the problem sometimes.

I see that blocks get allocated, but the filesizes are 0. Currently
there is a difference of 17GB in the output of df and du.

I have also noticed that the size of some directories get truncated too,
thus all files copied or moved into those directories dissappear. ls -l
in those directories doesn't even show . and ..

it seem very inconsistent which files are affected, both in size, length
of filename, unusual characters or depth in the filestructure. No
messages from the kernel logs.

A check of the filesystem from XP reports no errors in the
filestructure, and it work 100% there.

kernel versions used are are amongst 2.4.18 and 2.4.20, selfcompiled or
stock from RH.

More details can of course be supplied if anyone have any ideas what to
check and how.

any comments or help would be much appreciated as the loss of data i
experience is more than a little annyoing.

-- 
  Peder Stray


             reply	other threads:[~2003-05-06 15:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 15:29 Peder Stray [this message]
2003-05-06 17:47 ` OGAWA Hirofumi
2003-05-06 18:22   ` Peder Stray
2003-05-06 20:02     ` OGAWA Hirofumi
2003-05-06 20:19       ` Peder Stray
2003-05-06 16:04 Sumit Narayan
2003-05-06 16:12 ` Peder Stray
2003-05-06 16:26 Sumit Narayan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wa1ade0gkl3.fsf@tyrfing.ifi.uio.no \
    --to=peder@ifi.uio.no \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®