Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Supercomputers with Raspberry Pi 3

You're reading from   Build Supercomputers with Raspberry Pi 3 A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781787282582
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlos R. Morrison Carlos R. Morrison
Author Profile Icon Carlos R. Morrison
Carlos R. Morrison
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Supercomputing FREE CHAPTER 2. One Node Supercomputing 3. Preparing the Initial Two Nodes 4. Static IP Address and Hosts File Setup 5. Creating a Common User for All Nodes 6. Creating a Mountable Drive on the Master Node 7. Configuring the Eight Nodes 8. Testing the Super Cluster 9. Real-World Math Application 10. Real-World Physics Application 11. Real-World Engineering Application A. Appendix

Automating mounting of drives


We will now discuss the process of automating the mounting of the gamma drive. Enter exit, you should now be at the pi@Mst0:~$. Now ssh into the slave drive (Slv1). Enter the command; sudo reboot. After reboot, check to see if the beta folder was mounted (see the following screenshot):

Clearly, the beta drive did not mount. You therefore need to edit the fstab file, and set up an automatic mount point command in there, so that you don't have to execute the mount command every time somebody logs in after reboot. Enter the command; sudo vim /etc/fstab (see the following screenshot). Add the text highlighted in red:

The first argument Mst0:/beta is the same as the first argument used in the previous mount command (recall Mst0 has the value of the IP address). The second argument /beta signifies the local drive you want to mount to. The third argument nfs is the type of filesystem being mounted to. The fourth argument is a series of parameters required for setting...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime