Skip to main content

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

drive access (udisksctl mount) won't work after changing uid and gid

On Ubuntu 22.04.4 LTS, I have one additional disk (ext4.2) one user (user.1) can't access easily anymore (No problems with his /home folder). I've changed the UID and GID of user.1 to eventually share ...
ypihoh's user avatar
  • 1
0 votes
0 answers
97 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-...
fffred's user avatar
  • 131
3 votes
2 answers
372 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 ...
petermao's user avatar
1 vote
1 answer
187 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 ...
HEKTO's user avatar
  • 575
0 votes
1 answer
121 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 ...
bluescorpian's user avatar
3 votes
0 answers
205 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 ...
TSG's user avatar
  • 141
0 votes
0 answers
263 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 ...
user1416486's user avatar
0 votes
0 answers
94 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 ...
Kelvin_da_floofer's user avatar
0 votes
0 answers
392 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 /...
emk2203's user avatar
  • 4,226
1 vote
0 answers
231 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 ...
DevMau5's user avatar
  • 11
1 vote
0 answers
187 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
  • 41
0 votes
0 answers
439 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
872 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
  • 283
1 vote
0 answers
1k 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
74 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
182 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
22 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,771
0 votes
0 answers
2k 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
227 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
  • 135
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 /...
Mario Palumbo's user avatar
6 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 ...
mivk's user avatar
  • 5,372
0 votes
1 answer
310 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
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 ...
Pravesh Kumar Sharma's user avatar
0 votes
1 answer
274 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
948 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
567 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
2k 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,350
2 votes
2 answers
13k 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
  • 425
0 votes
0 answers
69 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
12k 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
  • 597
0 votes
0 answers
476 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
2 answers
2k 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
  • 663
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....
Swaroop Maddu's user avatar
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 ...
Cyan's user avatar
  • 274
1 vote
0 answers
606 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
4k 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
785 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
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 ...
gopalg's user avatar
  • 21
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 ...
N0rbert's user avatar
  • 101k
1 vote
1 answer
222 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
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?
Ashwini Jadhav's user avatar
3 votes
2 answers
585 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
2 votes
1 answer
908 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
  • 51
1 vote
1 answer
220 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,527
1 vote
0 answers
345 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
794 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
4k 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
593 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
  • 481
6 votes
1 answer
5k 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
  • 141