On Fri, 2012-06-22 at 13:09 +0200, lynn wrote:
On 22/06/12 09:11, Hans Witvliet wrote:
In the tree that i export, i have mounted some logical volumes At the receiving end, i see the imported tree, but everything that is mounted (on the nfs server) does not appear.
I know that it is nit good practice to re-export nfs-mount, but in this case i try to export a bumch of loccally mounted volumes.
Hi Hans
How are your logical volumes mounted?
Exporting bind mounted shares fsid0 used to be the recommended way for nfs4 but that has changed:
http://wiki.linux-nfs.org/wiki/index.php/Nfsv4_configuration#Exporting_direc...
(I think the url has wrapped)
You simply export them from wherever they are in the underlying filesystem just as you did with other nfs versions.
tnx Lynn, Dave, all... Perhaps i as indeed a bit too brief. Often i include too much info that might not be relevant. Actually i'm not so sure if it is an nfs4-issue. Some mails on fedora suggest that such behaviour comes with kernel-based nfs-servers, while userland nfs-servers would not suffer from it. Can not tell if that makes any sense or is just an urban legend. Anyway, i did no do anything fancy. On the nfs server my /etc/exports is: (sorry for the line wrap) /local/software/obs 192.168.0.0/24(rw,no_root_squash,no_subtree_check) While on that machine, my fstab is: # /dev/shared/sw_obs /local/software/obs/ btrfs defaults 1 2 # /dev/shared/sw_obs_server_colon /local/software/obs/server: btrfs defaults 1 2 /dev/shared/sw_obs_network_colon /local/software/obs/network: btrfs defaults 1 2 1) i got an mount-point called "/local/software/obs/" That is a 25GB LV 2) i got an mount-point called "/local/software/obs/server:" That got an 65GB lv 3) i got an mount-point called "/local/software/obs/network:" That got an 40GB lv What i initially did, was mounting LV-1 and afterwards mounting LV-2 and LV-3 On the nfs-server itself everything looked as expected... On an other machine i made the mount point and did manually: mount 192.168.0.2:/local/software/obs /local/software/obs The mount command showed: [long line] 192.168.0.2:/local/software/obs/ on /local/software/obs type nfs4 (rw,relatime,vers=4,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.25,minorversion=0,local_lock=none,addr=192.168.0.2) I could see both sub-mount-points (server:/ and network:/) but could not reach the storage that i was expecting to see there. ----------------------------- So what i did next, was exporting & importing the "server:" and "network" directory explicitly. Although that works, it just proves that there is nothing wrong with the LV's. Had a quick look at both mentioned URL's, but they are mostly about kerberos and so-on (which i do't use at home) I fear my problem/misconception is more "fundamental" Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org