cross-posted from: https://lemmy.ml/post/9729797

I am needing to transfer a singular file of roughly 4.8GB from Linux Mint onto a thumb drive, so that I can transfer it to my Windows install on a separate partition on the same PC. However, it has repeatedly failed after 4.3GB, with an error message reading “Error splicing file: File too large”.

How do I fix this issue, or get around it? I need that file moved.

EDIT: This issue has been resolved. It was caused by the thumb drive being formatted as MSdos, reformatting it to exfat seems to have done the trick. Just used right-click “format” on linux mint, no need for console or booting up windows.

  • bluestarshield@lemmy.mlOP
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Alright, I’ve used your code, sudo mkfs.exfat -n LABEL /dev/sdb1

    but the console returns this

    exfatprogs version : 1.1.3
    open failed : /dev/sdb1, Device or resource busy
    
    exFAT format fail!
    

    what’s the problem here? I’ve cleared out all storage on the drive, and made sure that it isn’t opened in the file explorer, and it shouldn’t be reading/writing anything because it’s empty.

    thanks for the help btw

    • itslilith@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      36
      ·
      1 year ago

      You must unmount the drive before formatting. And also know that formatting wipes the drive, so if there is anything on there you want to keep, back it up beforehand

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        26
        ·
        edit-2
        1 year ago

        And triple check the device path, you don’t want to unceremoniously unmount and obliterate one of your non-system drives (shouldn’t be able to unmount your system drive)

        This may or may not be advice from learned experience

    • Nyfure@kbin.social
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 year ago

      It not only has to be not ‘open’ in the explorer, but properly unmounted. Tools like mkfs dont do that for you, its just not their job. (and might be unwanted or stop your from making mistakes like accidentally overwriting the wrong drive)

      try umount /dev/USBDRIVE

      If that still complaints about Device or ressource busy, then something is still using it.
      Either try to close things that might be the culprit, reboot and try again or, if installed and you are compfortable, you can check which processes using lsof -D (you can get that location using mount | grep )