Network File System version 4 (NFSv4)

learn more… | top users | synonyms

0
votes
0answers
12 views

NFS nobody issue

I am having the nfs nobody issue running Centos 6 . I am running nfsv4 and authenticating users using 389-ds LDAP . I have tried the the nfs mounts are file on the client but I am getting the ...
0
votes
1answer
13 views

changing where pam_mkhomedir makes a directory

I want to create user directories for an LDAP user (389-ds) If they don't exist so I am using pam_mkhomedir . How do I create these directories on a different mount point say /nfs/home instead . I ...
0
votes
0answers
15 views

SOLVED mount(2): Stale file handle NFS after update server to Debian 8

I've several server that mounting NFS on remote backups server Everything worked until I did an update on the NFS server to Debian Jessie. Now some machines work and others not work. Try several ...
2
votes
0answers
14 views

Comparison about security between file layout and object layout of pNFS [duplicate]

In the three types of pNFS (block layout, file layout and object layout), as I know, block layout is lack of security. So, between file layout and object layout of pNFS, which type is more secure?
1
vote
0answers
13 views

Comparison between performance of block layout, file layout and object layout of pNFS [duplicate]

As I know, there are three type of pNFS: file layout, block layout and object layout. So, between these types, which layout reach the best performance and which layout has the worst performance.
2
votes
1answer
31 views

Locking mechanism on pNFS

As I know, in parallel NFS, after getting Layout from Meta Data Server, Client communicate directly with the Data Server. I wander what will happen if multi clients read or write to the same region of ...
2
votes
1answer
65 views

How NFS lock works in pNFS

As I know, pNFS is an extended protocol over NFSv4.1. Does anyone have any information about how the NFS lock works on Parallel NFS (pNFS)?
0
votes
1answer
89 views

Advantages and disadvantages of each type of layout in pNFS

As I know, Parallel NFS (pNFS) has three types: file layout, block layout and object layout. What are the advantages and disadvantages of each type?
0
votes
0answers
14 views

Kerberized NFS mount suddenly failing, permission denied errors

I'm trying to track down a bug with an NFS mount that seems to have appeared rather suddenly. Most of the time, if I try to ls /mnt, I get output that looks like this: ls: cannot access /mnt/dir1: ...
0
votes
0answers
48 views

Samba on NFS with Bind Mounts

I have a machine, which we can call HOST, that exports /home via NFSv4. It also runs several VMs, including one we can call SAMBA, which mounts and then re-exports (yes, I know this is not recommended)...
0
votes
1answer
37 views

“nfsd peername failed” but NFSv4 service functions

My current setup: 2 NFS servers sharing the same directory with identical content, 1 keepalived server as SLB (or rather for failover in this scenario), and 1 NFSv4 client mounting through VIP. All ...
0
votes
0answers
55 views

Cannot run ctl on Linux for pNFS

I want to install pNFS server. I install ctl from source code. But when I run command ctl -u, the error below occur: /proc/fs/pnfs_block/ctl: No such file or directory I run linux 4.6, the ctl ...
0
votes
0answers
17 views

Cannot start service blkmapd for using pNFS

As I know, to use pNFS block layout, I must start blkmapd at the client side. But when I try to start blkmapd by command blkmapd -f, the error below occur blkmapd: open pipe file /var/lib/nfs/...
0
votes
1answer
18 views

pam_mkhomdir + nfs creates noboy:nogroup owned home dirs

this is a strange issue I've been struggling with some time now. I have a working ldap and authentication via pam on debian 8. I have successful tested pam_mkhomedir and I got a home directory for the ...
0
votes
0answers
32 views

I'm having random nfs slow downs on my nfsv4 gigabit network which cause videos to slow down then speed up

I've noticed this issue happen in two different video players so I'm pretty sure it's a network problem. I'm running Ubuntu with the kernel 4.2.0-35-generic. Here is the result of my nfsstat -4 -s -...
1
vote
1answer
94 views

How to use pNFS in NFSv4.1

As I know, pNFS is an extended protocol over NFSv4.1. So, I have two questions: How to use pNFS in NFSv4.1? Is there any special requirement for kernel version in server side?
2
votes
1answer
32 views

NFS - Multiple sub dirs - Only one squashing as expected

