You are not logged in.

#1 2023-05-22 19:43:54

d.ALT
Member
Registered: 2019-05-10
Posts: 660

[SOLVED] ntfs-3g mount failed: Invalid ("owner") argument

SOLVED:

# mount -t ntfs-3g -o rw,nosuid,nodev,uid=1000,gid=1000,dmask=022,fmask=133,allow_other,big_writes,windows_names,noatime,prealloc,user,exec /dev/sdb4 /mnt/win10/

owner is the Invalid Argument.

<EDIT>
Mounting without any options works just fine:

$ sudo mount /dev/sdb4 /mnt/win10/

\\\

/dev/sdb4 on /mnt/win10 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

</EDIT>


Just updated linux and now ntfs-3g fails mounting my windows partition. NTFS filesystem is clean and there is NO Windows' Fast Start (powercfg /h off).
Am I missing some news about updated kernel and some ntfs-3g mount options being deprecated? I cannot find logs...


$ LC_ALL=C sudo mount -av
mount: /mnt/win10: mount failed: Invalid argument.
# LC_ALL=C journalctl -b0 -u mnt-win10.mount 
May 22 21:20:51 ARCH-RYZEN systemd[1]: Mounting /mnt/win10...
May 22 21:20:51 ARCH-RYZEN mount[588]: mount: /mnt/win10: mount failed: Argomento non valido.
May 22 21:20:51 ARCH-RYZEN systemd[1]: mnt-win10.mount: Mount process exited, code=exited, status=1/FAILURE
May 22 21:20:51 ARCH-RYZEN systemd[1]: mnt-win10.mount: Failed with result 'exit-code'.
May 22 21:20:51 ARCH-RYZEN systemd[1]: Failed to mount /mnt/win10.
May 22 21:20:52 ARCH-RYZEN systemd[1]: Mounting /mnt/win10...
May 22 21:20:52 ARCH-RYZEN mount[608]: mount: /mnt/win10: mount failed: Argomento non valido.
May 22 21:20:52 ARCH-RYZEN systemd[1]: mnt-win10.mount: Mount process exited, code=exited, status=1/FAILURE
May 22 21:20:52 ARCH-RYZEN systemd[1]: mnt-win10.mount: Failed with result 'exit-code'.
May 22 21:20:52 ARCH-RYZEN systemd[1]: Failed to mount /mnt/win10.


I just added nofail momentarily, in order to boot into Arch:

$ grep '^UUID=3848DCE048DC9E46' /etc/fstab 
UUID=3848DCE048DC9E46   /mnt/win10      ntfs-3g nofail,rw,nosuid,nodev,uid=1000,gid=1000,dmask=022,fmask=133,allow_other,big_writes,windows_names,noatime,prealloc,owner,user,exec   0 0
$ sudo blkid /dev/sdb4 
/dev/sdb4: BLOCK_SIZE="512" UUID="3848DCE048DC9E46" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5cbc860f-2696-4baf-b745-5859908c9c7f"
local/ntfs-3g 2022.10.3-1
    NTFS filesystem driver and utilities

\\\

local/linux 6.3.3.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.3-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20230404.2e92a49f-1
    Firmware files for Linux
local/linux-firmware-whence 20230404.2e92a49f-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/linux-headers 6.3.3.arch1-1
    Headers and scripts for building modules for the Linux kernel

Last edited by d.ALT (2023-05-23 17:13:23)


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#2 2023-05-22 20:05:39

seth
Member
Registered: 2012-09-03
Posts: 42,886

Re: [SOLVED] ntfs-3g mount failed: Invalid ("owner") argument

prealloc ?

Offline

#3 2023-05-23 10:44:28

d.ALT
Member
Registered: 2019-05-10
Posts: 660

Re: [SOLVED] ntfs-3g mount failed: Invalid ("owner") argument

seth wrote:

prealloc ?

Nope... Damn, I cannot figure out what's that argument causing problems...
Any way I can get more debug outputs??


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#4 2023-05-23 10:50:34

seth
Member
Registered: 2012-09-03
Posts: 42,886

Re: [SOLVED] ntfs-3g mount failed: Invalid ("owner") argument

"mount -v", or you bisect the parameters (ie. narrow down the offending one by adding 50% of the unused ones)

Offline

Board footer

Powered by FluxBB