Re: NFS4 problems -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK.....   I decided to "replicate" what I think is your environment and what I "think" you want....

I have 2 systems....

f17x = Server
f17   = Client

Sorry about the similar host names.  These are VMs and that is the way I set them up. 

*************  SERVER  ***************

[root@f17x etc]# cat fstab

#
# /etc/fstab
# Created by anaconda on Sat Jul 28 19:57:55 2012
#
/dev/mapper/vg_f17x-lv_root /                       ext4    defaults        1 1
UUID=282ad858-80b0-446d-b8e8-061edb6088ff /boot                   ext4    defaults        1 2
/dev/mapper/vg_f17x-lv_swap swap                    swap    defaults        0 0

/home/home          /nfsexports/home     none    rw,bind 0 0


[root@f17x etc]# cat exports
/nfsexports        192.168.0.0/24(ro,sync,insecure,root_squash,no_subtree_check,fsid=0)
/nfsexports/home     192.168.0.0/24(rw,nohide,sync,insecure,root_squash,no_subtree_check)


[root@f17x etc]# cd /nfsexports/
[root@f17x nfsexports]# ll
total 4
drwxr-xr-x. 6 egreshko egreshko 4096 Dec  4 11:37 home
[root@f17x nfsexports]# ll home
total 16
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 11:37 four
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 one
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 three
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 two


[root@f17x etc]# cd /home
[root@f17x home]# ll
total 8
drwx------. 40 egreshko egreshko 4096 Dec  4 11:34 egreshko
drwxr-xr-x.  6 egreshko egreshko 4096 Dec  4 11:37 home
[root@f17x home]# cd home
[root@f17x home]# pwd
/home/home
[root@f17x home]# ll
total 16
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 11:37 four
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 one
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 three
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 two


************* CLIENT ******************
[root@f17 ~]# cd /etc
[root@f17 etc]# cat fstab
#
# /etc/fstab
#
/dev/mapper/vg_f17-lv_root /                       ext4    defaults        1 1
UUID=7a84488c-7acd-4ede-b4ec-b8e169d5a09d /boot                   ext4    defaults        1 2
/dev/mapper/vg_f17-lv_swap swap                    swap    defaults        0 0
# NFS mounts
#misty:/syntegra /syntegra                nfs4    defaults        0 0
#misty:/myhome /home/egreshko/misty       nfs4    defaults        0 0
192.168.0.171:/home  /mnt/HOME1           nfs4    defaults        0 0

[root@f17 etc]# cd /mnt/
[root@f17 mnt]# ll
total 4
drwxr-xr-x. 6 egreshko egreshko 4096 Dec  4 11:37 HOME1
[root@f17 mnt]# cd HOME1/
[root@f17 HOME1]# ll
total 16
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 11:37 four
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 one
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 three
drwxrwxr-x. 2 egreshko egreshko 4096 Dec  4 10:51 two

[root@f17 HOME1]# df -T
Filesystem                 Type     1K-blocks    Used Available Use% Mounted on
rootfs                     rootfs    30479304 8420896  20510120  30% /
devtmpfs                   devtmpfs    504972       0    504972   0% /dev
tmpfs                      tmpfs       513868      92    513776   1% /dev/shm
tmpfs                      tmpfs       513868    1164    512704   1% /run
/dev/mapper/vg_f17-lv_root ext4      30479304 8420896  20510120  30% /
tmpfs                      tmpfs       513868       0    513868   0% /sys/fs/cgroup
tmpfs                      tmpfs       513868       0    513868   0% /media
/dev/sda1                  ext4        495844   93045    377199  20% /boot
192.168.0.171:/home/       nfs4      23254912 8666368  13407232  40% /mnt/HOME1


Again....  Please note that I keep my UID/GID consistent on all systems.  That is *very* helpful to proper permission control.

I don't know what more to tell you....





-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux