UNM Information Technologies (IT)

Techniques For Managing Your NetID Disk Space

UNM’s shared system is a cooperative environment that depends on the responsible use of resources to function efficiently. Information Technologies (IT) depends on everyone at UNM to help conserve and manage the University’s computer resources. Please be considerate of others when managing your NetID disk space.

Managing Your E-mail Disk Space
Managing Your General Disk Space
Downloading Files to your Desktop
Compressing Files for Later Use
Using the Scratch Directory for Temporary File Storage

Managing Your E-mail Disk Space

Your NetID e-mail allocation (including INBOX and folders) is 1GB. WebMail, UNM’s Web-based e-mail application, continually displays how much disk space you have used (default view) and automatically alerts you when you approach the limit of your e-mail disk space.

To efficiently manage your e-mail disk space:

  • Promptly delete unwanted messages, especially those with large attachments, such as images and PDF files.

  • Unsubscribe from unwanted electronic mailing lists. Send a message to the Listserv (listserv@domain) and type the following in the body of the message:

unsubscribe listname

  • Stop your mail from electronic mailing lists while you are away and unable to access your email. Send a message to the Listserv (listserv@domain) and type the following in the body of the message:

set listname nomail

When you return, resume mail by sending the following in the body of the message:

set listname mail

Back to Top

Managing Your General Disk Space

Your UNIX disk space allocation is 50MB.

To find out how much general disk space you have used, send an email to quotas@unm.edu. Leave the message area blank. Your disk space usage will be sent to you by reply email.

To conserve your general disk space, promptly delete unwanted files. If you reach your disk space allocation limit, any files you modify or attempt to save, will be reduced to an empty file, and your data will be lost.

Other options for freeing up disk space include:

Increasing Your Disk Space Allocation

If you have a legitimate academic need, you may request that your general disk space be increased. Contact Customer Support Services, 277.5757 to request a disk space quota increase. You must be able to demonstrate a serious and compelling need to receive more disk space.

Back to Top

Downloading Files to Your Desktop

You can download files to your computer’s desktop using SFTP (Secure File Transfer Protocol) programs, such as Secure File Transfer Client (for Windows) and Fugu (for Macintosh). Both programs are available on computers in IT computer pods and can be downloaded at the IT Download page. For detailed instructions on using these programs, see:

Back to Top

Compressing Files for Later Use

Use the compress command to reduce the size of large files you’re not currently using but may need later.

Compressing a File

At the Linux prompt ($), type:

compress filename

The file will be replaced by a compressed file with a .Z extension, e.g., filename.Z.

Use the wildcard symbol (*) to compress a set of files. E.g.:

compress *.exe

Uncompressing a File

When you are ready to use the file again, restore it to its original form using the uncompress command:

uncompress filename

Use the wildcard symbol (*) to uncompress a group of files. E.g.:

uncompress *.exe

Archiving and Compressing a Directory

First, use the tar command to create an archive of the directory you want to compress:

tar cf myarchive.tar mydirectory

Then, compress the archived directory. Remember to include the .tar extension when you type the command:

compress myarchive.tar

The archived directory will be compressed and renamed with the .Z extension, e.g., myarchive.tar.Z

Finally, remove the original directory and files:

rm -r mydirectory

Restoring an Archived and Compressed Directory

At the Linux prompt ($), type the following commands in order:

uncompress myarchive.tar

tar xvf myarchive.tar

rm myarchive.tar

Other Ways to Conserve Disk Space

Two other commands that are useful for conserving disk space are compact and strip. For instructions on using these commands, type the following at the Linux prompt ($):

man compress

or

man strip

Back to Top

Using the Scratch Directory for Temporary File Storage

When you use UNIX , you have access to a temporary storage directory named /scratch.
Note:
Files stored in this directory are automatically deleted after three days.

To access the /scratch directory, type the following at the Linux prompt ($):

cd /scratch

To store multiple files in the /scratch directory, you must first create a subdirectory using your NetID:

mkdir /scratch/NetID

Open the new subdirectory by typing:

cd /scratch/NetID

Use the move command to transfer files from your account to your subdirectory in /scratch:

mv ~NetID/filename

Use the move command again to return the files to your NetID disk:

mv filename ~NetID

Need Help?

Contact IT Customer Support Services at 277.5757.

Back to Top