IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New NFS or SMB?
On a linux box I'm using samba to mount an SMB share on a 520. It seems to be working pretty well but I was just wondering what ads/disads/problems I could encounter if I used NFS instead? Recommendations?
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New Interesting - I've never tried it...
Let me know how it works!

Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.


Nothing is as simple as it seems in the beginning,
As hopeless as it seems in the middle,
Or as finished as it seems in the end.
 
 
New What?
Telling you about webfacing with linux/tomcat wasn't enough? :0)
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New Do *NOT* use SMB. Use NFS.
Mounting an NFS export of an IFS directory on an iSeries is *WAYYYYY* more stable than mounting the same iSeries directory as an SMB share. And performance is up, too.
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New Lemme ask...
Did you try CIFS?

Or Samba on the iSeries configured to serve CIFS?

I know the answer in any case. I wonder if the iSeries does NFSv4? If it does there are MANY things to benefit from.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New if you put a linux partition on iSeries
it certainly could do NFSv4
thanx,
bill
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 51 years. meep

reach me at [link|mailto:bill.oxley@cox.net|mailto:bill.oxley@cox.net]
New Not what I was asking. And you know that.
I was just wondering if the iSeries OS supported NFSv4.

I KNOW LINUX DOES. Especially with a Kernel after 2.6.19, but even better with 2.6.20.

This works very nicely:
/nfs/data               192.168.1.*(rw,fsid=0,no_root_squash,sync,no_subtree_check)\n/nfs/data/stor          192.168.1.*(rw,wdelay,nohide,insecure,root_squash,no_subtree_check)\n/nfs/data/music         192.168.1.*(rw,wdelay,nohide,insecure,root_squash,no_subtree_check)


And damn its as fast as line speed will allow, except that GigE on Linux really does require TOE NICs, or TCP Offload NICs.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New I did try CIFS.
Samba on the iSeries I did not try. AFAIK, v4 is only supported in AIX and Z/OS, but that could be wrong.
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New I would think it comes down to the server implementation.
The SMB way of doing things is very Windows-centric, not surprisingly, whilst the NFS way is very Unix-centric. How well do the two services translate permissions and ownsership from the 520's way of thinking? One may make more sense than the other, from the 520's point of view.

In addition, SMB requires a conceptual mapping on a Linux client for much the same reason, which manifests itself as things like setting default UIDs when you mount the share. NFS doesn't have that problem, so it means you do the concept translation once: on the server. However, NFS has very different error handling: generally if the server disappears, the client normally 'hangs' until the server comes back. SMB tends to return errors instead.

Sorry if I'm not making much sense. It's rather hard to explain.

Wade.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

New No, no, you're doing fine. ;0)
And thank you. I have a rudimentary understanding of how both SMB and NFS work. I was really asking about the OS400 implementation of NFS and how well it plays with others. SMB support is relatively new (V5R1 IIRC), but it appears to work okay with the limitation that for the AS400 to "mount" an SMB share, that share has to be on a true Windows server (iow, there is no support for an iSeries to "mount" an SMB share that is really samba on Linux). In my case, I'm mounting an SMB share on the iSeries from a Linux box.
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New That is due to CIFS vs SMB.
The iSeries will indeed mount a Samba share... as long as the Samba server does CIFS.

Many default Samba setups (d|w)on't do CIFS as it takes a bit of making to get it work properly and a 2.6+ Linux kernel.

There are other reasons, but those aren't important to your setup, unless you have other Microsoft products forcing certain protocols. (and/or Admins who blindly follow Microsoft's way to admin Windows Machines)
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
Expand Edited by folkert June 20, 2007, 02:30:16 PM EDT
New I'm sure it will.
I wasn't clear. IBM does not officially support it. But, what the hell? IBM does not officially support running Webfacing apps on anything but Websphere and we've had an uptime of > 500 days on the linux/tomcat host we're using instead of Websphere. ;0)
bcnu,
Mikem

Microsoft Vista. The best reason ever to buy a Mac.
New Ah... that I don't know.
It's been a long time since I was last using an AS/400. :-)

Wade.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

     NFS or SMB? - (mmoffitt) - (12)
         Interesting - I've never tried it... - (imric) - (6)
             What? - (mmoffitt)
             Do *NOT* use SMB. Use NFS. - (mmoffitt) - (4)
                 Lemme ask... - (folkert) - (3)
                     if you put a linux partition on iSeries - (boxley) - (1)
                         Not what I was asking. And you know that. - (folkert)
                     I did try CIFS. - (mmoffitt)
         I would think it comes down to the server implementation. - (static) - (4)
             No, no, you're doing fine. ;0) - (mmoffitt) - (3)
                 That is due to CIFS vs SMB. - (folkert) - (1)
                     I'm sure it will. - (mmoffitt)
                 Ah... that I don't know. - (static)

One shall be the number of Mojo Jojos in the world, and the number of Mojo Jojos in the world shall be one. Two Mojo Jojos is too many, and three is right out!
209 ms