Jump to content

External TF card files disappears, exFat


Recommended Posts

Hello, i have an Orange Pi One H3 512Mb, running Hass(docker) pretty well for years.

 

System Specifications:

USB
    - 1Tb TF card (micro SD), via usb adapter, bought as fat32, formatted as exFat.
    - Arduino Nano-CH340
GPIO
    - Arduino Pro mini as binary sensor
TF card (micro SD)
    - SanDisk 16Gb
Kernel
    - Linux armbianKickAss 5.15.72-sunxi #22.08.4 SMP Fri Oct 7 16:45:35 UTC 2022 armv7l GNU/Linux

PROBLEM:
    Commands 'mv' and 'cp' to 1Tb card results in the loss of files.
        Beheaviour:
            -shows the files for some time
            -Detected corruption when folder listed as follows:
                d????????? ? ?    ?            ?            ?  myFolder
            -fsck.exfat detects a LOT of errors, and removes most of the files

 

TF card details

Disk /dev/sda: 1000 GiB, 1073742872576 bytes, 2097154048 sectors
Disk model: STORAGE DEVICE  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xff629fb5

Device     Boot Start        End    Sectors  Size Id Type
/dev/sda1          32 2097154047 2097154016 1000G  7 HPFS/NTFS/exFAT

 

Destruction of data

root@armbianKickAss:/mnt# fsck.exfat -a /dev/sda1
exfatfsck 1.3.0
Checking file system on /dev/sda1.
File system version           1.0
Sector size                 512 bytes
Cluster size                256 KB
Volume size                1000 GB
Used space                  110 GB
Available space             890 GB
ERROR: unknown entry type 0xb0.
Fix (Y/N)? Y
ERROR: too long label (215 chars).
ERROR: unknown entry type 0xf4.
Fix (Y/N)? Y
----------------a lot of repeating lines-----------
ERROR: unknown entry type 0x9f.
Fix (Y/N)? Y
Totally 13 directories and 19 files.
File system checking finished. ERRORS FOUND: 77, FIXED: 76.

 

Edited by garfius
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines