Automount of SD card & USB external HDD with strange KDE pop up msg

Today I reviewed lots of threads posted over the last year and some bug reports too about this issue, but it's happening for me too. Both SD card and USB external HDD have autodetectable filesystems on them because I can mount them by hand with "mount /dev/mmcblk0p1 /mnt" and "mount /dev/sdb1 /mnt". But it would be nice if I didn't have to do that.
Although I didn't notice which explicit install that I did pulled them in as dependencies, I do have udisk2 and polkit installed. Also installed udiskie as a wrapper. I've been mounting these volumes by hand before now because I feel like I'm still learning the ropes of The Arch Way and guessed (apparently incorrectly) that mounting volumes by hand was just part of "The Arch Way". But based on some threads here and some bug reports, I guess this used to work in Arch but has been causing some problems for some people lately when they upgrade. I just installed Arch for the first time (using the 2015.02.01 iso image), so I don't have any background to go on.
So what is The Arch Way for automounting external drives? I've skimmed the wiki article for this and because "Development of udisks has ceased in favor of udisks2." it seems that udisks2 is preferred. But it got installed and the daemon is running for me. The user is in the wheel group. dbus is running (though like one person who filed a bug, I too have several instances of dbus in my ps -aux output and I'm not sure if that is as it should be or not). I've done no special configuration ("not wittingly" anyway; I promise, my name is not James Clapper) that I think would have affected this.
So for a newb with no special preference, how should automounting be configured in a new Arch system? In other words, what should be my first steps in trying to solve this problem for myself? I know there are lots of different ways to skin this cat, but I'd prefer the simplest and most elegant solution that does not depend on KDE or GNOME or other unnecessary tools. I've just (with this Arch system I just installed) begun using i3wm and I think I'll be sticking with it. That said, however, it's clear that I inadvertently/unwittingly managed to get some elements of KDE into memory as the following http://gamonics.org/img/2015-02-26-1731 … _scrot.png shows. This popped up both times, when I plugged in my SD card and when I plugged in my USB drive. Any thoughts on what's going on here? I did install okular explicitly because I think it's one of the best PDF viewers, but I don't understand why KDE is reporting anything to me when I'm running i3 and insert an SD card or a USB disk.
And in the terminal, I get this output (apparently from udiskie):
[root@archippocrates archie]# Failed to show notification: The connection is closed
not adding /org/freedesktop/UDisks/devices/mmcblk0: unhandled device
mounted /org/freedesktop/UDisks/devices/mmcblk0p1 on /media/3532-3338
Failed to show notification: The connection is closed
Although the volume does get mounted automatically.
Thanks for any thoughts.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Last edited by Gamonics (2015-02-27 00:25:01)

I personally can't answer the question of "simplest and most elegant" way of mounting devices. It all depends on what you want. If you expect more exotic functionality, say correct unmounting of devices if they were disconnected during a sleep cycle, there's probably no way around udisks2. For that you get a complex piece of software prone to... unexpected behaviour. Mind you some of it is related to front-ends like GVFS.
As to your KDE issues, last I checked mount handling was disabled by default there, but you can control it manually (see man kcmshell4). Though I haven't followed up on KDE 5 developments. If going with udisks2, I'd recommend using devmon from the udevil package as a front-end (more details on the wiki udisks page).
PS: multiple dbus instances are expected, check the user names and specified arguments in the ps output.
edit: grammar. :X
Last edited by Alad (2015-02-27 17:03:31)

Similar Messages

  • USB External HDD Enclosure with a 500GB HDD!!

    Hi All,
    I was just wondering if anyone has come across using a 3rd party USB external HDD enclosure with a hard drive (mine is 500GB HDD). What I am trying to do is to format the HDD so both PC and MAC can use it but it will be mainly connected to my iMAC. I have tried by using PC to format the HDD to NTFS but MAC will not show the HDD on the desktop when I plug the USB to the back of the iMAC.
    I have done some researches and it seems the only way to do make this possibe is to format it into FAT32. So I have tried to use FDisk to make the partition but it doesn't seems to support anything bigger than 120GB, now I am really stuck. If anyone knows any quick and painless solution, please spare me some advice.
    Headache!!
    Dave
    iMAC 20" Core2 Duo 2.16 1GB Mac OS X (10.4.9) Mac OS X (10.4.9)

    Windows can use, but not format, large FAT32 partitions. Microsoft wants to discourage using FAT32 for portable storage (for marketing reasons).
    The solution is to use Mac's Disk Utility to format the disk as FAT32 (misnamed MS-DOS in Disk Utility). The disk will then be read/write by both Mac and PC.
    Also, it's worth pointing out that you can read and write NTFS disks using MacFUSE with the NTFS-3G plugin. Albeit, this is very awkward to do unless you've got some UNIX shell experience.

  • Have Airport Base: Want to share external HDD with Mac and PC

    I have an Airport Base station with an external HDD connected via USB that has 2 partitions (1 in FAT32 & the other in NTFS).
    I can access the eHDD via my Mac and listen to my music, photos, etc...
    I want my XP machine to be able to do access the same eHDD and listen to music, see photos, etc.
    My XP machine connects fine to the base station to use the Internet.
    How do I share the external HDD so that it pops up in the Explorer in my XP machine?

    Look into using exFAT format http://en.wikipedia.org/wiki/ExFAT

  • How can I migrate an Aperture library from an external HDD with Mac OS Extended (Journaled, Encrypted) format?

    How can I migrate an Aperture library from an external HDD with Mac OS Extended (Journaled, Encrypted) format?
    I used to store my pictures on an external hard drive using the latest version of Aperture. Now I tried migrating my Aperture library to Photos. However, after a short moment an error message popped up telling me that "Photos was unable to make a copy of your library before preparing it. Photos does not have the necessary permissions...".
    My external HDD doesn't need any permission repairs nor is the system prohibited to read from or write to it.
    Thanks for any advice in advance!
    Gohtac

    My guess is that the encryption is the problem for the new app.

  • Installation of Windows 7 via USB External HDD (Boot Camp Assistant)

    How do I mount Windows 7 Ultimate disk image (.iso) onto my USB external HDD so that I can boot using that USB external HDD? I have tried reEFIt, but it doesn't work for me. It may be because I did something wrong. I would appreciate a comprehensive guide. Thanks.

    i suspect you haven't prepared the USB drive as a boot volume.
    You can absolutely do this. It is detailed on CNET in the following article: http://reviews.cnet.com/8301-31012_7-20020513-10355804.html

  • I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • External HDD with Partitions not functioning in Yosemite

    I was part of the Public Beta for Yosemite and didn't have any issues. But since upgraded to the full version of Yosemite, by external HDD with 2 partitions (one for files and one for Time Machine) has been acting strangely. I can still access (read/write) the partitions with my files on. But the Time Machine Partition doesn't mount and is greyed out in Disk Utility. I have tried to repair, erase, reformat the drive but none of these options work because it says that it can't access the drive (because it won't mount). I don't have access to a non-Yosemite Mac at the moment, but even so, I still need to use the HDD on my Yosemite Mac. Any suggestions?

    I had exactly the same problem after installing Yosemite.  Had the drive checked out by a local PC repair company who could not find anything wrong with the HD (Segate) but suggested I checkout the warrantee.  I tried using the Apple disk verification and repair tools - hopeless.  So I returned the drive to Seagate who replaced it with another "re-certified" drive.  I was not comfortable with using this as it had (in theory) failed; so might another second hand unit. So I bought a new Western Digital which does the job.  No changes to the operating system needed.
    This leave me with a strange taste in my mouth! 
    Was the original drive faulty or not (Seagate didn't tell me what was they simply replaced it)?
    Did Yosemite trash the dish - I will never know?
    Why did the WD HD work and not the Seagate?
    Life is too short - I moved on - but it did cost me over £100 to restore my backup facility for no apparent reason.
    PS the Seagate replacement is now used for backing up a laptop - OS Windows Vista - no problems...........

  • Automatically mount USB 3.0 WD External HDD with iMac 24-inch mid-2007

    I am using a 2TB Western Digital (WD) My Book Essential external Hard Disk Drive for my iMac 24-inch mid-2007 to use it as a Time Machine backup disk. This HDD only comes with a USB 3.0 connection. 
    Function-wise, it works with the iMac and Time machine uses it for backup without any issues.
    However, the following problem occurs at every restart: the HDD does not mount automatically. And Time Machine stops backuping. To make it work again, I have to either unplug/replug the power cable of the HDD or unplug/plug the USB cable of the HDD so it mounts again and can be used by Time Machine. When unmounted, I tried to see if the disk was at least visible in Disk Utility so I could mount it from there but it does not appear in Disk Utility until I physically unplug/plug it back again.
    For troubleshooting purposes, I have tried to use this HDD with my MacBook Pro Retina 2013 and I don't have the same problem as the HDD mounts itself automatically when I restart.
    So I assume the problem reside in the way the iMac mid-2007 handle USB 3.0 as it was probably manufactured before the USB 3.0 standard was developped.
    Would anyone know a possible workaround for this issue? I don't have too many hopes but one never knows...

    I am using Mavericks 10.9.1.
    The problem was also occuring when I was running Mountain Lion.
    It looks backward compatible to me except when it comes to automatically mount itself after a restart.

  • USB External HDD not recognised in OSX 10.5.4

    Hi,
    I am attempting to use an ISOGEAR250 2.5" IDE external HDD on my iMac.
    This deviceis advertised as 'compatible with OS/X', which is in fact only true up until version 10.4.9.
    The device is not detected on any OS/X version with the IOUSBMassStorrageClass.kext or IOUSBfamily.kext kernel extensions of any version of OS/X past 10.4.9.
    The only way to get this device to detect on Leopard is to revert the specific kernel extensions to earlier versions, and use the USB Prober utility. This is quite a dangerous exercise, and can lead to operating system instability.
    I have tried the device on numerous Apple computers, and it only works on the ones with OS/X 10.4.9 or earlier installed. I have also experimented with many different file system formats. This device works fine on Windows machines, including Windows in Bootcamp, and Windows using VMWare or Parallels.
    For your information, the device does turn up in the System Profiler with the following info, but will refuse to mount with kernel extensions past version 10.4.9:
    USB4500 FW1.04:
    Version: 0.001
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: DATAST0R Technology Corp
    Product ID: 0x4500
    Serial Number: 1966XXXXXXXXXXXX (I added in the X's)
    Vendor ID: 0xed06
    If I plug the HDD in while my iMac is sleeping, it will wake up the iMac.
    I have tried the device on both the iMac's built-in USB ports, as well as with a powered USB hub.
    Numerous other users have had similar of the same problem
    (see: http://discussions.apple.com/thread.jspa?messageID=7835455), and yet Apple has not yet rectified the problem, which is clearly arising from the update to the operating system, and not the device itself.
    Does anyone have a fix for this problem, aside from reverting the kernel extensions and using the USB prober?
    Thanks for your help,
    Cal

    From searching the web, I am tempted to say the Iso Gear is quite an exotic device.
    It's up to Astone them to deliver a firmware upgrade for their device to work with Mac OS X 10.5, as Apple probably follows USB 2.0 standards when accepting (or not) an external hard drive.
    diskutil became more picky in 10.5 (been bitten myself) but still, I am not sure whether this is due to Apples development teams faults or due to to Astone following standards.
    There has been an issue in 2006 with LaCie drives on OS X 10.4 which were resolved by their firmware upgrade.
    I know this is of no help to you, but consider not just talking on Apple forums about this but also on Astone help channels.
    --greg

  • USB external HDD

    I moved my library from my laptop to an external USB HDD (R:)and everything seems to have gone OK. all the libray shows in ITunes shared music etc.
    I have ITunes on my desktop and when using the USB drive there, about 600 songs in the library do not show. No particular order of songs not showing. I added some CD's on the laptop yesterday before moving everything to the USB drive today. All of them show on the laptop, some do not show on the desktop
    sort of new to this and have done quite a bit of searching and can't seem to google a simialr question.
    Both PC's are WinXP Home.
    Thanks for any help
    Bob

    Satellite A105-S4114 
    My Seagate "Freeagent Desktop p/n 9nk2ae-500 is not consistently recognized
    Interesting, Dall. We have Seagate USB drives here with the same problem. Sometimes they are recognised and sometimes not.
    We've found that turning them off and then on again usually fixes that.
    If it doesn't work for you, open Disk Management (diskmgmt.msc) and click Rescan Disks on the Action menu.
    I can only guess that the problem is on Seagate's side.
    If you find a better solution, please let us know.
    -Jerry

  • Windows 7 64bit doesn't recognize the USB External HDD Stor E art 3.5"

    I purchase the External HDD Stor E art 3.5" and pass a few days the windows don't recognize the HDD. Try to connect the drive to other 2 USB ports and nothing happen. Use a USB pen drive to see if was a problem with the USB ports but all 3 are OK. Try it on the Asus notebook and windows 7 recognize the HDD. I formated the HDD in FS NTFS. In the disk managment don't show the external HDD. What can I do to resolve this problem?
    My notebook is a Qosmio F60

    One last thing you can do about that.
    Install OS again using original Toshiba recovery image. After doing this you will have clean preinstalled OS and everything should work well again.
    If the same will happen again you should contact nearest Toshiba service and try to clarify the situation.
    I know it is pretty radical solution but, believe me, most effective to check notebook functionality.

  • External HDDs With Windows XP SP2

    Hello, Tomorrow I will be installing Windows XP on both of my macs (both run 10.5.2). I have 3 external HDDs connected to one of them, two of which use USB and one Firewire 800 (one of the USB HDDs is formated in FAT32 and the rest of the HDDs in Mac OS Extended Journaled). My question is, when I boot into Windows XP, will XP be able to see the HDDs Formated in Mac OS Extended and if so will it complain that they need reformatting? I never disconnect them, so will this be a problem?

    Welcome to the Apple Forums:
    P will not see the drive formatted with in OS extended and therefore will not complain about it. You can leave them connected while in XP.
    One thing I would recommend is that when you are in the process of installing Windows XP via Boot Camp then I would recommend that you remove all external peripherals with the exception of the mouse and keyboard. This will eliminate any possible complications during installation. You can attach all of them once installation of XP is completed.
    Axel F.

  • External Hdd with Windows XP Question

    My dad had a desktop pc crash, the hdd is still good but he purchased another pc and I wanted to know how to go about turning that external Hdd into a virtual machine. I usually run paragon to make an image of my hdd. So I was wondering if I needed to get the cables 2 go adapter so I can hook the hdd up via USB and image the disc that way or am I missing an easier way to do this!
    Thanks for all your help!

    Welcome to the Apple Forums:
    P will not see the drive formatted with in OS extended and therefore will not complain about it. You can leave them connected while in XP.
    One thing I would recommend is that when you are in the process of installing Windows XP via Boot Camp then I would recommend that you remove all external peripherals with the exception of the mouse and keyboard. This will eliminate any possible complications during installation. You can attach all of them once installation of XP is completed.
    Axel F.

  • External HDD with Airport Extreme gets stuck

    Hi guys,
    I hope you can help me. I bought an Airport Extreme last december.
    The problem is that I can enter my External HDD via Windows 7. After reading and writing at the HDD, Windows Explorer get stuck, and it will say it couldn't find the path Z:\ ..... My Airport Extreme also gets stuck. I lose my signal (still connected to Airport, but not to internet) and I have to unplug it. After it the Airport will start up again and everything works.
    I tried several things but it didn't work:
    - Hard reset
    - Different hard disk (with external power supply)
    - Today I went to the Apple Store in Haarlem, and I got a new Airport, but this one has the same problem!
    I formatted the hard disk to FAT32.
    Please help me!

    Thank you for your reply!
    My problem is slightly different. The hole AirPort is stuck, it won't do anything. Wifi stays connected, but there's no Internet connection. Also my iPad and iPhone don't have internet connection anymore.
    The problem arise also when I'm just viewing pictures at the external hard disk, or just browsing through folders. The only way to get all working again is to unplug the AirPort from electricity.
    It's kind a weird that Apple uses this feature as unique selling point, but unfortunately it doesn't work for PC!
    Simple and secure file sharing.
    AirPort Extreme can turn your external USB hard drive into a secure drive you can share across your Wi‑Fi network and access securely over the Internet. All the documents, videos, photos, and other files instantly become available to anyone on the network, Mac and PC users alike. It’s perfect for file sharing, collaborative projects, and more.

  • Access USB external HDD connected to Airport Extreme

    Hi.
    Today I configured "Back to my Mac" and I'm having a little issue with the external HDD that is connected to the Airport.
    Let me explain the configuration: Airport Extreme (latest version) configured with Back to My Mac option, with an external HDD connected using USB port (The HDD is externanly powered). iMac computer with OSX Mavericks wireless connected, configured with iCloud Account and Back to My Mac with screen sharing).
    I can access the shared screen and control the iMac from my Macbook Air outside my home network.
    The issue is when I try to access the "network HDD" because I can connect using the right user but Finder windows never shows the HDD content. I have to disconect and reconnect to the external HDD to be able to see the files (If I have 3 windows and want to access the HDD on each of the 3 windows, I have to disconnect and reconnect 3 times).
    Question:
    There is any way to access the external HDD and be able to see its content using the configuration mentioned? The disconnect and reconnect procedure for each window is normal? There is a better configuration I can apply?. Just as information, from my MacBook Im able to see perfect the HDD content from outside my home network.
    I know the question is a little bit confusing, but if you need any additional info please let me know.
    Thank you.

    Does this help?
    http://apple.stackexchange.com/questions/117135/access-disk-attached-to-airport- extreme-over-internet

Maybe you are looking for

  • What happens when a OUT parameter of a web-service returns an empty string

    Hi, Any idea on how to deal with the situation when a web-service returns an empty string I get the following System Exception:- Caused by: java.lang.AssertionError: Attempt to set empty javaType to ticketResponse(out,0) :: fuego.type.FuegoClass$Lazy

  • Is there ANY way to get songs from PC to Mac?

    New mac and new iPod - all songs on a pc and pc formatted old mini... help!

  • Function Keys on Selection-Screen

    Hi, I used function keys in one of my report program. Now, if some check box is checked in the customization that function should be displayed, otherwise shouldnot be displayed. I made use of "loop at screen" to make that application button invisible

  • Renaming Ad logon name not reflecting during Mac login

    Hello Guys, Thanks in advance, I have added the Mac to Active Directory and being using domain credentials to login to Mac. Post renaming of the User Logon name in AD not able to login to Mac with changed credentials. Kindly suggest me some Links or

  • HELP PLEASE - media test failure - check cable

    Hi - I have a toshiba satellite 1955-s801. It crashed on me some time ago and I am now trying to fix it. The message I receive when I turn it on : " For Realtek RTL8139 (A/B/C)/,RTL8130 PC/Fast Ethernet Controller V2.12 (010425) PXE-E61  media test f