USBストレージデバイスをコンピュータに接続してもマウントされないことがよくあります。 KDEパネルでUSBドライブが認識されていることがわかりますが、マウントされていません。パネルで「インストール」ボタンをクリックできますが、何も起こりません。デバイスを取り外して再接続すると、常に2番目にインストールされます。
sudo journalctl
関連するログ行を調べたところ、2つの違いが見つかりました。まず、失敗したインストールには追加の行があります。
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver usb-storage
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver uas
2番目(おそらくあまり重要ではない)、mtp-probe
USB大容量記憶装置がカーネルによって検出される前にマウントエラーが発生します。この順序が適用されると逆になります。
完全なログは以下に再現されています。これは、失敗した接続、切断、および稼働中の接続を示します。 USBデバイスを初めて接続するときにマウントするにはどうすればよいですか?
私はArch Linuxを使用していますが、Kubuntuでもこのような経験をしました。
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usb 4-1.2: new high-speed USB device number 7 using ehci-pci
Mar 04 14:35:34 sparhawk-XPS-17 mtp-probe[5109]: checking bus 4, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2"
Mar 04 14:35:34 sparhawk-XPS-17 mtp-probe[5109]: bus: 4, device: 7 was not an MTP device
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usb-storage 4-1.2:1.0: USB Mass Storage device detected
Mar 04 14:35:34 sparhawk-XPS-17 kernel: scsi host6: usb-storage 4-1.2:1.0
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver usb-storage
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver uas
Mar 04 14:35:35 sparhawk-XPS-17 kernel: scsi 6:0:0:0: Direct-Access USB Flash Memory PMAP PQ: 0 ANSI: 4
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Write Protect is off
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Mode Sense: 23 00 00 00
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] No Caching mode page found
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sdc: sdc1
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Attached SCSI removable disk
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" has new interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Part
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:39 sparhawk-XPS-17 kernel: usb 4-1.2: USB disconnect, device number 7
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Blo
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" lost interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:39 sparhawk-XPS-17 systemd-udevd[212]: error opening USB device 'descriptors' file
Mar 04 14:35:43 sparhawk-XPS-17 kernel: usb 4-1.2: new high-speed USB device number 8 using ehci-pci
Mar 04 14:35:43 sparhawk-XPS-17 kernel: usb-storage 4-1.2:1.0: USB Mass Storage device detected
Mar 04 14:35:43 sparhawk-XPS-17 kernel: scsi host7: usb-storage 4-1.2:1.0
Mar 04 14:35:43 sparhawk-XPS-17 mtp-probe[5198]: checking bus 4, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2"
Mar 04 14:35:43 sparhawk-XPS-17 mtp-probe[5198]: bus: 4, device: 8 was not an MTP device
Mar 04 14:35:44 sparhawk-XPS-17 kernel: scsi 7:0:0:0: Direct-Access USB Flash Memory PMAP PQ: 0 ANSI: 4
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Write Protect is off
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Mode Sense: 23 00 00 00
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] No Caching mode page found
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sdc: sdc1
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Attached SCSI removable disk
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" has new interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Part
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:45 sparhawk-XPS-17 udisksd[554]: Mounted /dev/sdc1 at /run/media/lee/Lee-key on behalf of uid 1000
Mar 04 14:35:45 sparhawk-XPS-17 org.gtk.Private.UDisks2VolumeMonitor[420]: index_parse.c:190: indx_parse(): error opening /run/media/lee/Lee-key/BDMV/index.bdmv
Mar 04 14:35:45 sparhawk-XPS-17 org.gtk.Private.UDisks2VolumeMonitor[420]: index_parse.c:190: indx_parse(): error opening /run/media/lee/Lee-key/BDMV/BACKUP/index.bdmv
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: true "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:45 sparhawk-XPS-17 polkitd[416]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount for system-bus-name::1.258 [kdeinit4: kded4 [
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usb 4-1.2: new high-speed USB device number 7 using ehci-pci
Mar 04 14:35:34 sparhawk-XPS-17 mtp-probe[5109]: checking bus 4, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2"
Mar 04 14:35:34 sparhawk-XPS-17 mtp-probe[5109]: bus: 4, device: 7 was not an MTP device
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usb-storage 4-1.2:1.0: USB Mass Storage device detected
Mar 04 14:35:34 sparhawk-XPS-17 kernel: scsi host6: usb-storage 4-1.2:1.0
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver usb-storage
Mar 04 14:35:34 sparhawk-XPS-17 kernel: usbcore: registered new interface driver uas
Mar 04 14:35:35 sparhawk-XPS-17 kernel: scsi 6:0:0:0: Direct-Access USB Flash Memory PMAP PQ: 0 ANSI: 4
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Write Protect is off
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Mode Sense: 23 00 00 00
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] No Caching mode page found
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Assuming drive cache: write through
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sdc: sdc1
Mar 04 14:35:36 sparhawk-XPS-17 kernel: sd 6:0:0:0: [sdc] Attached SCSI removable disk
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" has new interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Part
Mar 04 14:35:36 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:39 sparhawk-XPS-17 kernel: usb 4-1.2: USB disconnect, device number 7
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Blo
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" lost interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:39 sparhawk-XPS-17 baloo_file[640]: Found removable storage volume for Baloo undocking: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:39 sparhawk-XPS-17 systemd-udevd[212]: error opening USB device 'descriptors' file
Mar 04 14:35:43 sparhawk-XPS-17 kernel: usb 4-1.2: new high-speed USB device number 8 using ehci-pci
Mar 04 14:35:43 sparhawk-XPS-17 kernel: usb-storage 4-1.2:1.0: USB Mass Storage device detected
Mar 04 14:35:43 sparhawk-XPS-17 kernel: scsi host7: usb-storage 4-1.2:1.0
Mar 04 14:35:43 sparhawk-XPS-17 mtp-probe[5198]: checking bus 4, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2"
Mar 04 14:35:43 sparhawk-XPS-17 mtp-probe[5198]: bus: 4, device: 8 was not an MTP device
Mar 04 14:35:44 sparhawk-XPS-17 kernel: scsi 7:0:0:0: Direct-Access USB Flash Memory PMAP PQ: 0 ANSI: 4
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Write Protect is off
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Mode Sense: 23 00 00 00
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] No Caching mode page found
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Assuming drive cache: write through
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sdc: sdc1
Mar 04 14:35:45 sparhawk-XPS-17 kernel: sd 7:0:0:0: [sdc] Attached SCSI removable disk
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8" has new interfaces: ("org.freedesktop.UDisks2.Drive")
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/drives/USB_Flash_Memory_00187D0F56A0EE214000ABF8"
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc"
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: QObject::connect: Cannot connect (null)::accessibilityChanged(bool,QString) to Baloo::StorageDevices::slotAccessibilityChanged(bool,QString)
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Part
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:45 sparhawk-XPS-17 udisksd[554]: Mounted /dev/sdc1 at /run/media/lee/Lee-key on behalf of uid 1000
Mar 04 14:35:45 sparhawk-XPS-17 org.gtk.Private.UDisks2VolumeMonitor[420]: index_parse.c:190: indx_parse(): error opening /run/media/lee/Lee-key/BDMV/index.bdmv
Mar 04 14:35:45 sparhawk-XPS-17 org.gtk.Private.UDisks2VolumeMonitor[420]: index_parse.c:190: indx_parse(): error opening /run/media/lee/Lee-key/BDMV/BACKUP/index.bdmv
Mar 04 14:35:45 sparhawk-XPS-17 baloo_file[640]: true "/org/freedesktop/UDisks2/block_devices/sdc1"
Mar 04 14:35:45 sparhawk-XPS-17 polkitd[416]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.freedesktop.udisks2.filesystem-mount for system-bus-name::1.258 [kdeinit4: kded4 [