Difference between revisions of "Operating Systems 2014F: Tutorial 9"

From Soma-notes
Jump to navigation Jump to search
(Created page with "'''This tutorial is not yet finalized.''' * apt-get install sshfs * mount remote ssh directory locally * do file operations on directory * unmount, see it go away * apt-get i...")
 
Line 12: Line 12:
* hard link files over sshfs, look at link counts
* hard link files over sshfs, look at link counts
* go into directory locally as root, look around.  now do the same to mounted version.  What do you see?
* go into directory locally as root, look around.  now do the same to mounted version.  What do you see?
* look at inodes in local and remote system.  How do they compare?

Revision as of 20:50, 24 November 2014

This tutorial is not yet finalized.

  • apt-get install sshfs
  • mount remote ssh directory locally
  • do file operations on directory
  • unmount, see it go away
  • apt-get install openssh-server
  • ssh to local box
  • sshfs to local box, do a "loopback" mount
  • dd a large file to local drive. Do same thing over sshfs. Which is faster?
  • hard link files locally, look at link counts
  • hard link files over sshfs, look at link counts
  • go into directory locally as root, look around. now do the same to mounted version. What do you see?
  • look at inodes in local and remote system. How do they compare?