Results 1 to 3 of 3

Thread: Is ext4 the only way to copy files from Pre-Fail but OK HDD?

  1. #1
    Join Date
    Sep 2021
    Beans
    1

    Is ext4 the only way to copy files from Pre-Fail but OK HDD?

    OS: Ubuntu 18.04.6 LTS
    HDD: ST1000LM024 HN-M101MBB (1,0 TB)
    SMART: Disk is OK (3 x Pre-Fail, 20 x Old-Age)

    I needed to copy 20 MP4 files from old laptop to brand new ADATA 64 GB flash drive. The smallest file was 420 MB and the largest file was 5,8 GB (43 GB in total).

    There are 3 ways of formatting a flash drive (ext4, NTFS, FAT). I tried them all. FAT resulted in "File to large error", NTFS resulted in "Error splicing file: Input/output error" and ext4 was a success.

    1. Why only ext4 was a success?

    2. Can I now copy those files from ext4 flash drive to Windows 10 or macOS?

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Is ext4 the only way to copy files from Pre-Fail but OK HDD?

    File too large is expected since you have a file that is larger than 4GB when running a FAT file system. You can use exfat instead and it probably would have copied fine.

    The NTFS error sounds.. odd since it shouldn't have any problems handling files larger than 4GB.

    Did you verify the checksums of the files on the failing disk and the ones on the flash drive?

    You can do that with the following command:

    Code:
    sha256sum /path/to/file
    As for accessing Ext4 on Windows 10, it isn't easy since it doesn't support it natively. There are some options for reading ext4 file systems here: https://www.thewindowsclub.com/how-t...-in-windows-10

    I don't have a mac but all the stuff I found online say that osx doesn't support ext4 without a third party app.

    I would verify the hashes of the files and then copy them to another drive that is formatted as exfat or NTFS and see if you run into the same issues.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    6,092
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Is ext4 the only way to copy files from Pre-Fail but OK HDD?

    FAT doesn't support files larger than 4GB. Support for NTFS was reverse engineered on Linux. Strange errors may occur, although generally it works. It could be a problem with block allocation, fragmentation, ... I don't know. ext4 is native Linux, so that's most likely to work on Linux.

    The classic way to work around issues with large files is to split them into smaller files. You can use the split tool. Read the manual. Merging the parts later can be done on Linux with the cat tool. I don't know what tool you have for that on Windows.

    As for that smart status, it looks like there are 3 parameters that, if exceeding a threshold, indicate failure is near and 20 parameters that, if exceeding a threshold, indicate old age. It's just the type of parameter and is always mentioned, even when not exceeding that threshold. Have you actually performed an extensive test before viewing the results? Smart data isn't always easy to interpret.

Tags for this Thread

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
  •