Temporary Storage in Linux

By default, each user is granted 8GB of storage in their home directory, but
we don’t recommend using that storage for temporary files.

/tmp: RAM backed storage
Each CADE machine has 32GB of VERY fast storage at /tmp intended for temporary files. This storage is local to each machine and is lost if the machine is powered off.

/var/tmp: SSD backed storage
If 32GB is not enough, you can use /var/tmp, which has ~200GB of SSD-backed storage. This storage is local to each machine and is retained across reboots.

/scratch: NFS backed storage
If you need more than 200GB, you can use /scratch/tmp, which is 10TB, but the speed will be significantly slower. This storage is accessible on all machines.

How do I create a CADE account?

To create a CADE account, follow the steps at https://usertools.eng.utah.edu

You do not need to register your UCard for access to the labs as anyone with a current UCard may enter the lab.

The username and password for this account is the same for ALL Price College of Engineering computer lab computers (Windows, Linux, and macOS labs).

If you forget your username and/or password, or wish to reset it, you can do so from the same User Tools Link. This link can also be found under Quick Links, PCE User Tools – Password Reset.

How do i share a folder or files with another user or group?

Once logged in to a linux machine, open a Terminal and you’ll issue a few commands. By default, you start in your home directory (/home/username) and it may appear with a prompt to the left of the cursor indicating that (a user’s ‘home’ may be represented by the ‘~’ char).
If you don’t have a directory to share, create one with something like:

[warthogs@lab1-23 ~]$ mkdir TeamSamba

The directory inherits the default permissions, in this case rwx (read-write-execute for the owner, your username; read-execute for group; read-execute for everyone/all users:
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxr-xr-x 2 warthogs csugrad 4096 Oct 9 12:47 TeamSamba/

To verify the groupname for setting the directory permissions, find out which groups you’re a member of:
[warthogs@lab1-23 ~]$ groups
csugrad telerobotics mediashare src cs6090 cei manu

And assign one to the directory:
[warthogs@lab1-23 ~]$ chgrp telerobotics TeamSamba
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxr-xr-x 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/

Finally, set the permissions so the group can write files, but no other users can see in the directory:
[warthogs@lab1-23 ~]$ chmod 2770 TeamSamba/
[warthogs@lab1-23 ~]$ ls -ld TeamSamba/
drwxrws— 2 warthogs telerobotics 4096 Oct 9 12:47 TeamSamba/

See ‘man chmod’ or ‘man chgrp’ for syntax details and more information.

What is ‘handin’ and how do i use it to turn in my assignment?

‘handin’ is a utility for turning in assignments to a course directory (/home/’course#’/handin/’Assignment’/username). Once turned in, the course professor/instructor or TAs can access the files, but neither you nor other students can see them. Running ‘handin’ will replace same-named files with each successive run.

One can now hand in their assignments using the online form:

https://webhandin.eng.utah.edu/

or using the command line on the Linux machines:

handin class# Assignment# /path/to/local-file

What if I am locked out of my account?

Perhaps you have entered your password incorrectly too many times logging in to one of our Windows machines or Active Directory controlled services (Lab, mounting network shares, etc.) or are getting the following error:

“The referenced account is currently locked out and may not be logged on to.”

We can unlock your account but it’s only secure if you come ask us in person. It’s difficult to verify identity through e-mail, phone, etc. You may, however, remove the lock by resetting your password via the PCE User Tools page available in the right column of our home page.

If this does not work for your situation, stop in to see the Help Desk in WEB 210 or 224 or e-mail support@coe.utah.edu.

Lost and Found

Lost something? Hoping it was turned in?

There are Lost & Found boxes near the Help Desks in CADE and the Engman Labs. We will no longer be receiving items, but suggesting finders place all items in the marked boxes/tables in front of the offices.

If it didn’t get turned in to us, you might check with the PCE Dean’s Office lost and found (WEB 1650) in case the custodians found it and turned it in there.

Otherwise, send an e-mail to support@coe.utah.edu and let us know what was lost and we’ll let you know if we’ve seen it.

What are the operating hours of the computing labs?

The student computing labs we support are generally open 24 hours a day, 365 days a year.

Some labs, or portions thereof, are reserved for classes and should not be used by those not in the specific course during that time.

On occasion, we experience outages to network, server equipment, or even power. In the unlikely event, we make every effort to restore service as quickly as possible for all users, and will post status as soon as possible. We also reserve the right to withhold access to specific labs or services due to planned outages for upgrades, maintenance, and the like.

Be sure to subscribe to announcement method that works best for you.

How can we get a group for sharing files for our project?

We would be happy to create a group for you – unfortunately, we can’t allow users to create their own. Send an e-mail to opers@eng.utah.edu with the following information:
– The group-owners UNID or CADE username
– The preferred name for the group (please keep it short, and we will likely concatenate for ease; you can use ‘groupsearch’ to see if it exists already).
– Optional: the UNID’s or CADE usernames of the other team members. The owner can modify the member list later at-will via command-line (groupmodify) or web-page (www.cade.utah.edu/groupmod).

Once we reply with the details, the group owner may use the command ‘groupmodify’ to edit the member list.
Somewhere in your home directory, create a directory and assign the group privileges using chgrp and chmod. See the man pages if you need more details.

NOTE: We also offer an SVN Repository service if multiple users could be modifying files at the same time.

Can I run MATLAB Mobile on my iOS or Android device?

Indeed – simply download and install the appropriate mobile device application and then execute the commands in the Matlab application (R2012a+), from a lab machine, or any machine with a licensed copy of Matlab.

You will need MATLAB Connector (available from MathWorks, http://www.mathworks.com/mobile/) on your machine/device. Upon running the install_connector command, you’ll be prompted to accept the license agreement, and then receive an error message you can safely ignore:
Error using install_connector>doinstall (line 100)

Error: You do not have write permission to the MATLAB Installation folder
(/usr/local/apps/matlab/matlab14b).
The MATLAB Connector Installer cannot proceed.

Error in install_connector (line 54)
doinstall

Run the ‘connector on’ command and continue as normal.

See Matlab’s site for full instructions and more information, including a link to download the mobile app.

I deleted a file I want back – Do you have backups or snapshots available?

Snapshots/Backups

Snapshots of users’ home directories are taken every hour. You can access up to 23 hourly, 6 nightly, and 52 weekly snapshots of your entire home directory in the ~/.snapshot directory. Alternatively, from any subdirectory, you can go directly to .snapshot, then the timed directory you prefer.

Note: Older backups (beyond the first weekly) are available in /backup/username/.snapshot. They are moved to a different drive space to ensure their availability.

Restoring an older version of a file is as easy as copying it from a location in .snapshot to your home directory proper. You can do this graphically (with Nautilus, for example) or with the cp command.  ‘.snapshot’ is hidden (notice the preceding ‘ . ‘).  Try:  cd ~/.snapshot  from a Terminal.

Many of the hosted network shares (for departments and research groups) are also snapshotted. As above, cd to the .snapshot directory.