FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Jun 2005
    Posts
    234

    USB drives no longer automounting

    Some time after upgrading to F27 (may have been contemporaneous, I'm not really sure), my system stopped automounting USB drives. I can mount for example, with "sudo mount /dev/sdd tmp" [or sdd1, depending on how the drive is formatted], but that's not the most convenient thing in the world. Settings>Removeable Media has the requisite checkbox checked.

    I am using XFCE, but Gnome and QT libraries are installed.

    lsusb shows the drive: Bus 001 Device 004: ID 8564:1000 Transcend Information, Inc. JetFlash

    What can I do to troubleshoot/solve this problem?

  2. #2
    Join Date
    Aug 2004
    Posts
    4,072

    Re: USB drives no longer automounting

    Quote Originally Posted by mpolo
    Settings>Removeable Media has the requisite checkbox checked.
    I also use XFCE . In Applications->File manager->Edit->Preferences-Advanced->Volume Management is checked and in configure->storage, none of the boxes are checked, yet my computer will automount USB drives. So apparently the default way to automount USB drives in the XFCE installation of FC 27 isn't by "file manager" (which I think is named "thunar').

    What can I do to troubleshoot/solve this problem?
    An expert should be able to tell us. Until one appears, I suggest inserting a USB drive and then seeing what happens in various files.

    On my machine
    The log file /var/log/messages has the line
    Mar 15 23:21:58 localhost udisksd[733]: Mounted /dev/sdg1 at /run/media/cosmo/UDISK on behalf of uid 1000
    The file /proc/mounts has the line
    /dev/sdg1 /run/media/cosmo/UDISK vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0 022,dmask=0022,codepage=437,iocharset=ascii,shortn ame=mixed,showexec,utf8,flush,errors=remount-ro 0 0
    The command
    journalctl
    produces a lengthy log and near the end (which can eventually be reached by typing a capital "G") it has the line
    Mar 15 23:21:58 localhost.localdomain udisksd[733]: Mounted /dev/sdg1 at /run/media/cosmo/UDISK on behalf of uid 1000
    Which suggests that the thing that automounts the USB drive is "udisksd". So I think you should investigate is how the behavior of that daemon is configured - or whether it is running at all.

    On my machine
    ps -ef | grep udisk
    gives the information:
    root 733 1 0 19:40 ? 00:00:04 /usr/libexec/udisks2/udisksd --no-debug
    cosmo 1275 1050 0 19:40 ? 00:00:00 /usr/libexec/gvfs-udisks2-volume-monitor
    root 4023 3156 0 23:54 pts/0 00:00:00 grep --color=auto udisk
    "Never let the task you are trying to accomplish distract you from the study of computers."

  3. #3
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    Ok. In /var/log/messages, I get this:

    Code:
    Mar 18 08:03:48 studienpraefekt kernel: usb 1-1.3: new high-speed USB device number 7 using ehci-pci
    Mar 18 08:03:48 studienpraefekt kernel: usb 1-1.3: New USB device found, idVendor=0930, idProduct=6532
    Mar 18 08:03:48 studienpraefekt kernel: usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=3
    Mar 18 08:03:48 studienpraefekt kernel: usb 1-1.3: Product: DataTraveler 2.0
    Mar 18 08:03:48 studienpraefekt kernel: usb 1-1.3: SerialNumber: 0F7098508271C995
    Mar 18 08:03:48 studienpraefekt kernel: usb-storage 1-1.3:1.0: USB Mass Storage device detected
    Mar 18 08:03:48 studienpraefekt kernel: scsi host6: usb-storage 1-1.3:1.0
    Mar 18 08:03:48 studienpraefekt mtp-probe[31100]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3"
    Mar 18 08:03:48 studienpraefekt mtp-probe[31100]: bus: 1, device: 7 was not an MTP device
    Mar 18 08:03:49 studienpraefekt kernel: scsi 6:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.04 PQ: 0 ANSI: 0 CCS
    Mar 18 08:03:49 studienpraefekt kernel: sd 6:0:0:0: Attached scsi generic sg4 type 0
    Mar 18 08:03:49 studienpraefekt journal[2367]: monitor says it's not supported
    Mar 18 08:03:50 studienpraefekt journal[2367]: monitor says it's not supported
    Mar 18 08:03:50 studienpraefekt kernel: sd 6:0:0:0: [sdd] 499712 512-byte logical blocks: (256 MB/244 MiB)
    Mar 18 08:03:50 studienpraefekt kernel: sd 6:0:0:0: [sdd] Write Protect is off
    Mar 18 08:03:50 studienpraefekt kernel: sd 6:0:0:0: [sdd] No Caching mode page found
    Mar 18 08:03:50 studienpraefekt kernel: sd 6:0:0:0: [sdd] Assuming drive cache: write through
    Mar 18 08:03:50 studienpraefekt kernel: sdd: sdd1
    Mar 18 08:03:50 studienpraefekt kernel: sd 6:0:0:0: [sdd] Attached SCSI removable disk
    Mar 18 08:03:50 studienpraefekt journal[2367]: monitor says it's not supported
    Mar 18 08:03:50 studienpraefekt journal[2367]: monitor says it's not supported
    udisks2 is running (I don't have the "--no-debug" flag, though.)

    SELinux is set to "Permissive"

    udisks --dump gives the following about the drive in question:

    Code:
    Showing information for /org/freedesktop/UDisks/devices/sdd1
      native-path:                 /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/host6/target6:0:0/6:0:0:0/block/sdd/sdd1
      device:                      8:49
      device-file:                 /dev/sdd1
        presentation:              /dev/sdd1
        by-id:                     /dev/disk/by-id/usb-Kingston_DataTraveler_2.0_0F7098508271C995-0:0-part1
        by-id:                     /dev/disk/by-uuid/EBA9-4B70
        by-path:                   /dev/disk/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-scsi-0:0:0:0-part1
      detected at:                 Sun 18 Mar 2018 08:13:48 AM CET
      system internal:             0
      removable:                   0
      has media:                   1 (detected at Sun 18 Mar 2018 08:13:48 AM CET)
        detects change:            0
        detection by polling:      0
        detection inhibitable:     0
        detection inhibited:       0
      is read only:                0
      is mounted:                  0
      mount paths:             
      mounted by uid:              0
      presentation hide:           0
      presentation nopolicy:       0
      presentation name:           
      presentation icon:           
      automount hint:              
      size:                        255836160
      block size:                  512
      job underway:                no
      usage:                       filesystem
      type:                        vfat
      version:                     FAT16
      uuid:                        EBA9-4B70
      label:                       KINGSTON
      partition:
        part of:                   /org/freedesktop/UDisks/devices/sdd
        scheme:                    mbr
        number:                    1
        type:                      0x0e
        flags:                     boot
        offset:                    16384
        alignment offset:          0
        size:                      255836160
        label:                     
        uuid:
    Which verifies that udisks knows that it is there and still doesn't mount itů

    Any ideas?

  4. #4
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    journalctl has the following:

    Code:
    Mar 18 08:12:27 studienpraefekt.alemania kernel: usb 1-1.3: SerialNumber: 0F70985
    Mar 18 08:12:27 studienpraefekt.alemania kernel: usb-storage 1-1.3:1.0: USB Mass 
    Mar 18 08:12:27 studienpraefekt.alemania kernel: scsi host6: usb-storage 1-1.3:1.
    Mar 18 08:12:27 studienpraefekt.alemania mtp-probe[32543]: checking bus 1, device
    Mar 18 08:12:27 studienpraefekt.alemania mtp-probe[32543]: bus: 1, device: 8 was 
    Mar 18 08:12:27 studienpraefekt.alemania gvfs-udisks2-vo[2367]: monitor says it's
    Mar 18 08:12:27 studienpraefekt.alemania gvfs-udisks2-vo[2367]: monitor says it's
    Mar 18 08:12:28 studienpraefekt.alemania kernel: scsi 6:0:0:0: Direct-Access     
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: Attached scsi generi
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] 499712 512-byt
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] Write Protect 
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] Mode Sense: 23
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] No Caching mod
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] Assuming drive
    Mar 18 08:12:28 studienpraefekt.alemania kernel:  sdd: sdd1
    Mar 18 08:12:28 studienpraefekt.alemania kernel: sd 6:0:0:0: [sdd] Attached SCSI 
    Mar 18 08:12:28 studienpraefekt.alemania gvfs-udisks2-vo[2367]: monitor says it's
    Mar 18 08:12:28 studienpraefekt.alemania gvfs-udisks2-vo[2367]: monitor says it's
    Mar 18 08:13:45 studienpraefekt.alemania dbus-daemon[1049]: [system] Activating v
    Mar 18 08:13:47 studienpraefekt.alemania audit[1]: SERVICE_START pid=1 uid=0 auid
    Mar 18 08:13:46 studienpraefekt.alemania systemd[1]: Starting Disk Manager (legac
    Mar 18 08:13:46 studienpraefekt.alemania dbus-daemon[1049]: [system] Successfully
    Mar 18 08:13:47 studienpraefekt.alemania systemd[1]: Started Disk Manager (legacy

  5. #5
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,117

    Re: USB drives no longer automounting

    Fedora with KDE or Gnome does an automount to /run/media/yourlogonid/devicename-label
    Gparted will give you the actual /dev/sd?

    But What is the issue with doing a cp or othr action between any linux file and /run/media/yourlogon/devicename?
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  6. #6
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    That's the problem, it is not automounting to /run/media/. I have to manually mount as root to a temp directory, do my business, then unmount. This is suboptimal.

  7. #7
    Join Date
    Jan 2013
    Location
    Ventura, CA
    Posts
    398

    Re: USB drives no longer automounting

    I have xfce and if I go to Applications > Settings > Removable Drives and Media and check the box for "Mount Removable Media when Inserted", it automounts my usb thumb drives. I also am running Fedora 27.

  8. #8
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    I had the first two boxes checked there. I checked "browse on insert" to see if it made a difference, but it's still not mounting.

  9. #9
    Join Date
    Aug 2004
    Posts
    4,072

    Re: USB drives no longer automounting

    In case it's useful, there is this old thread: https://forums.fedoraforum.org/showt...416-USB-drives
    "Never let the task you are trying to accomplish distract you from the study of computers."

  10. #10
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    The old thread is more about how to manually mount, which I can do. I'd just like the automatic mounting to work again.

  11. #11
    Join Date
    Aug 2004
    Posts
    4,072

    Re: USB drives no longer automounting

    Your journalctl has the message mentioned by post #8 in this thread: https://bbs.archlinux.org/viewtopic.php?id=227013 and post #9 lists things that might be installed to fix it.
    "Never let the task you are trying to accomplish distract you from the study of computers."

  12. #12
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    That looked promising, but:

    Code:
    Package dmraid-1.0.0.rc16-34.fc27.x86_64 is already installed, skipping.
    Package parted-3.2-28.fc27.x86_64 is already installed, skipping.
    Package libbytesize-1.2-1.fc27.x86_64 is already installed, skipping.
    Package xfsprogs-4.15.1-1.fc27.x86_64 is already installed, skipping.
    Package lvm2-2.02.175-1.fc27.x86_64 is already installed, skipping.
    Package btrfs-progs-4.11.1-3.fc27.x86_64 is already installed, skipping.
    Package mdadm-4.0-5.fc27.x86_64 is already installed, skipping.
    No match for argument: gptfdisk
    Package dosfstools-4.1-4.fc27.x86_64 is already installed, skipping.
    Since gptfdisk isn't in the Fedora repos, I assume this is a difference between Arch and Fedora.

  13. #13
    Join Date
    Aug 2004
    Posts
    4,072

    Re: USB drives no longer automounting

    On my FC 27 machine, the dependencies of udisks2 are:

    Code:
    [cosmo@localhost Latest]$ rpm -qR udisks2
    /bin/sh
    /bin/sh
    /bin/sh
    cryptsetup-luks
    dbus >= 1.4.0
    dosfstools
    e2fsprogs
    eject
    gdisk
    libacl.so.1()(64bit)
    libacl.so.1(ACL_1.0)(64bit)
    libatasmart >= 0.17
    libatasmart.so.4()(64bit)
    libc.so.6()(64bit)
    libc.so.6(GLIBC_2.2.5)(64bit)
    libc.so.6(GLIBC_2.3.4)(64bit)
    libc.so.6(GLIBC_2.4)(64bit)
    libc.so.6(GLIBC_2.7)(64bit)
    libgio-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libgudev-1.0.so.0()(64bit)
    libpolkit-agent-1.so.0()(64bit)
    libpolkit-gobject-1.so.0()(64bit)
    libpthread.so.0()(64bit)
    libpthread.so.0(GLIBC_2.2.5)(64bit)
    libsystemd.so.0()(64bit)
    libsystemd.so.0(LIBSYSTEMD_209)(64bit)
    libudisks2(x86-64) = 2.1.7-1.fc24
    libudisks2.so.0()(64bit)
    mdadm
    ntfsprogs
    parted
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(FileDigests) <= 4.6.0-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(PayloadIsXz) <= 5.2-1
    rtld(GNU_HASH)
    systemd
    systemd
    systemd
    systemd >= 209
    util-linux
    xfsprogs
    "Never let the task you are trying to accomplish distract you from the study of computers."

  14. #14
    Join Date
    Jun 2005
    Posts
    234

    Re: USB drives no longer automounting

    udisks2 is installed: libudisks2-2.7.6-1.fc27.x86_64, udisks2-2.7.6-1.fc27.x86_64

  15. #15
    Join Date
    Aug 2004
    Posts
    4,072

    Re: USB drives no longer automounting

    Quote Originally Posted by mpolo
    udisks2 is installed: libudisks2-2.7.6-1.fc27.x86_64, udisks2-2.7.6-1.fc27.x86_64
    I posted output from a FC24 machine by mistake. It should be:
    Code:
    [root@calvycat ~]# rpm -qR udisks2
    /bin/sh
    /bin/sh
    /bin/sh
    dbus >= 1.4.0
    dosfstools
    e2fsprogs
    eject
    gdisk
    libacl.so.1()(64bit)
    libacl.so.1(ACL_1.0)(64bit)
    libatasmart >= 0.17
    libatasmart.so.4()(64bit)
    libbd_utils.so.2()(64bit)
    libblockdev >= 2.14
    libblockdev-crypto >= 2.14
    libblockdev-fs >= 2.14
    libblockdev-loop >= 2.14
    libblockdev-mdraid >= 2.14
    libblockdev-part >= 2.14
    libblockdev-swap >= 2.14
    libblockdev.so.2()(64bit)
    libc.so.6()(64bit)
    libc.so.6(GLIBC_2.2.5)(64bit)
    libc.so.6(GLIBC_2.3)(64bit)
    libc.so.6(GLIBC_2.3.4)(64bit)
    libc.so.6(GLIBC_2.4)(64bit)
    libc.so.6(GLIBC_2.7)(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3.1)(64bit)
    libgio-2.0.so.0()(64bit)
    libglib-2.0.so.0()(64bit)
    libgmodule-2.0.so.0()(64bit)
    libgobject-2.0.so.0()(64bit)
    libgudev-1.0.so.0()(64bit)
    libmount
    libmount.so.1()(64bit)
    libmount.so.1(MOUNT_2.19)(64bit)
    libmount.so.1(MOUNT_2.20)(64bit)
    libmount.so.1(MOUNT_2.24)(64bit)
    libmount.so.1(MOUNT_2.26)(64bit)
    libpolkit-agent-1.so.0()(64bit)
    libpolkit-gobject-1.so.0()(64bit)
    libpthread.so.0()(64bit)
    libpthread.so.0(GLIBC_2.2.5)(64bit)
    libsystemd.so.0()(64bit)
    libsystemd.so.0(LIBSYSTEMD_209)(64bit)
    libudisks2(x86-64) = 2.7.6-1.fc27
    libudisks2.so.0()(64bit)
    ntfsprogs
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(FileDigests) <= 4.6.0-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(PayloadIsXz) <= 5.2-1
    rtld(GNU_HASH)
    systemd
    systemd
    systemd
    udev >= 208
    util-linux
    xfsprogs
    "Never let the task you are trying to accomplish distract you from the study of computers."

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 19th October 2010, 09:32 AM
  2. Automounting usb drives in Fluxbox
    By OutlawRamRod in forum Using Fedora
    Replies: 1
    Last Post: 10th February 2010, 04:49 PM
  3. USB Flash Drives and Media Cards no longer automounting
    By f4phantomii in forum Hardware & Laptops
    Replies: 7
    Last Post: 24th May 2007, 09:17 PM
  4. automounting DVD+RW drives
    By missing_myself in forum Hardware & Laptops
    Replies: 0
    Last Post: 22nd June 2005, 10:10 AM
  5. firewire drives not automounting
    By beijingjj in forum Using Fedora
    Replies: 0
    Last Post: 1st December 2004, 10:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •