[SOLVED] filesystem was unmounted, but failed to update userspace mount table.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
filesystem was unmounted, but failed to update userspace mount table.
Code:
umount /usb2
returns:
Quote:
umount: /usb2: filesystem was unmounted, but failed to update userspace mount table.
for a USB drive that seems to be okay otherwise. I successfully wrote to the drive before this occurred.
Later: I built kernel 5.3.9 then re-booted. During shutdown I got this same error for everything, even shm and devtmpfs. I don't know how to make sense of this.
Last edited by RandomTroll; 11-06-2019 at 09:46 AM.
Reason: New information
Is that /usb2 or should that be ~/usb2. Is that a dir under root or home?
No.
Quote:
Originally Posted by teckk
I don't know. Show output of df -h and mount
Also your fstab. Maybe someone will see something.
df and mount don't list /usb. fstab is irrelevant. When I have this problem, an orphan mtab entry sometimes persists, but clearing it makes no difference. Rebooting cleared it, but it's popped up a few times in the past. I had assumed it was a hardware problem, but when it happens to virtual filesystems - I don't know how to make sense of that.
Just a few thing that I would consider if I were in your shoes:
It is not some permission issue?
No extra clues in the system log?
Is SELinux set to enforcing?
Thanks. It's in libmount. The error is consistent with mtab not getting updated; it'd be nice if the error reported that, rather than 'userspace mount table'. It also would explain why the same error can happen to virtual file systems. The underlying problem seems to be a problem with my disk, one that doesn't show up on e2fsck.
Last edited by RandomTroll; 11-10-2019 at 10:24 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.