Bug 2154705
| Summary: | cant eject usb because device is busy | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mars <csiterallat> |
| Component: | udisks2 | Assignee: | Tomáš Bžatek <tbzatek> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 37 | CC: | gnome-sig, tbzatek, vtrefny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Mars
2022-12-18 19:26:27 UTC
I remove my usb after umount, but busy. I pluged it again. Currently mount as sdc instead of sdb. lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465,8G 0 disk ├─sda1 8:1 0 150M 0 part /boot/efi ├─sda2 8:2 0 512M 0 part /boot ├─sda3 8:3 0 457,1G 0 part / └─sda4 8:4 0 8G 0 part [SWAP] sdc 8:32 1 117,9G 0 disk └─sdc1 8:33 1 117,9G 0 part /run/media/xxxx/XXXXXX sr0 11:0 1 1024M 0 rom zram0 252:0 0 8G 0 disk [SWAP] I see nothing useful in journal: // This is just the umount success? dec 18 20:30:02 wagner kernel: usb 3-1: USB disconnect, device number 2 dec 18 20:30:02 wagner systemd-homed[778]: block device /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1 has been removed. dec 18 20:30:02 wagner systemd-homed[778]: block device /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0:0:0/block/sdb has been removed. dec 18 20:30:07 wagner kernel: usb 3-1: new SuperSpeed USB device number 3 using xhci_hcd dec 18 20:30:07 wagner kernel: usb 3-1: New USB device found, idVendor=0781, idProduct=558b, bcdDevice= 1.00 dec 18 20:30:07 wagner kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 dec 18 20:30:07 wagner kernel: usb 3-1: Product: Extreme dec 18 20:30:07 wagner kernel: usb 3-1: Manufacturer: SanDisk dec 18 20:30:07 wagner kernel: usb 3-1: SerialNumber: 4C530001210403115364 dec 18 20:30:07 wagner kernel: usb-storage 3-1:1.0: USB Mass Storage device detected dec 18 20:30:07 wagner kernel: scsi host5: usb-storage 3-1:1.0 dec 18 20:30:07 wagner mtp-probe[165245]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1" dec 18 20:30:07 wagner mtp-probe[165245]: bus: 3, device: 3 was not an MTP device dec 18 20:30:07 wagner mtp-probe[165246]: checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1" dec 18 20:30:07 wagner mtp-probe[165246]: bus: 3, device: 3 was not an MTP device dec 18 20:30:08 wagner kernel: scsi 5:0:0:0: Direct-Access SanDisk Extreme 1.00 PQ: 0 ANSI: 6 dec 18 20:30:08 wagner kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0 // Replug and mount as sdc. dec 18 20:30:08 wagner kernel: sd 5:0:0:0: [sdc] 247201792 512-byte logical blocks: (127 GB/118 GiB) dec 18 20:30:08 wagner kernel: sd 5:0:0:0: [sdc] Write Protect is off dec 18 20:30:08 wagner kernel: sd 5:0:0:0: [sdc] Mode Sense: 43 00 00 00 dec 18 20:30:08 wagner kernel: sd 5:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA dec 18 20:30:08 wagner kernel: sdc: sdc1 dec 18 20:30:08 wagner kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk dec 18 20:30:09 wagner kernel: exFAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. dec 18 20:30:09 wagner udisksd[789]: Mounted /dev/sdc1 at /run/media/mars/TYRANDE127 on behalf of uid 1000 (In reply to Mars from comment #2) > dec 18 20:30:02 wagner systemd-homed[778]: block device > /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0: > 0:0/block/sdb/sdb1 has been removed. > dec 18 20:30:02 wagner systemd-homed[778]: block device > /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host4/target4:0:0/4:0: > 0:0/block/sdb has been removed. These look suspicious. Can you check output of `lsof` to see if there's anything blocking the mount? You'd likely get the same error message with manual `umount` command. |