Displaying 20 results from an estimated 65 matches for "no_subtree_check".
2007 Aug 16
1
NFSv4 on CentOS 4.5
Hi. I'm having trouble accessing a shared directory over NFSv4 on a
CentOS 4.5 machine.
My export file reads
/test 10.0.0.0/255.0.0.0(ro,async,insecure,nohide,no_subtree_check)
Running the mount command with NFSv4 as the filesystem gives me a
permission denied error.
[root at pebble-anoop ~]# mount -v -t nfs4 pebble-anoop:/test/ /mnt/
mount: pinging: prog 100003 vers 4 prot tcp port 2049
mount: permission denied
I've also tried to include the fsid=0 argument in...
2011 Jun 02
3
Problems with descriptions.
...ber = 2
name = st02
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
---
cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/snfs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check,fsid=0)
/snfs/projects 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/snfs/configs 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/snfs/variables 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/snfs/backups 192.168.1.0/24(rw,sync,no_r...
2010 Apr 29
1
nfs4 help needed
...s me
/nfs4exports/Data1 and /Data1 have same filehandle for
*,192.168.0.0/24,192.168.0.0/255.255.255.0, using first
The tutorial I was following suggested making a root connection as ro, then
the data connections as rw, so I have
/nfs4exports 192.168.0.0/24
(ro,sync,insecure,root_squash,no_subtree_check,fsid=0)
/nfs4exports/Data1 192.168.0.0/24(rw,insecure,no_subtree_check,nohide)
/nfs4exports/home 192.168.0.0/24(rw,insecure,no_subtree_check,nohide)
However, when I ls nfs4exports I get
Data1 home
which ties in, I think, with the logwatch report. Can someone please explain
what I've mi...
2008 Aug 22
1
Problem using rsync for backing up on to a NAS
....com/f6ff5890a
I tried the same script on an USB-HDD and it works fine, even for /
Here are some information about the NFS config:
cat /proc/mounts | grep nfs: http://pastebin.com/f250c9f63 (I aslo tried
bigger rsize and wsize)
exportfs -v:
/volume1 192.168.0.13(rw,wdelay,no_root_squash,no_subtree_check)
cat /var/lib/nfs/etab:
/volume1
192.168.0.13(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,anonuid=65534,anongid=65534)
cat /var/lib/nfs/xtab:
/volume1
molungus(rw,sync,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squa...
2005 Sep 11
0
NFSv4 "Missing" Data on Clients
...ed. On the server,
I have the following data structure:
/data
/data/archive
/data/pictures
/data/music
Each is a separate ext3 filesystem mounted with rw,acl. /etc/exports presents
all of these filesystems properly:
# exportfs -v
/data/pictures 172.17.17.0/27
(rw,wdelay,insecure,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
/data/archive 172.17.17.0/27
(rw,wdelay,insecure,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
/data/music 172.17.17.0/27
(rw,wdelay,insecure,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
/data 172.17.17.0/27
(rw,wdelay,insecure,r...
2011 Jul 19
1
nfsv4 and kerberos - fails to mount
I have been trying all sorts of things to get this working.
nfsv4 works fine if I just use the nfs-v3 form of export
i.e.
/nfs4exports
192.168.230.237/24(ro,fsid=0,sync,insecure,no_root_squash,no_subtree_check,squash_uids=0-99)
/nfs4exports/NDG
192.168.230.237/24(rw,insecure,no_subtree_check,nohide,sync,no_root_squash,squash_uids=0-99)
but this is inherently open to all on this machine.
so then using this recipe
http://www.techrepublic.com/blog/opensource/kerberos-authentication-with-nfsv4/1965
and man...
2012 Apr 09
1
Problem with NFS4 and CentOs 5.8
...h following problem on centos 5.8
kernel and nfs4.
On server i have bind mounted directory shared to the client with
following setup:
mounted directory:
/srv/nfs/imagetest on /exports/imagetest type none (rw,bind)
/etc/exports file:
/exports
10.0.4.0/24(ro,insecure,sync,wdelay,no_subtree_check,no_root_squash,fsid=0,crossmnt)
/exports/imagetest
10.0.4.20(rw,insecure,sync,wdelay,no_subtree_check,nohide,no_root_squash)
On client I have mounted it with following command:
10.0.4.2:/ on /media/nfs type nfs4
(rw,nodev,sync,proto=tcp,retry=10,rsize=32768,wsize=32768,hard,intr,addr=1...
2016 Jul 27
2
Mounting NFS subdirectories individually or just the parent?
There is a slight performance related reason for exporting disk partitions
individually, the performance boost is server-side as Paul says. The
advantage is that the no_subtree_check can be used without any additional
security risk.
It is probably the case that the /export/base/a is a partition, is exported
with no_subtree_check, and therefore there is a small performance boost.
Preventing server side mount point traversal can also form part of a
security mechanism if servers...
2012 Jan 28
2
nfs4 with Samba 4
...export works fine, but I'm having trouble kerberizing
it for Samba 4 for my Samba 4 users.
I've setup the nfs4 pseudo stuff like this:
hh3:/ # mkdir /export
hh3:/ # mkdir /export/home
hh3:/ # mount --bind /home /export/home
Here is /etc/exports:
/export gss/krb5(rw,fsid=0,insecure,no_subtree_check,async)
/export/home gss/krb5(rw,nohide,insecure,no_subtree_check,async)
/etc/sysconfig/nfs has:
NFS_SECURITY_GSS="yes"
I have used samba-tool to make an nfs service principal and it responds:
Kerberos: TGS-REQ HH3$@HH3.SITE from ipv4:192.168.1.3:35191 for
nfs/hh3.hh3.site at HH3.SIT...
2011 Mar 22
6
bug resolve yet for export OCFS2 volume to NFS client ?
...ordirplus
mount option. This disables the READDIRPLUS RPC call to workaround a bug
in NFSD, detailed in the following link:
http://oss.oracle.com/pipermail/ocfs2-announce/2008-June/000025.html
Users running NFS version 2 can export the volume after having disabled
subtree checking (mount option no_subtree_check). Be warned, disabling
the check has security implications (documented in the exports(5) man
page) that users must evaluate on their own.
is it being fixed with centos 5.3 (2.6.18-164.11.1.el5)?
anything I need to aware for exporting OCFS2 volume via NFS?
--
Thomas Lau
Infrastructure Delivery...
2014 Oct 08
0
centos 7, docker, NFS and uid = -2
I created a centos 7 docker container in which I want to mount a
NFS share in. Said share is owned by user virtual with uid 1200. So I
do some exporting (docker container is in 172.17.0.0/16):
spindizzy> cat /etc/exports
/export 10.0.0.0/24(ro,fsid=0,no_subtree_check,sync)
172.17.0.0/16(ro,fsid=0,no_subtree_check,sync)
[...]
/export/mail 172.17.0.0/16(rw,root_squash,no_subtree_check,sync)
spindizzy>
and then some mounting:
bash-4.2# id virtual
uid=1200(virtual) gid=1200(virtual) groups=1200(virtual)
bash-4.2# nfsstat -m
bash-4.2# mount.nfs4 -v -o proto=tc...
2018 Oct 09
10
NFSv4, homes, Kerberos...
I was used to integrate some linux client in my samba network mounting
homes with 'unix extensions = yes', and works as expected, at least
with some old lubuntu derivatives. Client side i use 'pam_mount'.
Now i'm working on a ubuntu mate derivative, and i've not found a way
to start the session properly in CIFS.
If i create a plain local home (pam_mkhome), session start as
2019 Mar 28
2
NFSv4: Using fsid=0 but *not* exporting the root filesystem
...on't have to refer to the whole path of the exported
filesystem when I mount it. However I do *not* want this root
filesystem to be mountable by any host. Is that possible and how?
E.g
Filesystem:
/exports/data1
/exports/data2
/exports/data3
/etc/exports:
/exports *(ro,no_subtree_check,fsid=0)
/exports/data1 host1(rw)
/exports/data2 host1(rw)
/exports/data3 host2(rw)
host1 and host2 can mount fileserver:/ and access any of the dataN
directories at least read-only. That is unwanted. I'd like
/exports/data1 and /exports/data2 to be exclusively accessible by...
2020 Nov 10
4
nfs root kerberos
Hi Louis,
Thanks for your message.
However, I already have NFS working completely. I'm only trying to work out root NFS access on the client.? I tried your NFS translation fix via idmapd.conf? but that isn't working for me. I've discovered that's because CentOS 7 is using gssproxy so apparently your fix won't work. The fix from Red Hat (adding some lines to krb.conf seen in my
2010 Apr 21
3
Help with NFSV4 server
...-Network_File_System.html#nfs4> and
http://blog.laimbock.com/2009/05/21/nfsv4-on-centos-53-and-fedora-11/
and still can't see what i'm doing wrong
{The Server}
CentOS 5.4 64 Bit
[root at inf1 /]# cat /etc/exports
/nfs4exports
*.scms.waikato.ac.nz(rw,insecure,sync,wdelay,no_subtree_check,no_root_squash,fsid=0,nohide)
/nfs4exports/share
*.scms.waikato.ac.nz(rw,insecure,sync,wdelay,no_subtree_check,no_root_squash,nohide)
[root at inf1 /]# cat /etc/sysconfig/nfs
#
# Define which protocol versions mountd
# will advertise. The values are "no" or "yes"
# with y...
2015 Mar 11
2
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
...so I'm assuming it
has something to do with NFS4 or EXT4 on the Server side.
My fstab mount:
UUID=732683f0-e6ac-42d6-a492-e07643d7719c /media/back ext4
defaults,acl,user_xattr,barrier=1 0 0
My nfs exports file:
/media/back
10.111.106.3(fsid=0,rw,async,no_root_squash,no_subtree_check)
My mount command:
mount -t nfs4 -o proto=tcp,port=2049 10.111.106.12:/ /mnt/back
Version info:
Server
Ubuntu 14.04.2
Client
Ubuntu 14.04.2
rsync 3.1.0
Thanks for any suggestions!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list...
2020 Nov 11
2
nfs root kerberos
...seudo NFS4 root.
> > Examples here.
> >
> https://access.redhat.com/documentation/en-us/red_hat_enterpri
> se_linux/5/html/deployment_guide/s1-nfs-server-config-exports
> >
> > This is how my export looks.
> > /exports
> 192.168.0.0/24(rw,sync,fsid=0,no_subtree_check,crossmnt,sec=sy
> s:krb5:krb5i:krb5p)
> > /exports/users
> 192.168.0.0/24(rw,sync,no_subtree_check,sec=sys:krb5:krb5i:krb5p)
> >
> > I hope this helps you out.
> >
> >
> > Greetz,
> >
> > Louis
> >
> >
> >> -----Oorspronk...
2009 Aug 19
1
Optimizing NFS over loopback
I have set up a local NFS server and I'm accessing it over the localhost
interface. Here is my /etc/exports file:
/data/vm 127.0.0.1(rw,no_root_squash,async,no_acl,wdelay,no_subtree_check)
/data/iso 127.0.0.1(ro,no_root_squash,async,no_acl,wdelay,no_subtree_check)
Here is the relevant /etc/fstab entry
/dev/sda3/data ext3 defaults12
Things are working, but seem pretty slow. I'm getting about 10mb/sec.
I was wondering where the bottleneck could be? Is there a way to
o...
2011 Mar 21
0
permissions changed by rsync over nfs?
...sk.mythtv.lan/Music
/misc/bigdisk.mythtv.lan is an nfs mount mounted by autofs.
In /etc/auto.misc I have for /misc/bigdisk.mythtv.lan:
bigdisk.mythtv.lan -fstype=nfs4 192.168.1.105:/bigdisk
For /bigdisk I have in /etc/exports on 192.168.1.105:
/NFS4exports
192.168.1.0/255.255.255.0(rw,sync,nohide,no_subtree_check,no_root_squash,fsid=0)
/NFS4exports/bigdisk
192.168.1.0/255.255.255.0(rw,sync,nohide,no_subtree_check,no_root_squash)
My little problem is that with the above rsync command this file, for
instance:
/home/Music/FLACs/Billy_Bragg/Back_to_Basics$ ls -al
01-billy_bragg-the_milkman_of_human_kindness.fl...
2012 Mar 02
1
xfs, inode64, and NFS
we recently deployed some large XFS file systems with centos 6.2 used as
NFS servers...
I've had some reports of a problem similar to the one reported here...
http://www.linuxquestions.org/questions/red-hat-31/xfs-inode64-nfs-export-no_subtree_check-and-stale-nfs-file-handle-message-855844/
these reports are somewhat vague (third indirectly reported via internal
corporate channels from sites in the far east).
is anyone familiar with this inode64 stuff and NFS in EL6.2 ?
--
john r pierce N 37, W 122
santa cruz c...