NFS - chown: invalid argument

Status
Not open for further replies.

ClayM

Explorer
Joined
Mar 4, 2013
Messages
67
Build FreeNAS-11.0-U4 (54848d13b)
Platform Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
Memory 16294MB

Ok, pretty much every attempt to chown throws a "invalid argument" error.

Any idea what buttons I need to press to fix this?

Here's what i'm seeing on the client machine (Ubuntu 17.10)

clay@foo:/nfs/media$ ls -al
total 317
drwxrwxr-x 10 media media 10 Nov 1 21:39 .
drwxr-xr-x 4 root root 4096 Nov 1 15:43 ..
drwxrwxr-x 11 media media 11 Nov 1 15:53 config

clay@foo:/nfs/media$ sudo chown media:media config
chown: changing ownership of 'config': Invalid argument

clay@blackbeard:/nfs/media$ cat /etc/passwd | grep media
media:x:816:816:Media Service User,,,:/home/media:/bin/bash


Here's the setup on the server:

[clay@mediasource /mnt/storage/media]$ cat /etc/passwd | grep media
media:*:816:816:media account:/nonexistent:/sbin/nologin



upload_2017-11-2_8-13-25.png
upload_2017-11-2_8-14-2.png
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What happens if you disable nfsv4?

Also freenas version and hardware specs required for all new thread.
 

Inxsible

Guru
Joined
Aug 14, 2017
Messages
1,123
Are you using FreeNAS 9.3 or earlier?

Because at least from 9.10, the UID/GID for media has been 8675309
 

ClayM

Explorer
Joined
Mar 4, 2013
Messages
67
Are you using FreeNAS 9.3 or earlier?

Because at least from 9.10, the UID/GID for media has been 8675309
from my server:

[clay@mediasource /mnt/storage/media]$ cat /etc/passwd | grep media
media:*:816:816:media account:/nonexistent:/sbin/nologin


816!
 
Status
Not open for further replies.
Top