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
1 vote
0 answers
28 views

How exactly kernel, udev and DBus mount external devices?

I'm trying to understand how exactly SDcard unmounting/ejecting works in Ubuntu to debug context of this issue: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1980080 Looked this thread getting ...
nusch's user avatar
  • 31
0 votes
0 answers
115 views

Gnome Disks - "ATA Enchanced Secure Erase" disabled

The "ATA Enchanced Secure Erase" option for my SSD is disabled in the Gnome Disks utility on Ubuntu 22.04 - how to enable it?
Vadim Peretokin's user avatar
1 vote
1 answer
262 views

How to be sure about which version of ISO 9660 filesystem has been used to format a CD/DVD?

Note: Current version of UDisks I have: gnome-disk-utility 3.36.3 UDisks 2.8.4 (built against 2.8.4)) I have a several empty DVD+RW disks. When I insert them in the disk player and use UDisks (the ...
The Quark's user avatar
  • 273
1 vote
0 answers
406 views

Disk manager is preventing shutdown

I am new to Linux and was annoyed that my OS is always shutting down very slow though they start up in just few seconds. Then I found that Disk Manager cannot be properly closed, always ending up with ...
Jacky L's user avatar
  • 11
0 votes
0 answers
35 views

ExFat-fuse hot- removal ubuntu 18.04

My users keep removing USB disks formatted with Exfat and the files written end up having 0 bytes afterward. I know that the ideal case would be to unmount properly, but it is pretty bad that ...
Luis Ayuso's user avatar
2 votes
0 answers
91 views

Disable polling of DVD Drive - Ubuntu 22.04 LTS

My DVD Drive constantly clicks every couple of seconds. Through other forums I found that this has to do with polling for which there existed a solution with udisks: udisks --inhibit-polling /dev/sr0 ...
manuelbuchfink's user avatar
0 votes
1 answer
20 views

How can I post a suggestion or bug for Disks

Disks > About identifies this software as gnome-disk-utility and UDisks. Alt-F2 "ubuntu-bug gnome-disk-utility" results in a dead end because the system claims that it is not an Ubuntu ...
H2ONaCl's user avatar
  • 9,463
0 votes
0 answers
811 views

SD Card Reader dissapears on fresh Ubuntu 22.04 install

I just installed Ubuntu 22.04 on a Dell Precision 7750 laptop. In the process of transferring software and files, the SD card was producing errors when unmounting and working unreliable. I will ...
Camilo Rada's user avatar
2 votes
1 answer
173 views

Share first attached USB-Drive

To implement a easy backup system in a PLC-application, we access a USB-Stick attached to an external Ubuntu-system. Therefore, the first attached USB-drive should be shared over Samba as soon as it ...
hafisch's user avatar
  • 125
2 votes
1 answer
1k 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 /...
Mario Palumbo's user avatar
4 votes
1 answer
3k 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 ...
mivk's user avatar
  • 4,922
0 votes
1 answer
137 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) ...
Mohamed Gebril's user avatar
1 vote
0 answers
682 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 ...
Pravesh Kumar Sharma's user avatar
0 votes
1 answer
136 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 ...
Uvular's user avatar
  • 19
1 vote
0 answers
538 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 ...
r4nd3l8888's user avatar
2 votes
0 answers
390 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 ...
Melvin86's user avatar
3 votes
1 answer
1k 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 ...
Frank N's user avatar
  • 1,230
1 vote
1 answer
7k 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 ...
Tms91's user avatar
  • 227
0 votes
0 answers
62 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 ...
Sanpreet's user avatar
6 votes
2 answers
8k 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 ...
endrias's user avatar
  • 587
0 votes
0 answers
309 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 ...
brane stormer's user avatar
4 votes
1 answer
923 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 ...
G.W.'s user avatar
  • 563
1 vote
1 answer
2k 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....
Swaroop Maddu's user avatar
1 vote
1 answer
1k 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 ...
Cyan's user avatar
  • 254
1 vote
0 answers
568 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-...
Syed's user avatar
  • 21
0 votes
1 answer
3k 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....
Datastein's user avatar
0 votes
1 answer
665 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 ...
Petr's user avatar
  • 1
2 votes
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 ...
gopalg's user avatar
  • 21
2 votes
2 answers
832 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 ...
N0rbert's user avatar
  • 96.1k
1 vote
1 answer
207 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 ...
KarmaCoding's user avatar
4 votes
2 answers
3k 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 ...
cre's user avatar
  • 61
0 votes
2 answers
946 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?
Ashwini Jadhav's user avatar
3 votes
2 answers
239 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 ...
GAP's user avatar
  • 81
1 vote
1 answer
809 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 ...
drhuh's user avatar
  • 31
1 vote
1 answer
204 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 ...
nobody's user avatar
  • 5,051
1 vote
0 answers
234 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 ...
sysd5's user avatar
  • 11
2 votes
1 answer
656 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 ...
Jay _silly_evarlast_ Wren's user avatar
6 votes
1 answer
3k 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 ...
Fade's user avatar
  • 61
1 vote
0 answers
478 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. ...
bvasiliev's user avatar
  • 461
5 votes
1 answer
4k 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 ...
Émilien's user avatar
  • 121
0 votes
1 answer
314 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 ...
NT4Boy's 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 ...
N0rbert's user avatar
  • 96.1k
1 vote
1 answer
828 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 ...
Qohelet's user avatar
  • 669
1 vote
1 answer
374 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 (...
Benjamin Kraus's 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/...
Organic Marble's 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 ...
Bob's user avatar
  • 81
0 votes
1 answer
726 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. ...
bogac's user avatar
  • 37
4 votes
2 answers
3k 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 ...
Denis Kulagin's user avatar
1 vote
1 answer
159 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 ...
excalibur1491's 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 ...
Verax's user avatar
  • 81