On Ubuntu 22.04, when I try to mount my USB Stick on my file explorer (right-click on it in the side bar, then 'Mount'). A window appears with "Failed to mount USB Stick, an operation is already pending". I can't figure out what is this operation. This behavior is new. The file system on the stick is ext4.
Thank you for your help
Edit:
$ sudo lsblk -e7 -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1 ext4 1.0 MediaRange 592b312e-cc07-47ae-860b-ff394c90df22
sdb
nvme0n1
│
├─nvme0n1p1
│ ntfs Wiederherstellung
│ BA44D34044D2FDD7
├─nvme0n1p2
│ vfat FAT32 06D3-FE6F 52.7M 45% /boot/efi
├─nvme0n1p3
│
├─nvme0n1p4
│ ntfs 9CF0D584F0D564D4
├─nvme0n1p5
│ ntfs B0F8812AF880F040
├─nvme0n1p6
│ ext4 1.0 d1e12f70-1d43-4777-8eac-7d66e2905a93
├─nvme0n1p7
│ ext4 1.0 67b85685-b45b-41bd-93ee-3e046062aec4 26.1G 44% /var/snap/firefox/common/host-hunspell
│ /
├─nvme0n1p8
│ swap 1 0e3aa3fe-0c2f-4393-841e-09572ea43d30 [SWAP]
└─nvme0n1p9
ext4 1.0 0bd2c977-65e0-4e7f-b4ad-54914aac258a 33.8G 63% /home
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p7 during installation
UUID=67b85685-b45b-41bd-93ee-3e046062aec4 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=06D3-FE6F /boot/efi vfat umask=0077 0 1
# /home was on /dev/nvme0n1p9 during installation
UUID=0bd2c977-65e0-4e7f-b4ad-54914aac258a /home ext4 defaults 0 2
# swap was on /dev/nvme0n1p8 during installation
UUID=0e3aa3fe-0c2f-4393-841e-09572ea43d30 none swap sw 0 0
UUID=592b312e-cc07-47ae-860b-ff394c90df22 /mnt/usbdata ext4 noatime,noauto 0 0
$ ls -ld /mnt/usbdata/
drwxr-xr-x 2 root root 4096 Sep 7 13:26 /mnt/usbdata/
$ mount | grep ext4
/dev/nvme0n1p7 on / type ext4 (rw,relatime,errors=remount-ro)
/dev/nvme0n1p7 on /var/snap/firefox/common/host-hunspell type ext4 (ro,noexec,noatime,errors=remount-ro)
/dev/nvme0n1p9 on /home type ext4 (rw,relatime)
EDIT: I still have not found a solution for this. With GParted, I can see that the data are still there on the stick, but when I try to mount it to a directory, it keeps trying forever, without finding anything.
sudo mount /mnt/usbdata
is hanging in the terminal. Isn't there any log I can find in order to see what's going on? – Maxclac Sep 11 '23 at 06:21lsblk -e7 -f
andcat /etc/fstab
and paste the output of both commands into your original question. Please indent each line 4 spaces in order to render it ascode
to make it easy to read. Then write a comment to me (@sudodus) so that I will get an alert about it. - By the way, did you enter the sudo password correctly? – sudodus Sep 11 '23 at 07:49ls -ld /mnt/usbdata
(as code) and ofmount | grep ext4
into your original question; 2. Did you reboot the computer after editing/etc/fstab
? – sudodus Sep 11 '23 at 09:20/etc/fstab