KDE - automatic mounting removable media broken?
Hi,
I have just installed Arch Linux, along with KDE unstable.
The last time I used Arch and KDE (this was several months back, I think), I remember removable media working out of the box.
However, this time when I insert a USB drive, nothing seems to happen.
I have the udisks2 package installed, but udisks is not installed.
I have not added myself to the storage group (or any other special groups) as per the recommendation on the wiki regarding systemd (https://wiki.archlinux.org/index.php/Users_and_Groups).
When I insert the USB drive, I see the following in dmesg:
[ 7849.682638] usb 2-2: new high-speed USB device number 3 using ehci_hcd
[ 7849.809054] scsi5 : usb-storage 2-2:1.0
[ 7850.813229] scsi 5:0:0:0: Direct-Access SanDisk Cruzer Blade 8.02 PQ: 0 ANSI: 0 CCS
[ 7850.816230] sd 5:0:0:0: [sdb] 7856127 512-byte logical blocks: (4.02 GB/3.74 GiB)
[ 7850.816971] sd 5:0:0:0: [sdb] Write Protect is off
[ 7850.816975] sd 5:0:0:0: [sdb] Mode Sense: 45 00 00 08
[ 7850.817593] sd 5:0:0:0: [sdb] No Caching mode page present
[ 7850.817597] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 7850.820095] sd 5:0:0:0: [sdb] No Caching mode page present
[ 7850.820101] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 7850.859614] sdb: sdb1
[ 7850.864851] sd 5:0:0:0: [sdb] No Caching mode page present
[ 7850.864857] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 7850.864862] sd 5:0:0:0: [sdb] Attached SCSI removable disk
Any ideas on how to get this working?
Cheers,
Victor
Hi,
I have similar problem after major system upgrade. I can no longer mount removable drives as regular user. Only root can do that.
How can I allow any user (or at least my user) to mount/umount any media with any file system?
I would like to be able to mount in KDE extrernal usb dvd with UDF media, or /dev/sdh5 with NTFS or SD card with FAT32 in usb card reader.
I used to work in KDE before upgrade. Now i'm not authorized..
[11106.331210] usb 1-1.3: new high-speed USB device number 5 using ehci_hcd
[11106.419120] usb-storage 1-1.3:1.0: Quirks match for vid 13fe pid 3600: 4000
[11106.419140] scsi7 : usb-storage 1-1.3:1.0
[11107.443529] scsi 7:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 0 CCS
[11107.900172] sd 7:0:0:0: [sdb] 62521344 512-byte logical blocks: (32.0 GB/29.8 GiB)
[11107.901916] sd 7:0:0:0: [sdb] Write Protect is off
[11107.901920] sd 7:0:0:0: [sdb] Mode Sense: 03 41 00 00
[11107.903720] sd 7:0:0:0: [sdb] No Caching mode page present
[11107.903729] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[11107.909408] sd 7:0:0:0: [sdb] No Caching mode page present
[11107.909412] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[11107.928787] sdb: sdb1
[11107.933764] sd 7:0:0:0: [sdb] No Caching mode page present
[11107.933768] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[11107.933771] sd 7:0:0:0: [sdb] Attached SCSI removable disk
Similar Messages
-
Thunar doesn't automatically mount removable devices
This is a newbie question, but I cannot find how Thunar automatically mounts removable devices. I've read the wiki and it says that I don't have to do anything else besides installing Thunar. Once I plug in my removable device, it can be seen in lsblk, but I need to manually mount it using the terminal. Thunar doesn't do anything to make it appear in the file system. Did I miss something?
karol wrote:
https://wiki.archlinux.org/index.php/Th … me_Manager says
While Thunar can support automatic mounting and unmounting of removable media, the Thunar Volume Manager allows extended functionality, such as automatically running commands or automatically opening a Thunar window for mounted media.
so thunar-volman shouldn't be required.
Exactly. However, I tried to install the volume manager, but it didn't help. It should work without it.
karol wrote:Do you have gvfs installed?
I didn't (judging from the fact that writing gvfs in the terminal didn't find anything). I installed it, but nothing changed. How to configure it?
Last edited by decas (2014-02-16 14:43:16) -
Automatically mount flash drives in AwesomeWM
In Gnome when you put in a flash drive, it automatically mounts it in /media, and it's owned by me - so you can open a file on the flash drive in a file manager, the file isn't read only. Is there anyway to do this in AwesomeWM?
You could just run thunar as a daemon and use it's volume management system.
pacman -Sy thunar thunar-volman
Start it with:
thunar --daemon
It will automatically mount removable drives. -
Shares list is missing removable media.
I'm running a small LAN with PCs and Macs happily sharing files.
The one Mac can see the other Mac's internal hard drives, external FW hard drives, CDs, DVDs, and even mounted dmg image files.
Both Macs cannot see the othe Mac's mounted Jaz disks, Zip disks, or my small 128 MB flash drive in the shares list.
They are both running Tiger X.4.3 and the problem in seen on both Macs.
I am logged in as the Admin in both Macs. I see nothing in "Get Info" that can help me.
From a file sharing perspective, why should a Jaz or Zip disk be any different than a CD or DVD??The following media automatically show up in the Network Shares List:
- All Internal Hard Drives
- CDs & DVDs
- mounted DMG file
- External FireWire Hard Drives
The following media do NOT show up in the Network Shares List:
- Jaz & Zip
- USB Flash Drive
- Floppy & Superdisk
> No, this is not a Tiger bug. I'm not quite sure how
that was inferred from my suggestion to use a helpful
tool.
Since you just said, "Go download Sharepoints...", I admitted it was only an assumption. Maybe Tiger bug or a problem with some setting, because I merely think it's curious that an external FW drive is a share and a mounted disk image is a share, yet a flash drive is not, and a Jaz/Zip disk is not.
> Sooo,
You say "installation is self-explanatory, but it
makes no difference".
But then you say 'would spend the time setting up the
shareware if it will help, but wonder if you have
to'?
You kinda twisted my words around. I'd rather find out if my installation is corrupted or if I have something really screwed up with my hardware, than jump in and start using a 3rd party utility. Despite that, I still took the time to run the program, but no matter what settings I try, I cannot see the Jaz/Zip/flash disks on the other Mac.
Maybe this is normal Tiger behavior? To see certain types of removal media and not others. I don't know and it's the question I'm trying to get answered. If it's normal Tiger behavior, then 3rd party is obviously my only option.
> No. You don't have to. You can try editing the
/etc/smb.conf file by hand, which is the file that
manages folder/volume sharing.
Go read about Samba, so you understand the smb.conf
business.
Since I'm using PCMacLan on the PC, my main concern in not Samba or Windows File Sharing. My main concern right now is that I can't even get the two Macs to see each other's Jaz/Zip/flash using plain old AFS (Apple File Sharing)?
> This software takes care of file/volume sharing with
a typically useful Macintosh GUI for non-CommandLine
users, by editing the smb.conf file for you, oh, and
it helps manage network permissions for your users,
too.
If you haven't installed and tried the software
(Sharepoints), try it and humor us. But try not to
resist taking the easy way.
I tried it and it did not work.
> If you have installed and tried it, and it still
doesn't seem to work, then let's tackle that.
I would very much appreciate that. I would also appreciate confirmation that it's normal for Tiger to automatically share an external FireWire hard drive but not a Jaz/Zip/or flash.
> Devices like External hard drives are not
automatically viewed as a network share, simply
because they're mounted on the host machine.
More confusion. Isn't an external FW hard drive mounted on the host machine? I can and do automatically share my external FW hard drives despite what you assert here. Isn't a CD/DVD or a dmg image mounted on the host machine? I have no problem with those showing up in the shares list either.
Just found out... add floppy disks to the list. You can see the CD/DVD as a share but not a floppy disk. Again, don't you see this as somewhat contradictory behavior?
If you decide to reply, please try to drop the sarcasm, ok? I think you're taking my first reply a little too personally.
I just wanted to know why my two installations of Tiger seem to treat some kinds of external media differently than other kinds of external media.
If you don't know the answer just say so, there's no need to get all itchy with me. -
Stability of Removable Media support in Linux?
Hey all, I'd previously thought support for removable media in linux was very good, and everthing I've used has been detected and mounted correctly and such, however I have experienced some corruption on them, especially on my microSD, as I've recently lost a few photos.
I'm wondering the current status of the support in linux, is it stable, are there any problems, or is it my configuration?
I use Thunar+Hal to manage my removable media.
ThanksI have found one "odd" issue with Linux: sometimes it delays writing to some external usb card readers. It might be an issue with the reader but it seems absent in XP. I have a kingston multi card reader. I started using it to run my live Arch (Chakra-Live) because it was faster than an ide sd card adapter (odd); however, if I saved my overlay, the drive would show little activity while it was using squashfs on the overlay, and right at the end, the reader light would start flashing but the machine would shut down while the light was still going... and it always botched the save and lost data. It only happened with the external reader; if the card was mounted on the internal reader on my eee-box, or in the ide adapter, it was fine.
Do make sure you do unmount / safely remove the drive, and maybe wait a few seconds. I know my sandisk micromate has no light, so there is no way of telling if has stopped or not. -
For some reason lately, my USB mounts, but doesn't show up in the Finder left-hand area with the other removable media, such as DVDs. I have to access it via My Computer, where it does show up. And I have to eject it in Disk Utility.
It does show up normally in iPhoto.
Any idea why this might happen?
Thanks,
dougWelcome! ...I would try Apple's 'Troubleshooting Assistant' first : )
http://www.apple.com/support/ipod/five_rs/ -
Gnome: Add custom command to Removable Media application
I'm trying to setup cvlc to run a DVD when inserted into the drive. I created a cvlc.desktop so it is seen when I go to to the Removable Media menu but it doesn't work because a custom command is required. How do I configure it so that one can be run? The cvlc command to run a DVD is:
cvlc dvd://
Any ideas?Try modify /etc/PolicyKit/PolicyKit.conf as root:
<match user="$USER">
<match action="org.freedesktop.hal.storage.*">
<return result="yes"/>
</match>
<match action="hal-storage-mount-fixed-extra-options">
<return result="yes" />
</match>
<match action="hal-storage-mount-removable-extra-options">
<return result="yes" />
</match>
</match>
Change $USER for your username... then /etc/rc.d/hal restart as root -
Vold Manager never detects the cd rom and any other removable media
Hi,
I have installed solaris 10(i86pc i386 i86pc) on my PC through Oracle Virtual box but I am stucked in a problem that the vold manager never detects the cd rom and any other removable media devices. I have tried many documented methods but could not get solution to this problem. I also stopped the volume manager (vold) and tried to mount the cd rom manually but still could not mount the cd rom.
I don't know how to configure solaris in such a way that it could detect cd rom and any other removable media.
Any help in this regard will be highly appreciated.
Regards,
AneesIs it an IDE or SCSI CD-ROM? Can you post back the output of the following command?
ls -l /dev/dsk/c* -
Unable to mount removable device.
Hi,
Just plugged my Archos media player in. The icon appeared on the xfce desktop, but I can't read it. I get this error message, anyone know how to overcome it?
Unable to mount "A604":
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
Xlib: extension "Generic Event Extension" missing on display ":0.0".
org.freedesktop.hal.storage.mount-removable no <-- (action, result)
Thanks,
Chris.Cheers, skottish; perfect!
Unfortunately it didn't solve a very similar issue here:
http://bbs.archlinux.org/viewtopic.php?id=67317
Dohhhh!
Cheers,
Chris. -
[solved] External drive automatically mounted as read-only
Hi folks,
I have a strange issue with an external drive automatically mounted as read-only whenever I plug it to my laptop :
[sclarckone@archLaptop ~]$ mount
/dev/sdb1 on /run/media/sclarckone/dd type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks2)
And I can't remount it as read-write :
[sclarckone@archLaptop ~]$ sudo mount -o remount,rw /dev/sdb1
mount: cannot remount /dev/sdb1 read-write, is write-protected
But of course, I'm able to mount it as read-write on other operating systems.
I have udisks and udisks2 installed on my system. I also belong to the storage group so I thought I could mount a filesystem as a normal user but I can't :
[sclarckone@archLaptop ~]$ mount /dev/sdb1 dd/
mount: only root can do that
I don't know whether it is relevant to this problem, but I have systemd and polkit installed as well... Does anybody has an idea of where the problem could come from ?
Thanks for your help !
Last edited by sclarckone (2012-12-13 21:45:04)Check out following file :
/usr/share/polkit-1/actions/org.freedesktop.udisks.policy
Look for mount a device and It should have configuration like :
<action id="org.freedesktop.udisks.filesystem-mount">
<description>Mount a device</description>
<description xml:lang="da">Montér en enhed</description>
<message>Authentication is required to mount the device</message>
<message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action> -
Mailbox on removable media?
I want to be able to keep one or more mailboxes on removable media (so they won't always be available to mail).
I want to transfer selected messages into those mailboxes while the media is mounted, and then unmount it. When the media is mounted, I need the mailboxes to behave just like any other mailbox.
I tried a couple of things, but I haven't figured out how to get Mail to mount (or "attach" or whatever) those mailboxes so they show up in the list of mailboxes when the media is mounted.
I had something essentially identical working with Eudora under OS 9.
Blue & White Mac OS X (10.4.7)You must install the java to run java progz, You need the Admin (boss) autorization to install it.
Yes, You can put the Jre on your usb stick to install it on the school computer.(make sure you have download the off-line Jre install)
Edouard. -
Trying to automatically mount two disk images from NAS
I am trying to get two mac os x journaled sparse disk images to automatically mount upon login. I have tried to add the following items to my login items under System Prefs/Accounts and none of them have worked:
1. Browse to the file and choose it
2. Create an alias and choose the alias
3. Mount the disk, and then browse to the mounted disk and choose it
4. Create a symbolic link and then choose it
Maybe I am doing something wrong, and maybe there is a different way to do it. Any ideas?V.K. wrote:
I don't know what's going on here. as i said it works for me.
try doing it using a terminal command.
make a new workflow consisting of a single action "run shell script".
inside the shell script put the following
hdiutil attach /path/to/diskimage
to get the path to the image drag it to the action window. enclose the path in quotation marks. it should look something like this:
hdiutil attach "/volumes/dlinkroot/Volume_1/media/photos/iPhoto/imagename.sparseimage"
If you want the image to mount a bit faster add -noverify to the command like this:
hdiutil attach "/volumes/dlinkroot/Volume_1/media/photos/iPhoto/imagename.sparseimage" -noverify
see if it mounts this way.
Thanks for the quick feedback.
That shell script option almost works. What I noticed was that /Volumes/Volume_1 which is the volume created on the dlink NAS needs to be mounted in order for the sparse images on the NAS to be mounted. Maybe the other way also I had the same issue (login items as well as automator app). It's just that I noticed it only now.
So is there a way to ensure Volume_1 is always mounted? Adding hdiutil attach /Volumes/Volume_1 does not mount it -
Why GNOME considers drives in fstab also as removable media?
Hello,
All my partitions are listed in fstab and get mounted to a specific mountpoint.
When I open "Places" in GNOME, I get a list of all my drives as removable media (123 GB drive, 70 GB drive, 30GB drive) and so on. Can I change this behaviour? I mean, there is no reason why I would want the drives to show up two times, once in the file-tree and another time as removable media.
thanks
Saschadunno whay hal does that by default... you can tell hal to ignore the disks though... put this in /etc/hal/fdi/policy/10-ignore-no-removable.fdi (actually it doesn't have to be called like that, I believe that it has to end in '.fdi' though)
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fsusage" string="filesystem">
<merge key="volume.ignore" type="bool">true</merge>
<match key="@block.storage_device:storage.removable" bool="true">
<merge key="volume.ignore" type="bool">false</merge>
<merge key="storage.policy.should_mount" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo> -
[Forum FAQ] Removable media and external HDD
Scenario
There are two conceptions about which we would have confusion in some particular scenarios: removable media and external HDD. Here are two examples:
If you need to make a USB storage device perform AutoRun, the device must not be marked as a removable media device and the device must contain an Autorun.inf file and a startup application.
Answer File Search on removable read/write media.
Definition and Research
The definition of the removable media and external HDD is shown below:
The removable media device setting is a flag contained within the SCSI Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1 (indexed from 0) is the Removable Media Bit (RMB). An RMB set to zero indicates that the device is not a removable
media device. An RMB of one indicates that the device is a removable media device. Drivers obtain this information by using the StorageDeviceProperty request.
External HDDs typically connect via USB; variants using USB interface generally have slower data transfer rates when compared to internally mounted hard drives connected through SATA.
That is, the removable media has a device property attach itself, from the results on Linux and Windows OS, we can see the difference between removable media and
generic external disk:
Here are the outputs of dmesg log on Linux OS:
sd 10:0:0:0: [sdb] Attached SCSI disk
(generic external disk)
sd 2:0:0:0: [sdb] Attached SCSI removable disk
(USB flash drive)
Here is the output on Windows OS:
We use following command to get the media type of physical drive:
Get-WmiObject -Class Win32_DiskDrive | Format-Table Name,Model, MediaType
Conclusion
From the device’s property, we cannot say that external device is equal to removable media totally. Removable media is associated with the RMB flag, of course, RMB is embedded in device itself.
Now, back to our common issue, when you supply an answer file on a USB external HDD, it would not recognize your device as a removable media, because the StorageDeviceProperty gets value 0 of RMB to indicate this is not a removable media. In this situation,
supply an answer file on a USB flash drive (UFD) or floppy disk would fix this issue.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Ive had it on my Ibook before and then moved it to the HDD because of Space Shortage, and then just added as ive aquired more music. Idon't Really Remeber but i think it worked before without any hiccups. oh well otherwise i can just delete those files because theyre only single files here and there. but its quite irritating because they don't seem to have any kind of corruption.
-
Installing: Locating the software to update - check removable media
When updating our 10.4.6 Xserve to 10.4.7, Software Update seemed to hang indefinitely at about 85% complete with this message:
"Installing: Locating the software to update..."
SU would respond to nothing. Quit not available, et cetera. So, in desperation, I forced quit and hoped for the best. Machine restarted fine, but still at 10.4.6. So, ran Software Update again and began 10.4.7 install once more. Same error.
I was just about to open a service call on this when I heard the familiar "whirr, whirr" of our CD/DVD jukebox off in the background.
We have a PowerFile C200 with a recently installed beta driver (for Tiger). Well, it seems that Software Update wants to search all drives, including removable media, during the update process.
This means that SU was mounting and searching each of the 200 CD's and DVD's we had online in the C200.
I could force quit again, but have instead elected to allow things to follow their natural progression over time and see what the outcome is.
Advice: BEFORE OS X updates via Software Update, disable removable media sources other than the system drive whenever possible.
XServe G4 Mac OS X (10.4.7) with CD DVD ChangerHi All
Same problem this morning but now resoloved.
Update require using the following url support.apple.com/kb/DL1437 update for lion 10.7.1
updates now work with this update
Hope this helps
Thanks
Maybe you are looking for
-
The xfce-4.4 themes contest discussion
As stated on http://blog.archlinux.org I posted the files for the contest on my server: http://arch.justdreams.net/xfce44-themings.tar.gz I recommend to either fetch shadowhands xfce4-svn packages or the set I offer here http://arch.justdreams.net/xf
-
Why can't I update my iPhone 4 to iOS 5.1? Every time I try it gets all the way done downloading it; however when it's processing the file the page tells me "There is a problem downloading the software for the iPhone. Network connection timed out. Ma
-
Working with AVCHD: Log and Transfer FAQs
Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as
-
The folder "itunes" cannot be found or created and is required. The default
After I agree to the agreement screen, I receive a message "The folder "itunes" cannot be found or created and is required. The default location for this file is inside the "My Music" Folder". What is wrong? Any suggestions?
-
So I've installed the mobo, CPU and fan, RAM, and PSU. I've made sure the connections are correct and then I turn it on but nothing at all happens. Not even a fan or any LEDs. I am using a H81M-E33 motherboard, Intel Core i5-4440 CPU, 8 gigs (1 modul