Results 1 to 8 of 8

Thread: NTFS formatted USB loses data, FAT 32 formatting doesn't

  1. #1
    Join Date
    Sep 2010
    Beans
    171

    NTFS formatted USB loses data, FAT 32 formatting doesn't

    Okay here is the thing.

    I had an 8 GB USB flash drive. I formatted it NTFS and it worked fine for years. Then weird things started happening...Eventually (only on ubuntu) it would mount itself after I unmounted it.

    Anyway, I formatted it to NTFS thinking it might have had some corrupt sectors or something and gave it to my brother. I ordered a new one and formatted it as NTFS...then the same thing started happening.

    At one point, there was one part of my flash drive that would spit out a read error whenever I opened it. I had to run checkdisk under windows to repair it, then I backed up my data, formatted it NTFS again, then copied my data over.

    Then I can't access the same folder again!

    Thinking it was a bad drive, I got it RMAed to kingston. I received a new one in the mail, and formatted it as NTFS...well...right after I copied my data over, I unmounted it and remounted it. All my data was gone.

    So I formatted the drive as FAT 32 and I haven't had problems since.

    I was hoping to keep it as NTFS as FAT 32 can't handle more than a 4GB file and I go back and forth between windows, but I'm over it.

    I'm just wondering what the problem could be. I dual boot ubuntu and windows 7; I've never had a write error or anything like that under windows. Also, why did my old flash drive work fine for years as NTFS?

    Can someone explain this to me?

  2. #2
    Join Date
    Dec 2008
    Beans
    69

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    your ubuntu can be error, format it with ubuntu cd or the best is format partion and reinstall

  3. #3
    Join Date
    Sep 2010
    Beans
    171

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    Quote Originally Posted by tienlbhoc View Post
    your ubuntu can be error, format it with ubuntu cd or the best is format partion and reinstall

    Actually I run a few different linux distros on different computers. Same thing happens on linux mint debian edition, so I would assume this eliminates a software issue.

  4. #4
    Join Date
    Oct 2005
    Location
    Wabasha MN
    Beans
    2,571
    Distro
    Ubuntu

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    When sharing files between Linux and Windows under NTFS format problems will arise because if a file or folder does not close properly it will get corrupt. On all my USB driver I keep them formatted with Fat32 for this reason. Fat32 seems to close everything properly so there is no problems with corruption. There, now you have the answer.
    Information on my Main laptop. Information on my small laptop Dell 11 3000
    Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
    Machine Registered 366271, 366273, 366275.
    Registered Ubuntu user number 18630. Registered Linux user number 458093.

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    Quote Originally Posted by venom104 View Post
    …. Same thing happens on linux mint debian edition…
    • Does the same thing happen on Windows? If so, it is hardware. Try a different make.
    • Otherwise, does the same thing happen on non-Ubuntu distros? (Mint is Ubuntu-based — try something like Fedora or Crunchbang.) If so, it is a software issue: Linux.
    • Otherwise, it is a software issue: Ubuntu.


    If you don't need to access your USB from Windows, try formatting to ext4. NTFS and ext4 are not really recommended because of the extra writes to the flash, but it's worth a try.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  6. #6
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    Quote Originally Posted by irv View Post
    … if a file or folder does not close properly it will get corrupt.
    If that is what is happening, try Safely Remove with the disk before physically removing it. You can do this from Disk Utility. It should always ensure that the file system has been properly closed.
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  7. #7
    Join Date
    Oct 2005
    Location
    Wabasha MN
    Beans
    2,571
    Distro
    Ubuntu

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    Quote Originally Posted by Paddy Landau View Post
    If that is what is happening, try Safely Remove with the disk before physically removing it. You can do this from Disk Utility. It should always ensure that the file system has been properly closed.
    You are right on this, I have notice Window users are in a habit of just pulling the USB out with our using safely removing. Linux is not so forgiving. I have corrupted my files on my Nook because of this. You can also corrupt file on cameras and any other devices you plug into your computer.
    Information on my Main laptop. Information on my small laptop Dell 11 3000
    Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
    Machine Registered 366271, 366273, 366275.
    Registered Ubuntu user number 18630. Registered Linux user number 458093.

  8. #8
    Join Date
    Mar 2009
    Beans
    1,982

    Re: NTFS formatted USB loses data, FAT 32 formatting doesn't

    I use USB sticks all the time, moving data between disconnected Mac, Linux and Windows systems. And an aftermarket car stereo.

    The ONLY filesystem which is installed by default on all 3 computer operating systems is FAT. The only filesystem understood by the stereo is FAT, and to make things worse it only understands about 4g of data, then it loses track. All 4 systems understand the extra naming extensions.

    Also, the guilty bit for data loss is a cache in the driver. The driver generally has a cache, and that cache is not always immediately flushed. If you don't "safely remove" or whatever it is on your current OS then you probably didn't get your cache flushed, and that's where the data corruption happens.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •