From the course: Linux: Storage Systems

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: NFS behavior and SSHFS

Solution: NFS behavior and SSHFS - Linux Tutorial

From the course: Linux: Storage Systems

Start my 1-month free trial

Solution: NFS behavior and SSHFS

- [Instructor] All right, let's try those challenges. The first one was make the export have sync in it. So let's check that out. I added the sync keyword in there and I made sure that I restarted nfs. And now we want to mount that twice. There we go. And let's mount it again to a second directory. Let's make sure that the file is empty. And let's run our program twice We'll have this guy print an A and he'll go to sdir1. And we'll have this guy go through sdir2, and he'll print a B and they'll both run in the background. So they should be both running here at the same time, printing A's and B's. And let's look at what's happening to our file. Let's see if we're getting 'em nicely interleaved. So far nothing. What's going on? Why aren't we seeing anything? Look at that, curious. Oh, finally something showed up. NFS server finally wrote something. Wrote a B and now it's writing lots of A's. Curious. Alright, so we can't really depend on exactly how those things are going to get…

Contents