LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-20-2023, 01:41 PM   #1
ACRIzona
Member
 
Registered: Dec 2007
Location: Phoenix
Distribution: iMAC(64) Mint & Q4os
Posts: 82

Rep: Reputation: Disabled
Thumbs down 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.
 
Old 04-20-2023, 02:14 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Check iotop and maybe lsof to see what's happening.
 
1 members found this post helpful.
Old 04-20-2023, 02:39 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ACRIzona View Post
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.
 
1 members found this post helpful.
Old 05-08-2023, 02:30 PM   #4
ACRIzona
Member
 
Registered: Dec 2007
Location: Phoenix
Distribution: iMAC(64) Mint & Q4os
Posts: 82

Original Poster
Rep: Reputation: Disabled
I have retro-graded back to release 20. Problems are gone.
 
Old 05-31-2023, 08:52 PM   #5
richardthiebaud
LQ Newbie
 
Registered: Aug 2022
Posts: 1

Rep: Reputation: 0
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.
 
Old 06-01-2023, 12:00 PM   #6
ACRIzona
Member
 
Registered: Dec 2007
Location: Phoenix
Distribution: iMAC(64) Mint & Q4os
Posts: 82

Original Poster
Rep: Reputation: Disabled
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 !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmount and Eject with CD-Rom Eject Button? CrownAmbassador Linux - Hardware 3 12-26-2006 08:45 PM
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
Toggling "eject" and "eject -t" daihard Linux - Software 3 12-27-2004 03:01 AM
CD Won't Eject With "eject" Command Dr. Ephemeron Slackware 13 11-13-2003 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration