[linux-cifs-client] Re-exporting cifs mount over NFSv4
Paul "TBBle" Hampson
Paul.Hampson at Pobox.com
Fri Mar 7 01:11:56 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I understood from the git logs and README that the cifs client in
2.6.24 was able to be reexport mounts over NFSv4.
I rebuilt my 2.6.24 kernel with CONFIG_CIFS_EXPERIMENTAL enabled,
and the cifsFYI output logs " fs/cifs/cifsfs.c: export ops
supported" happily.
However, exportfs -r -v reports:
exportfs: Warning: /home/domain/paulh/mountpoint does not support
NFS export.
/home/domain/paulh/mountpoint is CIFS-mounted from my Windows
desktop, using
/sbin/mount.cifs //${SSH_CLIENT%% *}/export mountpoint
- -oserverino,username=$USER,uid=$USER,gid="domain
users",file_mode=0775,dir_mode=0775
My /etc/exports is:
/home 10.10.97.213(rw,sync,fsid=0,no_subtree_check,crossmnt)
/home/domain 10.10.97.213(rw,sync,fsid=5,no_subtree_check)
/home/domain/paulh/mountpoint
10.10.97.213(rw,sync,fsid=7,no_subtree_check)
mount.nfs4 10.10.97.64:/domain/paulh/mountpoint /mnt/ -v -v -v
just hangs until control-c is hit.
mount.nfs4 10.10.97.64:/domain/paulh /mnt/ -v -v -v
works but ls then hangs until control-c is hit.
I guess this might actually be an NFS problem (assuming CIFS is
correctly offering export options) but I'm wondering if anyone here
has this sort of thing working, and can spot any gotchas I missed?
I looked at the git history since 2.6.24 of fs/cifs/ but I don't see
anything relevant.
(I _do_ see krb5 spnego stuff, which makes me very happy, even
though I'm no longer hooking a Linux laptop up to a Windows AD
domain. It's nice to know that next time I have to do that, I'll be
able to magically mount shares. ^_^)
- --
- -----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
Very-later-year Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com
Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
~ -- Kristian Wilson, Nintendo, Inc, 1989
License: http://creativecommons.org/licenses/by/2.1/au/
- -----------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH0JZcexDuohKLFuARAidRAKCI4UqPUjhwsPfJWf87gXBmDdCGlgCffGdn
EYna7eEkHvEbgwDOpZzupG0=
=4mWs
-----END PGP SIGNATURE-----
More information about the linux-cifs-client
mailing list