--- Begin Message ---
Subject: |
Neither Gnome nor udisksctl can mount an nfs filesystem |
Date: |
Mon, 4 Jul 2022 16:03:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
Ni! Connecting an external USB hard drive with an NTFS partition fails to mount
it on both Gnome (Nautilus) and manually through udisksctl.
On nautilus, it shows the partition but clicking on it pops a window: "wrong fs
type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or
other error".
I've managed to successfully mount it with my non-root user using udisksctl:
$ udisksctl mount -b /dev/sdb2 -t auto
Strangely, "-t ntfs" didn't work, but "-t auto" did the trick. Even when it
worked, the drive is mounted without permissions for my user (uid 1000), though I could copy files
with sudo.
System logs show:
Jul 2 12:45:44 localhost vmunix: [16392.469209] ntfs: volume version 3.1.
Jul 2 12:45:44 localhost shepherd[1]: [dbus-daemon]
Jul 2 12:45:44 localhost shepherd[1]: [dbus-daemon] (udisksd:1057):
udisks-WARNING **: 12:45:44.302: Failed to setup systemd-based mount point
cleanup: Failed to execute child process ?systemd-escape? (No such
file or directory)
Jul 2 12:45:44 localhost shepherd[1]: [dbus-daemon] udisks-Message:
12:45:44.303: Mounted /dev/sdb2 at /media/myuser/TOURO Mobile USB3.0 on behalf
of uid 1000
My config.scm declares :
(services (append (list (service gnome-desktop-service-type) ...
and also
(packages (append (list
;; for user mounts
gvfs
;; for mtp and fat mounts
jmtpfs dosfstools
;; for gnome-disks via udisksd
gptfdisk
...
.~´
OpenPGP_0x10508FA593B7BE6D.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem |
Date: |
Thu, 07 Jul 2022 10:54:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Alexandre Hannud Abdo <abdo@member.fsf.org> writes:
> Le 04/07/2022 à 19:22, Liliana Marie Prikler a écrit :
>> Note that NTFS != NFS. But to solve your problem, simply add ntfs-3g
>> to your operating-system's packages field.
>
> Ni! Hello
>
> "nfs" was a typo, sorry for that.
>
> True, I can add ntfs-3g, but given that I was able to mount the drive
> without it, it would be nice if that worked, and it may point to
> something not behaving well with udisk.
The issue is known upstream as
https://github.com/storaged-project/udisks/issues/932. For the time
being, the author/maintainer reccomends to "stick to the ntfs-3g for
now, it is a proved and stable solution." [0]
[0]
https://github.com/storaged-project/udisks/issues/932#issuecomment-993861322
Closing, as this is an upstream issue already tracked.
Thanks,
Maxim
--- End Message ---