USB Flash Dont mount

Issues related to hardware problems
Post Reply
ruslan133
Posts: 11
Joined: 2018/04/28 06:48:05

USB Flash Dont mount

Post by ruslan133 » 2018/04/28 07:24:18

Past installing centos 7,4 i dont hsve problem with mount flash disk
but after a while my flash disk dont mount

and i have problem with screenshot
Снимок экрана от 2018-04-28 09-22-17.png
Снимок экрана от 2018-04-28 09-22-17.png (200.94 KiB) Viewed 1855 times
"An operation already pending"

tunk
Posts: 1204
Joined: 2017/02/22 15:08:17

Re: USB Flash Dont mount

Post by tunk » 2018/04/30 11:30:20

How do you umount it?
Does it work if you reboot?

ruslan133
Posts: 11
Joined: 2018/04/28 06:48:05

Re: USB Flash Dont mount

Post by ruslan133 » 2018/05/04 06:22:13

tunk wrote:How do you umount it?
Does it work if you reboot?
Hi Tunk
no difference between the methods umaunt this device.

i do in
/usr/share/polkit-1/actions in org.freedesktop.udisks2.policy file
in section
<action id="org.freedesktop.udisks2.filesystem-mount">
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>yes</allow_active>
</defaults>

and i create udev rule
ACTION=="add" KERNEL=="sd[b-z][0-9]" RUN+="/bin/mkdir -p /mnt/%k"
ACTION=="add" KERNEL=="sd[b-z][0-9]" RUN+="/bin/mount -o uid=1000 /dev/%k /mnt/%k"
ACTION=="remove" KERNEL=="sd[b-z][0-9]" RUN+="/bin/rmdir /mnt/%k"

but it/s NO RESULT

This flash thery good worked in windows, but in centos i have my problem

Post Reply