Getting an unexpected behavior when mounting more than a single share. NFS Server $ -> cd /mnt/raid/nas && ls -lZa drwxrwxr-x. nas filer unconfined_u:object_r:file_t:s0 file ...
0
votes
0answers
30 views

Mounting NFS v4 on Linux with Username

I'm trying to mount a NFS v4 share on a Redhat Linux machine where the share is restricted to a particular user account. I have a kerberos ticket for the server and SSSD with LDAP used to populate ...
0
votes
1answer
63 views

NFS4 ID Mapping

Currently using NFS4 idmapping. If i manually update the file "/sys/module/nfsd/parameters/nfs4_disable_idmapping" on the NFS Server to "N" and flush the cache the UID and GID show up correctly on ...
1
vote
3answers
46 views

File permissions are being changed after gunzip of .gz file; how do I prevent that?

I have an NFS4 filesystem that has AD based authentication setup and ACLS to match. I am controlling access to the machines that mount the filesystem so the ACLs are very basic. One prevents users ...
0
votes
1answer
46 views

Wrong SELinux labels on NFS homes?

I have NFS (v4) home directories. The NFS server is a Synology (DSM 5.2), the client is a FC 23. The client gets autofs settings from a freeIPA server: ipa automountmap-add default auto.home ipa ...
0
votes
1answer
21 views

NFSv4 with Kerberos - idmap stops working after ~35 minutes

All machines are running CentOS 6.5. We have about 85 client machines doing a Kerberized NFSv4 mount (sec=krb5p) to a server. This weekend, the server was changed (serverA changed to serverB). ...
0
votes
1answer
53 views

How to restrict user access via SSSD AD provider?

I'm trying to configure a Redhat 6.x server for Authorization and Authentication to Active Directory (AD) via SSSD- after joining the server I'm able to login with any valid domain credentials. How ...
0
votes
0answers
23 views

Reliable, resistant to disconnect NFS configuration

I am using NFS v4 as additional file storage in near-high-load app (~300 messages per second, each contains 30kB - 1mB file). I see some weird behaviour on manual or occasional NFS server disconnect: ...
1
vote
2answers
29 views

Prevent root in linux from changing folder permissions in GPFS filessystem

I have created a NFS export in a GPFS/SpectrumScale filesystem I created. I have enabled AD based authentication with our domain. Everything works. The NFS export was created with NFS4. The NFS ...
2
votes
1answer
69 views

NFS clients sometimes hang for 15 seconds

