Unix-based
operating systems, such as Linux, Free-BSD, and Mac X, utilize
Network File Sharing (NSF) as their native file-sharing protocol.
Therefore, a Unix-based computer that needs to mount a drive on
a server whose file system uses SMB must load Samba, which is the
shareware version of the SMB protocol. There are many additional
UNIX vendor solutions, both commercial and open source. Samba,
a popular open-source solution, is included with most versions
of Linux and is also available as a free download.
When you request a share on BlueArc, the administrators,
by default, will set it up for either CIFS or NFS access. If this
share is
intended for project use, you will need to specifically request
that the share have both NFS and CIFS access. Windows-based users
will be able to follow the drive mapping instructions for BlueArc
listed above under the Windows Drive Mapping section.
Linux and Unix users that would like to mount a CIFS share as a
virtual drive will need to ask the administrator of BlueArc for
NFS access to the share and provide them with the following information
about the Linux/Unix account:
| To determine your name
and ID, go to the shell command prompt, type ID and hit <enter>. |
| |
|
| |
Example: |
 |
| |
[tina@localhost
tina]$ id <enter> |
 |
|
system response: |
 |
| |
uid=502(tina) gid=502(tina) groups=502(tina) |
| |
| Notice that, in the example above,
the users Linux login name (tina) is different than her UTLN.
The information she would submit to the administrator is as
follows: |
 |
| |
IP Address = 130.64.206.217
UTLN = trieda01
Computer login account name = tina
UID = 502
Group name = tina
GID = 502
|
|
| Mounting Your Virtual Drive from BlueArc |
| |
|
| Open a command console session and login to the
root with either of the following commands: |
| |
|
| |
su – <enter> (gives
a root shell using the root password) |
 |
| |
OR |
 |
| |
sudo su – <enter> (gives
a root shell using the user password) |
| |
|
| |
|
| To create a new directory: |
 |
| |
Type mkdir directoryname <enter> |
| |
|
| |
Note that the mapping command should be typed as one long
line. The “*” connotes
a space. In addition, the /local_directory used
must already exist on the local machine. |
| |
|
| |
|
| To mount a drive, use
the following command: |
| |
|
mount*-o
*proto=tcp,vers=3,wsize=32768,rsize=32768*server:/share*
/local_directory <enter> |
| |
|
| |
Remember - this command must be typed as one continuous line.
The * indicates a space inserted
in the command. |
| |
|
| |
|
| In this example, a share named tccsdocs on BlueArc
is mounted to a directory named maptest in the user’s
home directory: |
| |
|
| mount*-o*proto=tcp,vers=3,wsize=32768,rsize=32768* noah.tccs.tufts.edu:/tccsdoc*/home/tina/maptest <enter> |
| |
|
| |
|
| To unmount the share, type the following command: |
| |
|
| |
umount*/local_directory <enter> |
| |
|
| |
Example: |
 |
| |
umount*/home/tina/maptest <enter> |
| |
|
| |
|
| You must exit from the root shell after using
the mount or unmount commands. Additionally, you will need
to remap your connections to BlueArc the next time you wish
to connect. Mapping to your P: or Q: and R: drives on a Unix
or Linux system is not supported at this time. |
| |
|
| For questions or help accessing Tufts network
services, contact your departmental IT Support organization.
A complete listing of Tufts
University IT resources is available by clicking here. |