Network Shares

Linux

Here are the steps to connect to your shared disk space on the NetApp if you are running Linux. You need to have already established a RSMAS email account, and already set up your personal folder on the NetApp. The ftp and http folders (below) are available only if you requested them during step 1 in your personal folder setup.

“map.sh” will create a folder in your home directory called “mount” where your Netapp folder is mounted. Links are created to this area and provide the following folders in your home directory:

./share Files you place in this area are stored on the RSMAS NetApp disk server and should "safe" from normal disasters, but are not archived. They are gone when you delete them. You can mount this folder on different computers.
./ftp Files placed in the folder will be available for anonymous FTP on the RSMAS ftp server at ftp://ftp.rsmas.miami.edu/users/USERNAME
./http You can set up a personal web page in this area. Place a file index.htm in this directory as the starting point. Don't use the text of index.htm- save the source and use it as a template. Look at the policy information for UM personal web pages. The web page will be available as http://www.rsmas.miami.edu/personal/YOUR-USERNAME.

You will need to know the username/password you gave when you set up your personal folder. You must be able to run privileged commands on your Linux computer using the “sudo” command. If RCF set up your workstation you probably have sudo access. A sudo command prompts your for your password to authorize privileged access for the command. You can test that you have “sudo” access by:

> sudo whoami
Password: ENTER YOUR ACCOUNT PASSWORD
root

The command should return "root", as shown. If you don't have "sudo" or root access, .(JavaScript must be enabled to view this email address). We will need to know the name/IP address of your computer and your username on the computer.

Download the shell script map.sh to your home directory on your Linux compute (right click the link and select the save-link option).

Execute it by entering

> chmod +xmap.sh
> ./map.sh
Password: (enter your Linux account password for sudo)

The area should now be set up.

Usage:

  • Your folder should mount automatically at boot time and be available to you.
  • You can mount it anytime you need with: /bin/mount ~/mount
  • You can unmount it with: smbumount ~/mount

Note: The smbmnt program must be set to run as root for this to work. The install script does that for you, but it can be unset if the Samba package is updated during RedHat update runs. If you suddenly can't do the mount, you need to run:

sudo /bin/chmod u+s /usr/bin/smbmnt