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
32 views

Unlock bitlocker drive using udisksctl > error

I try to use udisksctl to unlock a bitlocked drive. The key is stored in keyhorse, and I can get it using secret-tool. The command I tried is: udisksctl unlock -b /dev/nvme0n1p3 --key-file <(secret-...
3 votes
2 answers
236 views

unable to mount external drive from cron (using udisksctl)

GOAL I'd like to mount an external drive using cron for automatic backups, preferably with udisksctl. PROBLEM udisksctl mount -b /dev/sdXY works fine from the command line or shell script, but when I ...
1 vote
1 answer
169 views

Command line behind a partition mounting icon and how to modify default mount options?

I have a number of disk partitions, which are represented by icons in the GUI. Something like this: When I double-click on this icon, the partition got mounted. Or I can right-click on this icon and ...
0 votes
1 answer
75 views

Error when mounting ntfs disk after crash

I ran rdfind on my backup disk, causing my system to freeze. After a forced restart, the disk showed 0 bytes in partition manager. I managed to mount it in Windows, and then the bytes used got fixed ...
3 votes
0 answers
149 views

Stop automount of new loop device on Ubuntu 22.04

When creating a new loop device with udisksctl (command below), I want Ubuntu to only create the device without mounting it automatically. How do I do this on Ubuntu 22.04, and why did this work on ...
0 votes
0 answers
171 views

Ubuntu not showing USB in file manager

Ubuntu 22.04.3 LTS jammy Desktop recognises the USB as per fdisk an audio notification confirms the inserted (and removed) USB however file manager is missing the USB? ubuntu@ubuntu:~$ sudo fdisk -l ...
0 votes
2 answers
814 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. ...
0 votes
0 answers
54 views

Expanding/Sharing root with another ssd (Hybrid mounting?)

I just installed a new ssd and I've been trying to figure out the best way to partition it so it can be used as an expansion to root while also still being accessed like a different mounted drive or ...
0 votes
0 answers
287 views

How to mount exFAT/FAT partitions as user without all files having the executable bit set in permissions?

Ubuntu 23.04 here, but should apply to almost every version. I want to mount external drives via the user mount mechanisms in the system (is udev involved?), often over SSH with udisksctl mount -b /...
1 vote
0 answers
182 views

(exFAT) Unable to mount or use brand new WD MyBook 14Tb external HDD

I have an issue and I can't seem to have any solution for it. I'm trying to connect a brand new WD MyBook 14Tb to my Ubuntu computer externally. The HDD is recognized and identified but the Exfat ...
2 votes
2 answers
1k 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 ...
1 vote
0 answers
160 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 ...
0 votes
0 answers
358 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?
1 vote
1 answer
678 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 ...
1 vote
0 answers
947 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 ...
0 votes
0 answers
62 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 ...
2 votes
0 answers
160 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 ...
0 votes
1 answer
21 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 ...
0 votes
0 answers
1k 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 ...
2 votes
1 answer
196 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 ...
13 votes
6 answers
46k views

Encrypted disk won't unlock anymore: Not authorized to perform operation (udisks-error-quark, 4)

In 2012 I used Ubuntu's gnome-disks utility to encrypt an external drive. Last year I was still being able to unlock it. But today I tried again on Ubuntu 2012.04 and gnome-disks says: Error ...
3 votes
1 answer
2k 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 /...
9 votes
2 answers
13k views

How to manage udisk with the udisk utilities?

I'm trying to install the udisks utility. The problem is that it says that I have already the newest version of udisks installed on my computer: sudo apt-get install udisks2 Reading package lists... ...
5 votes
1 answer
5k 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 ...
5 votes
2 answers
3k views

SSH login wakes spun-down storage drives

I'm running 12.04 on a home server/HTPC, and have several storage drives which spin down using values set in /etc/hdparm.conf. Sometimes, logging in via ssh causes some or all of the drives to wake ...
8 votes
2 answers
6k views

Set mount options for removable devices on Kubuntu

I share my computer in a multiseat configuration and would like everyone to mount removable devices with a umask of 0 (ie. readable and writeable by all and sundry). Well, ideally just by group disks ...
0 votes
1 answer
295 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) ...
1 vote
0 answers
1k 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 ...
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 ...
0 votes
1 answer
240 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 ...
1 vote
0 answers
825 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 ...
2 votes
0 answers
517 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 ...
2 votes
1 answer
12k 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 ...
0 votes
0 answers
68 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 ...
6 votes
2 answers
11k 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 ...
4 votes
1 answer
1k 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 ...
4 votes
2 answers
673 views

How to set default options for mounted file systems?

I would like all FAT volumes to be mounted with the option uni_xlate enabled. How can I configure mount or udisks2 to use that option while mounting the volume?
12 votes
3 answers
12k views

Is setting default mount options for udisks really not possible?

I want to mount usb drives with option flush (or sync). I'm using Kubuntu 10.10 and as far as I understood udisks is responsible for the mount options. I've read various threads and two solutions ...
1 vote
1 answer
3k 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....
0 votes
0 answers
421 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 ...
0 votes
2 answers
1k 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?
1 vote
1 answer
2k 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 ...
2 votes
1 answer
756 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 ...
1 vote
0 answers
601 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-...
0 votes
1 answer
768 views

udisks-part-id timeout error in tty

I'm running 14.04 and I've gotten the following error when logging into a tty session after typing my password but before the command prompt showed up: [198877.466429] systemd-udevd[25302]: timeout '...
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....
0 votes
1 answer
759 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 ...
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 ...
2 votes
0 answers
2k 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 ...
1 vote
1 answer
217 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 ...