Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-22-2003, 05:27 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 1

Rep: Reputation: 0
0 byte file size and lost chains with 200GB firewire drive

I'm using scp in knoppix to dump data from IBM A31 laptops to a 200 GB FAT32 partition on an external WD drive attached via firewire to a Dell gx150 running ssh in knoppix. I recently noticed that many files copied to the external drive were 0 bytes. The entire directory structure copied intact as well as the file names, only the data is not linked to the file. The exact size of the data being copied is reflected in the decreased free space on the destination drive. When deleting the entire directory containing the flawed copy, only a portion of the expected space is freed. I first noticed this issue when there was about 60 GB free space left. With all the corrupted transfers and ineffective deletions, free space dropped to about 28 GB. At this time, I threw an internal drive in the gx150 and imaged it to winXP which also reported 28 GB free on the external 200 GB drive but reported the sum of all that data as only about 112 GB. I then ran chkdsk /f on the firewire drive; after deleting the lost chains, I regained almost an additional 50 GB of space. What could be happening? I've spent some time googling (may not be looking in the right place) for anything related to my problem. I found a grand total of one post that describes a similar situation (but no resolution) which I have pasted below. I found plenty of references to lba28 vs lba48 but I think in this case something specific to linux is going on because the problem does not seem to occur when winXP is running on the destination box using samba for the transfer.

Subject: Linux and VFAT/FAT32 limitations
Newsgroups: uk.comp.os.linux
Date: 2003-08-18 04:03:44 PST

Are there any limitations to the size of a VFAT filesystem on a FAT32 partition under Linux? The reason I ask is that I have a 250GB Firewire disk with a single partition on it and a wopping great FAT32 filesystem on it. Has to be that way as I need to share it between Linux and Windows 2000.

All was fine until very recently. Now whenever I create a file on the disk using Linux it ends up with a zero file size, and if I check the disk under W2K, there are a whole host of lost chains (well one for each file created to be precise)

The only thing that I can think of is that disk is now over half full (139GB out of 232GB to be precise). Has anyone else come across this problem?
Old 11-24-2003, 03:08 AM   #2
LQ Newbie
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Hmmm, I have a 120gb drive I got the other day, and had the thing set up as a storage partition, i.e., one 114gig partition vfat. It didn't load up any of the files I had placed there under windows, I figured it might could be a size problem, so I shrank the partition to 50gb. Rebooted into Linux, and the data showed up.

Unfortunately I haven't been able to find anything useful, but if I do, I'll post it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
200GB drive, a7v8x-x and gentoo sdistefano Linux - Hardware 4 11-22-2005 02:16 PM
200gb drive - do I need to toss it? eric_marsh Linux - Hardware 4 08-29-2004 05:27 PM
Firewire Hard Drive Size? shiny heed Linux - Hardware 0 03-06-2003 10:16 AM
200gb hard drive problem drgaraux Linux - Hardware 7 02-02-2003 04:33 PM
Large drive- too much space lost by large block size? tome Linux - General 5 12-14-2001 02:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration