Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugging out sdcard during copying data could be corrupted #150

Open
jasonactions opened this issue Apr 9, 2020 · 3 comments
Open

plugging out sdcard during copying data could be corrupted #150

jasonactions opened this issue Apr 9, 2020 · 3 comments

Comments

@jasonactions
Copy link

jasonactions commented Apr 9, 2020

I'd been copying file from internal storage to external sd card, during copying I plug out the SD card, afterwards, I plug in the sd card again, could be told : the card is corrupted, please repair it:

I pull the log as follows:

03-26 08:37:41.100 12200 12200 W exfat : volume was not unmounted cleanly
03-26 08:37:41.100 559 3480 D vold : exfatfsck 1.3.0
03-26 08:37:41.100 559 3480 D vold :
03-26 08:37:41.100 559 3480 D vold : Checking file system on /dev/block/vold/public:179,1.
03-26 08:37:41.100 559 3480 D vold :
03-26 08:37:41.110 12200 12200 E exfat : 'test.7z' is empty but start cluster is 0x12
03-26 08:37:41.110 12200 12200 E exfat : 'test.7z' is empty but marked as contiguous (0x20)
03-26 08:37:41.111 559 3480 D vold : File system checking stopped. ERRORS FOUND: 2, FIXED: 0.
03-26 08:37:41.111 559 3480 D vold :
03-26 08:37:41.112 559 3480 E vold : Process exited with code: 1
03-26 08:37:41.112 559 3480 E vold : Check failed (code 1)
03-26 08:37:41.112 559 3480 E vold : public:179,1 failed filesystem check

Note: the SD card is 128G with only single exfat partition.

Would you like tell me it is normal?

Thanks!

@jasonactions jasonactions changed the title 'xxx' is empty but start cluster is 0x12 'test.7z' is empty but start cluster is 0x12 Apr 9, 2020
@jasonactions jasonactions changed the title 'test.7z' is empty but start cluster is 0x12 plugging out sdcard during copyiing data could be corrupted Apr 9, 2020
@jasonactions jasonactions changed the title plugging out sdcard during copyiing data could be corrupted plugging out sdcard during copying data could be corrupted Apr 9, 2020
@LevitatingBusinessMan
Copy link

I have a very similar error that I can't get fixed.

@aaronjohnsabu1999
Copy link

Did anyone get this fixed?

@relan
Copy link
Owner

relan commented Feb 26, 2023

Sudden removal of a disk without proper unmount can cause any kind of corruption, including unrecoverable ones.

Will keep this bug open as a reminder to implement the abovementioned errors correction in fsck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants