Mapping/Mounting with SMB
As mentioned previously, data transfer protocols impact how to connect to remote storage and methods of transfer. SMB or Server Message Block by Microsoft is another one of these methods. There are multiple differences about it from the other methods, but most important it is very easy. It allows systems on the same network to share files between computers as though the files were on the computer’s local hard drive. Closest to file moving interfaces most familiar to many on Mac/PCs (with drag and drop or cmd/ctrl+c, cmd/ctrl+p). Discussed in this section of the workshop are the advantages and disadvantages and how to use SMB on ARCC systems.
Advantages of SMB
As mentioned previously, the ease of use is the key feature of SMB protocol, but there are indeed more that warrant it’s use.
Interactive use of remotely stored files - once connected to the remote storage, a user can open, view, and edit files without actually transferring the files themselves. All changes are saved on the remote storage. All this is dependent on the size and type of files, but many are supported including spreadsheets, word processing, code, images, and even video files.
Re-connecting - once the storage is mapped/mounted, the option to save the username and password for the connection exists. Meaning all one has to do to re-connect to the remote server is to click on the connection to get to the storage.
In-network sharing - on ARCC systems, anyone who has a UWyo username and password that can connect to the campus VPN, can be given permission to any storage that can be connected with SMB.
Protected connections - once connected using SMB, the connection itself is encrypted. Meaning it is very difficult for a malicious actor to exploit any open connections a user has.
Disadvantages of SMB
Despite all of the good things SMB connections provide, there are a few problems that can arise.
No out-of-network access - on ARCC systems, users are required to have a UWyo account and have the ability to log into the network such as the UWyo wifi or VPN. Meaning if researchers want to collaborate with others from different institutions AND wishing to use SMB to share data, additional steps must be taken to enable this and has an associated cost.
Performance - SMB is not a multi-threaded protocol, like other protocols previously discussed in this tutorial and transfers can be painfully slow.
Potential corruptions - SMB does not do any file verification when transferring data such as checksums. This disadvantage can become problematic should a network error, power outage, or other interruption occur.
No automation - a major disadvantage to using SMB is that the protocol cannot be used within an HPC job to transfer data between systems.
How to Use SMB on Windows
Using the SMB protocol on Windows is pretty simple as long as the initial requirements of having a UWyo account and access to a UWyo network are met along with the permission of a UWyo based project PI.
The first step in connecting is to open the Windows File Explorer application by clicking on the folder icon in the start menu. Once the application is open it should look like the file browser that you are familiar with.
|
Map a Network Drive on Windows
Next take the following steps to map a network drive:
|
|
Connect to the Remote Storage (Windows)
Once the prompt for “What network folder would you like to map?” appears, you can then add the path to the ARCC system you want to concect to.
| If you have a local user, you will have to use your UWyo username and password to connect to the system. This example is using the letter ‘Y', you can choose any letter other than 'C’ |
How to Use SMB on Mac
The process is similar on Mac, but just a little different
The first step is to open the Mac Finder application, once there find the option for “Go” on the top menu.
|
Connect to Remote Storage (Mac)
When the “Connect to Server” prompt appears you will need to enter the address prefixed with ‘smb’ For the ARCC Data Portal the address is: smb://data.arcc.uwyo.edu/cluster/alcova
Enter your UWYO password |
Next Steps
Previous | Workshop Home |
Use the following link to provide feedback on this training: https://forms.gle/wSAdrRKALb5c4DMd7 or use the QR code below.