On 01/12/12 08:34, Ed Greshko wrote:
Yep, you've pretty much misunderstood the information which was being conveyed in the link I originally sent you. You placed actual data under /nfsexports.
I would.....
unmount the exported file system from all clients. (umount on box7 for example)
Then on the server I'd move /etc/exports to /etc/exports-orig and run "exportfs -r" and confirm by running "exportfs" that they are no longer exported.
Also on the server I'd proceed to move all the directories out of /nfsexports to /home
cd /nfsexports
mv check data Dell DigiCam Documents Download evergreene gramps home lectures /home
(Yes, you'll end up with a /home/home. You don't really have any user home's under there to you?)
The I'd set up the directory structure under /nfsexports by doing
cd /nfsexports
mkdir -m 1777 data
mkdir -m 1777 home
Then, still on the server, I would append these lines to /etc/fstab
# bind mounts
/home/data /nfs4exports/data none rw,bind 0 0
/home/home /nfs4exports/home none rw,bind 0 0
Then I would
mount /nfs4exports/data
mount /nfs4exports/home
Then, when you issue the just the "mount" command you should see included....
/home/data on /nfs4exports/data type none (rw,bind)
/home/home on /nfs4exports/home type none (rw,bind)
Or something similar....
Then I'd move /etc/exports-orig back to /etc/exports but I would change /nfs4exports back to ro. And then do "exports -rv".
Now..... If you just want all of the exported information to be under a single directory on box7 (client) I would do....on box7
mkdir /mnt/box8
mount 192.168.1.8:/nfsexports /mnt/box8
And, of course, make corresponding changes in the /etc/fstab on box7
I've got all this working with your help but I still have to mount the
server manually. Fstab contains the following lines:
[root@box7 bobg]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Tue Aug 7 08:37:16 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for
more info
#
UUID=4ce86523-2d45-4174-85e9-fd298e4516c8 / ext4 defaults 1 1
UUID=1a9d0937-2247-4cbc-b27d-4775c7453dba /boot ext4
defaults 1 2
UUID=96a666e2-73ac-4f5f-98bc-4a6a9383491f /home ext4
defaults 1 2
UUID=9cb5a7e0-c752-4563-b7f5-663980e090e3 swap swap
defaults 0 0
192.168.1.8:/nfs4exports/ /mnt/BOX8 nfs4 rw,bind 0 0
192.168.1.8:/home/ /mnt/HOME1/ nfs4 rw,bind 0 0
192.168.1.8:/data/ /mnt/DATA1 nfs4 rw,bind 0 0
192.168.1.48:/SRVR1 /mnt/BOX48 nfs4
defaults,rw,user 0 0
The server box48 mounts during the boot process, box8 does not. I see
the following lines in "mount":
/dev/sdb3 on /mnt/BOX8 type ext4 (rw,relatime,seclabel,data=ordered)
/dev/sdb3 on /mnt/HOME1 type ext4 (rw,relatime,seclabel,data=ordered)
/dev/sdb3 on /mnt/DATA1 type ext4 (rw,relatime,seclabel,data=ordered)
192.168.1.48://SRVR1 on /mnt/BOX48 type nfs4
(rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.7,local_lock=none,addr=192.168.1.48)
gvfs-fuse-daemon on /run/user/bobg/gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
Which raises the question why are the non-working mounts shown as
/dev/sdbx while the one that mounts [box48] does not? Then after
mounting manually with "[root@box7 bobg]# mount 192.168.1.8:/home/
/mnt/HOME1/" mount shows:
192.168.1.8:/home on /mnt/HOME1 type nfs4
(rw,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.7,local_lock=none,addr=192.168.1.8)
Any thoughts? I am getting nowhere on it.
Bob
--
http://www.qrz.com/db/W2BOD
box7
--
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