课程: Linux: Storage Systems (2016)

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Challenge: NFS behavior and SSHFS

Challenge: NFS behavior and SSHFS

- [Instructor] Alright, here's a couple challenges for you to try on your own and I'll give you a chance to try out NFS and SSHFS. So first of all, we had a demo where we had a program that wrote a character or wrote a string to a file over and over again and we ran that two times at the same time, writing different things, writing an a and a b and we want you try that again, but with your NFS server, in the Etsy export file, export that directory with the sync option, so the NFS daemon should be writing out to the file with every write and then watch your file and see if the behavior is different than what you saw without the "sync" keyword, then we'd like you to try SSHFS, so you do a little experiment. Copy via scp some large file from a server to your local system and time it, then you want to use SSHFS to mount that directory locally and time copying the file with just a cp command. CFS cp versus cp with SSHFS seems to make so much difference in time. There you go, good luck.

内容