You are not logged in.

#1 2021-01-02 11:43:45

martin2002
Member
Registered: 2021-01-02
Posts: 7

USB Stick Problem

Hello! I have a big problem with writing on usb sticks. It's FAT32 stick. I want to write on it films for my parents. After I mount it it is protected and I haven't got a permission to write on it. After I do sudo -i it gave me to use cp on it but extremely slow.
After tons of waiting for about 12 GB. I executed umount -l /dev/sdc1 and there were a lot of waiting too and I unplugged it before the unmount. After plugging it in the TV it shows me that everything is fine but on one episode 5 minutes before the end it starts old film which was deleted.
How can I fix this. And how can I write and unmount fast usb sticks. Also I need to know why it doesn't give me to write on them.

Offline

#2 2021-01-02 12:01:30

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: USB Stick Problem

Refer to https://wiki.archlinux.org/index.php/US … ge_devices for how to mount the USB device so that non-root users have write access.

What is extremely slow - throughput in MB/s? And what did you expect instead?

Offline

#3 2021-01-02 14:43:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,632

Re: USB Stick Problem

man fsck.fat

There's likely a dirty bit and possibly conflicting FATs.

Also check "dmesg -w" for whether subsequent writing attempts cause IO errors.

Offline

#4 2021-01-02 14:58:59

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: USB Stick Problem

seth wrote:

Also check "dmesg -w" for whether subsequent writing attempts cause IO errors.

Some USB thumb drivers also like to fail silently. They report write success, but not everything is written to the flash chips (possibly because they are worn out). A remount will then show the old contents or maybe mostly new with some old mixed in.

Write speeds for USB drivers aren*t amazing either. With the best USB3 drives and transfer of a single large file you can get 200 MB/s. Small files often transfer with only 20 MB/s or less. With USB2 you are lucky if you can get 30-40 MB/s, small files still with maybe 10-20 MB/s.

Last edited by progandy (2021-01-02 15:04:23)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2021-01-02 15:50:10

martin2002
Member
Registered: 2021-01-02
Posts: 7

Re: USB Stick Problem

The speed is nearly 1 2 MB/s at some moments

Last edited by martin2002 (2021-01-02 15:50:26)

Offline

Board footer

Powered by FluxBB