
| This forum is proudly powered by Scientific Linux 6 | SL website Download SL Help Search Members |
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| NeoAmsterdam |
|
|||
![]() SLF Geek ![]() ![]() ![]() ![]() Group: Members Posts: 155 Member No.: 181 Joined: 16-May 11 |
Okay... SL 6 and NFS: it works under IPv4. Too well, actually, but I need to use IPv6*. So far I can SSH to the SL/NFS box with avahi (I don't actually know the SL/NFS box's IP address ), but trying to mount the NFS share just won't work. I think the problem has to do with exportfs not understanding IPv6 address formats and netmasks in /etc/exports.Here's a watered-down version of the working [IPv4] configuration in /etc/exports:
The goal is to do the same, but with IPv6 addresses ("fe08::::::0/16"?).
Has anyone managed to set up NFS with IPv6? How do I write my IPv6 addresses and netmask in /etc/exports? And, since I've broached the subject, is there any real reason why to migrate to IPv6 on a local network (i.e.: is the throughput any "better")? * That's because the SL/NFS box is directly connected to another machine via crossover cable at gigabit, because that machine is able to find the SL/NFS box over IPv6 but not IPv4, and because I don't have a gigabit router, and I don't feel like wasting my whole weekend on transferring 2TB of data (base 1024, of course ) |
|||
| redman |
Posted: Jul 16 2011, 09:38 AM
|
|
![]() SLF Admin ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admins Posts: 1705 Member No.: 2 Joined: 8-April 11 |
I have no experience with IPv6 except that is can be a pain to set up.
Especially since its structure is different than that from IPv4. I suggest first doing some research on the new structure and what that means for your LAN. -------------------- What is SL? - Forum Rules - Info on 3rd Party Repos - How to post images - How to post large text / config files
Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.4 x86_64 Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL6.4 x86_64 Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, SL6.4 x86_64 |
|
| NeoAmsterdam |
Posted: Jul 16 2011, 06:16 PM
|
|||
![]() SLF Geek ![]() ![]() ![]() ![]() Group: Members Posts: 155 Member No.: 181 Joined: 16-May 11 |
I always research before posting
It keeps me from asking stupid questions and looking a fool for it. But when the search results for "NFS", "IPv6", and "won't work" are all posts you've made asking why NFS over IPv6 won't work... All the documentation I've read says that NFS should work over IPv6 no differently than IPv4 (Yeah, right ). I figured that, given our savvy SL users , someone here might have been through this before.In the meantime I'm shuttling the data over SSH. I've yet to see the speedometer surpass the 24MB/s mark, but at least I'm getting there faster than I would have at 100Base-T... |
|||
| joutlan |
Posted: Jul 16 2011, 07:26 PM
|
|
![]() SLF Founder ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admins Posts: 1152 Member No.: 1 Joined: 8-April 11 |
I'll bump it as someone might be able to help you here. Didn't I hear that Google was migrating to IPv6? .........
-------------------- DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games) Nexus 4 //Android |
|
| helikaon |
Posted: Jul 17 2011, 04:27 AM
|
|
![]() SLF Moderator ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 516 Member No.: 4 Joined: 8-April 11 |
Hi,
well, i'm not gonna help on this one either, since i dont know how usage of IPv6 influences firewall settings (ports?), NFS settings (ports again), portmap...? too many variables here which i cant say .... cheers, -------------------- |
|
| NeoAmsterdam |
Posted: Jul 17 2011, 08:08 PM
|
|||||
![]() SLF Geek ![]() ![]() ![]() ![]() Group: Members Posts: 155 Member No.: 181 Joined: 16-May 11 |
Yes - just in time for the "World IPv6 Day" non-event. Its implementation is mandated in the US for September 2012, if I remember correctly.
I've ruled out the firewall settings for ports and addresses - they're OK. Otherwise I wouldn't be able to SSH, VNC, or "see" the SL/NFS box over Avahi.
![]() The prime suspect is /etc/exports: it works fine with dotted-quads but chokes on... uhm... "double-dotted octs". (There's gotta be a better name for IPv6-style addresses other than "a series of colons"... it conjures up a silly mental image ) |
|||||
| helikaon |
Posted: Jul 20 2011, 12:07 PM
|
|
![]() SLF Moderator ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 516 Member No.: 4 Joined: 8-April 11 |
Do we have any update on the NFS? Curious ...
BTW. I dont know if i asked already, its dumb basic question - what NFS version you use? Because i think the NFS 3 was buggy with this and only NFS 4 is supposed to have proper support over ipv6... cheers, -------------------- |
|
| NeoAmsterdam |
Posted: Jul 20 2011, 08:29 PM
|
|||||||||
![]() SLF Geek ![]() ![]() ![]() ![]() Group: Members Posts: 155 Member No.: 181 Joined: 16-May 11 |
Not that I'm aware of.
Not a dumb question at all. In fact, very good question I'm not sure.Hmm... let's see now... (clickety-clackety noises from the keyboard)... yum shows nfs-utils, nfs-utils-lib, & nfs4-acl-tools installed... (more clatter and a "hmm")... and rpcinfo lists versions 1-4... I'm going to infer that I've got NFS v4 running. Strange, though, that rpcinfo shows IPv4 and IPv6 running and some dotted-sextets - not dotted-quads Here's rpcinfo -s...
...and here's rpcinfo...
Hmm... Ideas?
|
|||||||||
| helikaon |
Posted: Jul 21 2011, 03:04 PM
|
|||||
![]() SLF Moderator ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 516 Member No.: 4 Joined: 8-April 11 |
Hi, if you need to find out the version you use i suggest
This should show you which version you actually use. Btw did you try to mount your nfs share directly on server itself? like
cheers, -------------------- |
|||||
| NeoAmsterdam |
Posted: Jul 22 2011, 03:18 AM
|
|
![]() SLF Geek ![]() ![]() ![]() ![]() Group: Members Posts: 155 Member No.: 181 Joined: 16-May 11 |
man nfsstat is dated "7 Aug 2007", though that might be referring only to the documentation's date. I can't mount via localhost at the moment because /etc/exportfs prohibits traffic to anything except for 192.168.0.0/255.255.248.240 - a feature, not a flaw. The SL6 box dutifully responds "mount.nfs: access denied by server while mounting localhost:/srv/nfs".
Okay... so now you know where I've stashed the good stuff since FHS doesn't actually say "thou shalt serve NFS from these directories; thou shalt have no other shared directories but these." Finally, it's 90°F, 90% humidity, it's been a long day, I'd have to do some rewiring and generate some hefty traffic before I can nfsstat -o all -234, and I'm all worn out. I'll have to give it a go some other time. Thanks for the pointers, though. |
|
![]() |
![]() ![]() ![]() |