NFS server: CentOS7.1 (kernel 3.10.0-229, nfs-utils 1.3.0) Some clients are Ubuntu Precise (12.04) using NFSv3... they work fine. The problematic clients are running CentOS7.1 using NFSv4.1 (or ...
3
votes
1answer
180 views

Creating a NFS share across servers with varying UIDs

I have 4-5 Ubuntu 14.04 servers in my network and I want to share a common /home directory between them. I have setup the nfs server, and I can mount the directory on various clients. However my ...
0
votes
1answer
50 views

nfs(v1.2.8) client does not support all_squash option

$ /sbin/mount.nfs --version mount.nfs: (linux nfs-utils 1.2.8) $ mkdir -p ~/mnt && sudo mount -t nfs -o rw,all_squash xx.xx.xx.xx:/lgtm/path/to/share ~/mnt mount.nfs: an incorrect mount option ...
0
votes
0answers
43 views

Random NFS4 hangs without errors on some NFS client machines

I am experiencing a strange randome kind of hang of some Kerberos/NFS4 machines (on a SuSE SLES12 linux system). This happens about once a week. The rest of the time everything is fine. When this ...
0
votes
0answers
52 views

NFS4 configuration issue

I have a an NFS server setup with the following exports: /mnt/nfs 192.168.122.0/24(rw,fsid=0,insecure,no_subtree_check,async) \ 192.168.100.0/24(rw,fsid=...
0
votes
0answers
97 views

OSX Server NFS v4 Server

we are using an OS X Server for distributing home directories in our office with OpenDirectory. The protocol of choice became after a long way of painful testing NFS - not kidding - the only ...
1
vote
1answer
76 views

rsync hanging up reproducable on the same file while copying to nfs share

For the last two days I try to backup my disc to an NFS share. But after a while rsync is hanging up itself. Every time on the same file. But if I exclude the file it'll hangup on the next file. So it ...
1
vote
1answer
24 views

Change NFSv4 Bound Port?

I need to use port 2049/tcp for another purpose. Is there a way to change which port NFSD binds to? I don't need NFSv3 or NFSv2 so I am not using rpcbind service. I cannot find that config option...
-1
votes
1answer
561 views

How to share files/folders between users on same linux machine?

We have 2500+ users using linux thin clients with their home directory on a common NFS. We want Windows like file/folder sharing functionality between users. The users are not linked to any ...
0
votes
1answer
147 views

rpc.rquotad connection refused

I setup an NFS file server using Ubuntu 15.04 to replace an aging CentOS 6 based server. I have user quotas on the file system and on the server initially quota -v would segfault but upgrading the ...
2
votes
1answer
65 views

NFS ACLs do not apply to root

I've been using CIFS for my networking for the longest time, and I'd like to use NFS for my Linux to Linux file distribution. I've got a share drive that I've set a sticky group on, which appears to ...
0
votes
1answer
204 views

NFS export configuration for multiple LVM logical volumes

I have setup a file server that contains two large file systems, each consisting of a single LVM logical volume (10TB and 16TB) within a single volume group. The physical volumes making up the LV are ...
1
vote
1answer
118 views

Configure NFSv4 to allow different users read-write access

I have an NFSv4 server (CentOS). I want to export a particular directory to two different machines (one CentOS and one Ubuntu), where users of the same uid and gid need read-write access to the ...
1
vote
1answer
474 views

Wrong user mapping in kerberized NFSv4 automounted homedirs

Short problem description This question is about id mapping in NFSv4 going wrong. NFS server: a Synology DS, with DSM 5.2. Client: A regular FC22 machine, which automounts as /home one of the ...
0
votes
0answers
241 views

NFSv4 increase max value of rsize/wsize on a Gigabit LAN

Got two debian7 boxes over a Gigabit network (2 interfaces bonding with LACP). Now trying to maximize throughput by increasing nfs rsize and wsize. Though i set these options manually to 1MB, the ...
1
vote
2answers
227 views

NFS share not connecting over ssh tunnel on Mac OsX, it works on all other devices

I've been searching for a while now to try and find a solution but I finally gave up. I have a ubuntu server running an nfs share. I set it up so that you have to connect to it using ssh. which is ...
0
votes
1answer
179 views

Windows NFS client keeps writing read-only with on NFS server with squash_all

We have a Debian 8 with an NFS server exported with "/client-share *(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)" that works just fine when transferring files from a Windows ...
2
votes
2answers
453 views

How to automate directory creation on NFS-Server?

I created and configured a test-environment of 3 virtual machines: A FreeIPA server which provides krb5-authentication A NFS-Server using server 1 to secure itself A client that automounts home ...
1
vote
0answers
95 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
0
votes
1answer
100 views

Does “Kerberised” NFSv4 securely protect against a malicious client spoofing the user

I have read conflicting statements about whether shares exported via NFSv4 with sec=krb5 are cryptographically protected against a malicious client mounting the share and then spoofing the user to ...
0
votes
0answers
66 views

Some users cannot write via NFS, but others can

I have an NFS4-mounted /home drive, with several different users' home folders in it. I am using inetd's ID-mapping feature (i.e. NEED_IDMAPD=YES in /etc/default/nfs-common). The NFS mount and ID-...
3
votes
0answers
934 views

Can't read ACL on NFS4 share, Solaris 10 client, CentOS 7 server

First off, please excuse me if my question isn't well formed, this is my first post on serverfault :) I have successfully deployed LDAP and Kerberos authentication in a mixed Linux/Windows/Solaris ...
1
vote
0answers
38 views

NFS local user mapping works, but not with sudo

I want to use an NFS share for backing up. I have created a local user on the client with a specific uid/gid combination that works for writing files to the NFS share. So far so good. However, I need ...
0
votes
1answer
2k views

How to set up pNFS on CentOS

I'm looking into different ways to create a petabyte storage array. One option that looked interesting is pNFS; however, I'm having trouble finding details on how to set it up. How can I set up pNFS ...
4
votes
1answer
158 views

Pacemaker error on failback with drbd

I have two nodes in my cluster with drbd+pacemaker+corosync When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors ...