LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Linux MINT 21.1 USB Eject - writing data (https://www.linuxquestions.org/questions/linux-mint-84/linux-mint-21-1-usb-eject-writing-data-4175724280/)

ACRIzona 04-20-2023 01:41 PM

Linux MINT 21.1 USB Eject - writing data
 
Mint USB flash-drive option auto-mount is ON.
Selecting unmount or eject produces a message:
"There is data to be written to xxx before it can be dis-mounted"
The USB busy-lamp flashes constantly, for what reason ?
The USB disks are new, pre-formatted as FAT32, and empty !

I tested other old flash disks with diff formats, same problem.

Last test- Mounted USB SATA HD 4GB with 6 partitions.
The select-lamp is ON but not flashing, I take that as 'idle'.
Unmount or Eject simply turns the lamp off.

Sanity test- Same flash-drives in two old laptops,
LinuxLite & WattOS, both unmount as normal.

Any and all help is appreciated.

michaelk 04-20-2023 02:14 PM

Check iotop and maybe lsof to see what's happening.

TB0ne 04-20-2023 02:39 PM

Quote:

Originally Posted by ACRIzona (Post 6425991)
Mint USB flash-drive option auto-mount is ON.
Selecting unmount or eject produces a message:
"There is data to be written to xxx before it can be dis-mounted"
The USB busy-lamp flashes constantly, for what reason ? The USB disks are new, pre-formatted as FAT32, and empty !

I tested other old flash disks with diff formats, same problem.

Last test- Mounted USB SATA HD 4GB with 6 partitions. The select-lamp is ON but not flashing, I take that as 'idle'. Unmount or Eject simply turns the lamp off. Sanity test- Same flash-drives in two old laptops, LinuxLite & WattOS, both unmount as normal.

Any and all help is appreciated.

There is nothing to help with. Unmounting typically triggers a sync to flush the buffer before ejecting. And given that they're FAT32, they probably have some sort of Windows junk on them (you don't mention brand, but several models have 'convinient drivers' and other software in a non-erasable partition). So when you mount them, they open things...which have to be closed.

Also, if you tried different drives/formats, you could very well have file-indexing turned on, which is trying to index that mounted drive (since you auto-mounted it). That process has to stop, so that means there is data in process going to/from that drive...leading to a message.

The fact that the older laptops don't do it is a good indication of this; indexing and other such things weren't common in several 'light' distros.

ACRIzona 05-08-2023 02:30 PM

I have retro-graded back to release 20. Problems are gone.

richardthiebaud 05-31-2023 08:52 PM

i HAVE THE SAME PROBLEM IN LINUS MINT 21
 
I have the same problem in Linux Mint 21. It never happens in Linux 20 for me either.

ACRIzona 06-01-2023 12:00 PM

Recently completed a "distro-dance" of distrowatch's 64bit top dozen. They ALL have this 'ailment',,, some worse than others.
I found Manjaro seems to handle this better,,, I could mount/search/dismount without messages.
Writing on the USB, will cause a 'safe dismount' message to appear in the file manager.
However,,, writing a 1GB++ amount will cause Manjaro to pause writing, do something else???, then resume writing.
I suppose its flushing a buffer on the hard-drive. My machine does not have activity lights, its kinda boring, no messages !


All times are GMT -5. The time now is 01:30 AM.