Re: premature umount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Aug 2021 10:56:47 -0700
Samuel Sieb <samuel@xxxxxxxx> wrote:

> On 2021-08-26 10:34 a.m., Roberto Ragusa wrote:
> > On 8/26/21 2:57 PM, Geoffrey Leach wrote:  
> >> On Thu, 26 Aug 2021 09:11:34 +0200
> >> Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> wrote:
> >>  
> >>> On 8/26/21 7:01 AM, Geoffrey Leach wrote:  
> >>>> On Wed, 25 Aug 2021 21:26:19 -0700  
> >>>  
> >>>>> You could add a "sync" after the copy and before the "umount".  
> >>>>
> >>>> Just what I needed. Thanks.  
> >>>
> >>> Absolutely not.
> >>> If umount is failing to do a complete flushing by itself it is a
> >>> serious (press-release level) bug and must be investigated.
> >>>
> >>> Which filesystem are you using?  
> >>
> >> ext4 -> vfat  
> > 
> > The destination is the importat part: vfat.
> > Are you sure the umount is successful?
> > Maybe umount fails immediately because of something else locking
> > the disk (e.g. a cd into the mounted path is enough to make umount
> > fail), the script finishes and you remove the disk assuming it has
> > been unmounted but it has not been.  
> 
> Are there any messages from the umount command?  If you run "mount",
> is the drive still mounted?

No messages, but findmnt confirms that the device is still mounted,
whereupon umount finished clean.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux