Questions tagged [udisks]

Udisks is a service that automatically mounts media when it is connected to the computer. The udisks daemon queries devices via the standard d-bus interface present in all freedesktop.org Desktop Environments. Udisks can also be used manually on the command-line to mount and dismount media.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Change Udisk mount point default permisions

Need ha way to change the default permisions of a mount partition with udisk2. I have this scrip who mount various partitions, it runs as root user. udisksctl mount -b /dev/disk/by-partuuid/...
user avatar
2 votes
1 answer
269 views

How to mount or unmount all partitions of a device at once using udisksctl?

I need to use udisksctl. I tried the classic method /dev/sda?* already seen on the internet: udisksctl mount -b /dev/sda?* or udisksctl unmount -b /dev/sda?* /dev/sda?* in my case is equivalent to /...
user avatar
4 votes
1 answer
218 views

Where are the options for automounted USB drives or how is automounting done in Ubuntu 20.04

In Ubuntu 20.04 (as in previous versions), external USB drives are automatically mounted when they are plugged in, and an icon for each partition appears in the Dock. How is that working? Which ...
user avatar
  • 4,478
0 votes
1 answer
50 views

Error mounting filesystem when mounting external hdd

I'm sure this has been asked lots of times, but I have checked many threads and couldn't find the fix to my specific problem. So I have been using an external hard disk (Toshiba external usb 3.0 1TB) ...
user avatar
1 vote
0 answers
191 views

How to change name of LUKS encrypted partition?

I am using ubuntu 20.04.2 (64bit) on my dell laptop. I have three drive partition named as D,E and H. I have enrypted D and E with LUKS. Drives are encrypted well, but the drive-name I have set at the ...
user avatar
0 votes
1 answer
75 views

Could not play media files on external drive

I am new to Ubuntu and recently made a switch from Windows to it. I have a hybrid system for which I installed Ubuntu 20.04 with the help of How to install Ubuntu 18.04 on SSD+HDD hybrid with proper ...
user avatar
  • 19
1 vote
0 answers
119 views

Shrink down an image file which is made by with the Ubuntu's "Disks" application

So I've made a backup image file from my Ubuntu system with the Disks application. My SSD storage is 180GB which is quite big due to the fact that my system is only 20% of it. So there are a numerous ...
user avatar
1 vote
0 answers
175 views

udisksctl power off wrong disk

I try to safely eject my external disk with the following 2 commands: udisksctl unmount -b /dev/sdc1 udisksctl power-off -b /dev/sdc The partition is correctly unmounted, but the second command gives ...
user avatar
3 votes
1 answer
502 views

Ubuntu-MATE: make USB Sticks automount available to every user (udev rules?)

I want every USB media (ext, ntfs, FAT…) inserted to be available with full read-writable to every user. Preferably under mnt and as group common. ( Ubuntu-MATE 21.04, though my issues actually date ...
user avatar
  • 1,059
0 votes
1 answer
1k views

Ubuntu: Error resizing partition while resizing partition of a Virtualbox VM running Ubuntu (Host is Windows10)

I am trying to resize (from 20 to 270 GB) the hard disk of a Ubuntu OS running inside a VM (Virtualbox) that runs on Windows 10. By following the instructions in this thread , I have with powered off ...
user avatar
  • 57
0 votes
0 answers
50 views

Three paritions appears in my pendrive ntfs, ext4 and unallocated (write protected)

I have hp pen-drive with the model v232w. First I created the bootable image for Ubuntu which created ext4 partition and some unallocated space. Then I tried to create bootable image of the windows on ...
user avatar
6 votes
2 answers
3k views

Slow write speeds when writing onto USB flash drives

I am running Ubuntu 20.04 on an old Dell Optiplex 760 box and the transfer speeds while copying files to USB flash drives are quite slower than what they should be, furthermore, at the end of the ...
user avatar
  • 565
0 votes
0 answers
201 views

Disks utility options for automounting hard disk with rw rights

I am on Ubuntu 20.04.1 and I have a second hard drive: sdb1 (named mee_2) with one partition (FAT32). I used 'disks' to auto-mount it at start up. BUT as user I can not write on it... Which are the ...
user avatar
4 votes
1 answer
443 views

How do I find and use `--object-path` with `udisksctl`?

I don't understand the --object-path option in the udisksctl command I want to unmount an USB thumb drive, but I don't want to have to lookup it's device name (for example /dev/sdb) at each mount. The ...
user avatar
  • 421
1 vote
1 answer
1k views

gnome-disks not working in Ubuntu 20.04

Unable to launch gnome-disks GNOME-Disks-ERROR **: 08:30:40.733: Error getting udisks client: Error calling StartServiceByName for org.freedesktop.UDisks2: Failed to activate service 'org.freedesktop....
user avatar
1 vote
1 answer
853 views

Mounting btrfs partition with compression enabled

I've got a btrfs partition on a SSD drive. This partition is not mounted by default, it's not root. It's just a plain data partition which is mounted on demand. Nothing fancy. The btrfs partition was ...
user avatar
  • 224
1 vote
0 answers
443 views

udisks eats up 9GB RAM in ubuntu 18.04

Problem: udisks is taking more than 9GB memory in my openstack VM (keeps growing) Note: more than 10 people have reported this so far. OS: Ubuntu 18.04 Gnome version: 3.28.4 udisk version: 2.7.6-...
user avatar
  • 21
0 votes
1 answer
2k views

Error unlocking /dev/sda5: Failed to activate device: operation not permitted (udisks-error-quark, 0)

I've had a booting problem on a Dell Latitude for a long time now that I've left aside but now want to give another try to access. It's an Ubuntu 18.04 encrypted with LUKS, which used to work properly....
user avatar
0 votes
1 answer
522 views

Internal FLOPPY drive using Lubuntu 18.04.1

QUESTION SUSPENDED, DON'T BOTHER, THE DRIVE IS PROBABLY FAULTY, I CAN'T HAVE IT CHECKED UNTIL LATER, THANK YOU ALL! The situation has radically changed so this is a completely new version of my ...
user avatar
  • 1
1 vote
0 answers
1k views

HDD gives "failed to probe the device" (udisks-error-quark,0)

I run ubuntu on an SSD and was planning to use my HDD for storage purposes. I was running an ATA enhanced secure erase on the HDD when my PC crashed with an error that said NMI watchdog had detected ...
user avatar
  • 11
1 vote
1 answer
509 views

Where default values of fmask and dmask are defined for disk auto-mounter?

I have Ubuntu 16.04 LTS installed (with MATE DE if this matters). After the insertion of USB-flash it is usually got auto-mounted to the /media/username/VOLUMEID and the mount shows the following ...
user avatar
  • 89.6k
1 vote
1 answer
148 views

Moving a partition using GParted in Ubuntu

I am trying to merge to non-adjacent partitions in Ubuntu using GParted. In the provided screenshot, there are two partitions one is 19.53 GB (7th from bottom) and another one is 11.35 GB (third from ...
user avatar
4 votes
2 answers
2k views

udisks2 (udisksd) errors in syslog: how to investigate?

my system logs of my Ubuntu 18.04 Intel NUC are getting spammed by these error messages: udisksd[1369]: udisks_mount_get_mount_path: assertion 'mount->type == UDISKS_MOUNT_TYPE_FILESYSTEM' failed ...
user avatar
  • 61
-1 votes
2 answers
701 views

Where can we find udiskd's logs?

I want to see the udisksd's logs, where does it get stored and how to enable it?
user avatar
3 votes
2 answers
169 views

Can I power down an external drive automatically when it unmounts?

I know this question is answered a lot, but I couldn't find a answer that make this happen automatically. What I would like is when I unmount the last partition of the the external HDD (as it may have ...
user avatar
  • 81
1 vote
1 answer
679 views

cannot start nemo if udisks2 is disabled

I use Ubuntu 18.04.2 LTS with cinnamon as desktop and my default file browser is nemo. I don't like that any partition of an external disk that I connect to my machine (e.g. via USB) is automatically ...
user avatar
  • 21
1 vote
1 answer
174 views

udisksctl unmount with wildcard possible?

I use Ubuntu bionic. Is it possible to umount with udisksctl unmount with wildcards? Short story, when I plug in my backupdrive a user systemd.service start my backskript. when the backup is ready I ...
user avatar
  • 4,316
1 vote
0 answers
184 views

partprobe for udev Format File System

I have a script that runs a mkfs right before udisksctl mount -b ... on a device. Problem is that if I don't put a sleep in between them udev doesn't realize it's been formatted something that can be ...
user avatar
  • 11
1 vote
1 answer
498 views

udisksd continuously logs to syslog an assertion error

/var/log/syslog is filled with this 4 times every minute or more. udisksd[30855]: udisks_mount_get_mount_path: assertion 'mount->type == UDISKS_MOUNT_TYPE_FILESYSTEM' failed How can I get more ...
user avatar
6 votes
1 answer
2k views

Automatic mounting in /run/media instead of /media

When I (manually) mount my crypted document partition on ubuntu 19/04, it is mounted on /media. When I'm in Fedora, it's mounted on /run/media. I would like udisks2 to mount it on /run/media, as it ...
user avatar
  • 61
1 vote
0 answers
332 views

What is the proper way to run script when mounting specific usb drive with mountpoint as argument?

I want to update some files on portable usb drive when it connects to my desktop with Ubuntu 18.04. I can do it with a script, but for this, a destination location (FS mountpoint) must be determined. ...
user avatar
  • 431
5 votes
1 answer
3k views

Automount a logical volume on an external disk drive LVM partitioned

Problem I have an external HDD with one logical volume perfectly working that can be mounted with: udisksctl mount -b /dev/mapper/wd0hdd-wd0 It will create a new directory under /media/username/wd ...
user avatar
  • 101
0 votes
1 answer
260 views

Lubuntu 386 18.04 Disks

I want to run the Disks disk manager app found in full sized Ubuntu but its not present in my Lubuntu 18.04. I think Disks is called under the hood udisks. apt-get install usdisk fails as not ...
user avatar
  • 1
11 votes
4 answers
2k views

Strange LED blinking problem with USB flash drives - is it just me?

Introduction I'm using Ubuntu MATE 16.04.5 LTS with latest 4.4 Linux kernel on several machines (laptops and desktops with USB 2.0 and USB 3.0). For me it seems that something was changed inside USB ...
user avatar
  • 89.6k
1 vote
1 answer
798 views

Dependency is not satisfiable: udisks

I'm having the issue that udisks is not found on my system by a deb-Package. I assume my Ubuntu is newer than the package and it finds udisks2. Probably the problem will be solved easily with a ...
user avatar
  • 629
1 vote
1 answer
294 views

Modify group for all automount USB flash drives and external hard drives

I'm running both Linux Mint (17.2) and Ubuntu (18.04) on two different machines. When I plug in an external hard drive or USB flash drive, the drive is automatically mounted. A directory is created (...
user avatar
2 votes
1 answer
197 views

With new kernel 4.13.0-43 on Xenial syslog is filling up with disk messages

This didn't happen with the prior kernel 4.13.0-41. The log is full of these messages that are emitted every couple of minutes. Error updating ATA smart for /org/freedesktop/UDisks2/drives/...
user avatar
0 votes
1 answer
2k views

How do I fix the automounting of USB drives after installing Openbox on Ubuntu 16.04?

I am installing Openbox on Ubuntu 16.04 because I need to eliminate the top window bar for the application I am running. This appears to be a good solution except that the system no longer automounts ...
user avatar
  • 81
0 votes
1 answer
649 views

Error opening /dev/sdf1: No such device or address (udisks-error-quark, 0)

My computer`s hard-drive started to give some boot-related errors after a reboot. After running the in-built diagnostics tool of my computer, it found out that, it can no longer detect the hard-drive. ...
user avatar
  • 37
4 votes
2 answers
2k views

/usr/lib/udisks2/udisksd constantly crashes

I am constantly getting an internal error message from Ubuntu: Sorry, Ubuntu 17.10 has experienced an internal error. ExecutablePath: /usr/lib/udisks2/udisksd The only disk I have in the system ...
user avatar
1 vote
1 answer
114 views

Safely remove harddrive in the GUI (equivalent to udisksctl?)

I have a toshiba hardrive that has a little blue light when powered and you can feel the drive spinning when powered. In Ubuntu I can mount and dismount by right-clicking on it in the Unity bar, but ...
user avatar
2 votes
0 answers
2k views

How do I properly mount fat32 flash drive for Multisystem use?

I'm attempting to switch to MultiSystem from YUMI so I can add ISOs to a multi-bootable flash drive with Ubuntu instead of Windows, and boy, am I starting to regret it. First, I backed up my flash ...
user avatar
  • 61
0 votes
1 answer
494 views

Error changing Mount Point using "Disks" tool - Ubuntu 14.04 [duplicate]

I'm trying to mount my secondary disk "2TB" in "User1" home directory. I used the "Disks" tool unmounted the 2TB disk >> Mount Options > then changed the Mount Point to /home/User1/Desktop/2TB. When I ...
user avatar
1 vote
1 answer
287 views

How to make a fuse-filesystem appear on /media/$USER without root or changing fstab?

I'm a bit perplexed about this. I'm sure that we're 'supposed' to use udisks or udisksctl to mount things on that place, where they'll be picked up by nautilus etc. However, how can i do that for ...
user avatar
  • 131
2 votes
1 answer
736 views

What does this hard drive authentication after login in LXDE mean?

I am using LXDE on Ubuntu 16.04. When I wake it up from suspension, I login in, and then another authentication window appears. What does that mean? Is it necessary? If not, how can I get rid of the ...
user avatar
  • 23.2k
1 vote
0 answers
562 views

set mount option to write drive for PCManFM

I am using PCManFM as a file manager. I set PCManFM to autodetect my drive: I have 2 rules for polkit: polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.udisks2....
user avatar
5 votes
3 answers
586 views

How to obtain the correct vfat path translation for my floppies?

My father left me a batch of 3.5 inch "floppy" disks created with Windows 95 (Dutch). I want to copy their contents. My only computer with a floppy drive runs Ubuntu 12.04.5 LTS. After installing ...
user avatar
0 votes
0 answers
767 views

Every 10 minutes, something goes wrong with one of my SATA drives

I have a computer with an SSD drive (Samsung SSD 850 EVO 250GB) with Ubuntu, and an additional hard drive connected with SATA for storage. It seems that every 10 minutes, some sort of "housekeeping" ...
user avatar
0 votes
2 answers
1k views

Is it valid to copy a line from /etc/mtab (the line was added automatically) to /etc/fstab

I'm having the problem described here. But in my case the drive in question is already mounted, yet the link to something on that drive is broken. I never mounted the drive manually, yet it's mounted. ...
user avatar
0 votes
0 answers
52 views

Ubuntu started asking for my password in more cases (mounting, updating)

I am using this computer and Ubuntu installation for a long time, and I upgraded to 16.04.1 two months ago. A few days ago though, Ubuntu started asking me for my password in some cases that it didn't ...
user avatar
  • 1,042