MGCF FAQ

1) I accidentally deleted a file. Can I get it back?

2) How do I capture an image from the screen?

3) How do I change my password?

4a) How do I connect from my computer running Windows ?

4b) How do I connect from my computer running Mac OSX?

4c) How do I connect from my off campus computer?

5) How do I use Windows software within the MGCF?


1) I accidentally deleted a file. Can I get it back?

To restore most files, you have several choices: a daily mirror, weekly mirrors, and offline mirrors.

Daily Mirror: Your files are mirrored (additions, changes and deletions!) daily at 4am. This is an almost complete copy of your home directory as it was at the time of the backup. If you just deleted a file, go to the daily mirror copy which is in a directory called /storage/export on the machine called barney.

ssh barney
cd /storage/export/home/$user
Use ls and cd to find your filename and type
cp filename ~
This will copy your filename to your home directory (that's what the ~ means).

Weekly Mirrors: There are also mirrors made once per week: Friday at 10pm on slate and Wednesday 10pm on bambam. If you failed to recover your file in time for the daily mirror, then perhaps it is still on one the weekly mirrors. Just ssh slate or bambam and check in /storage/export/home/$user and the sub folders therein.

Offline Mirrors: There are other backups that are not directly accessible for users. However if you need files from a given date, please email Kathy and she will try to restore them. Specify file and folder names along with dates.

We do not archive files. Old files are stored for a few months and then we overwrite.

Note: Our backups disregard files that are >15GB in size and *.rwf files since those are usually temporary scratch files that clog the backup process. WAVECAR files of any size are excluded from the nightly backups but those that are < 15GB in size are on the biweekly backups.


2) How do I capture an image from the screen?

***Make sure the target window or area is not obscured by any other window or image.***

The import command is part of the ImageMagick suite of tools. You use it by typing import filename.jpg followed by the Enter key.
Then either click once on the window of interest or click-drag to specify a rectangle. You will hear a beep and the file called filename.jpg is created.

Type display filename.jpg to open the editing tool of ImageMagick. Clicking anywhere in the ImageMagick window will then bring up a control panel which can be used to edit and resave the image.

Import can save the image in different formats (gif, tiff, jpg, png) if you specify the desired format at the import step. For example: import filename.tiff

The ImageMagick suite of tools is extensive, powerful and scriptable. Check it out for more sophisticated image editing needs.


3) How do I change my password?

Type these commands:
ssh fred
passwd
Put in your old password and then new when prompted. Changes will be propagated to other machines in a few hours.


4a) How do I connect from a computer running Windows?

We recommend Mobaxterm.

Choose the Free, Personal version. Then install as usual (the Installer edition is better for most people). Make sure you allow Mobaxterm to get through the Windows firewall. Start a new Session. Choose SSH. Check the box for "Specify username" and type in your MGCF username. For "Remote Host" you can specify any facility machinename.cchem.berkeley.edu
replacing "machinename" with wilma, stone, slate, barney, betty, lava, gravel, rubble, bambam, bronto, fred, energy or nano. More details about the workstations are here.

Give your MGCF password at the prompt, and you will access your home directory just like you would in the facilty.

Gaussview note:Some graphics libraries may be incompatible. A work-around is to type setenv USE_MESAGL 1 immediately before starting GaussView (the gv5 or gv6 command).


4b) How do I connect from a computer running Mac OSX?

You must first install XQuartz.

Once XQuartz is installed, open the Terminal program (Applications -> Utilities). In your Terminal, type:

ssh -Y username@machinename.cchem.berkeley.edu

where "username" is your MGCF username and "machinename" is one of the workstations listed here. If you are presented with a message from ssh asking whether you want to continue logging in, type yes. Give your MGCF password at the prompt, and you will get a command prompt in your MGCF home directory just like you get when you login in 175 Tan Hall. You can use most graphical programs such as gedit, Gaussview and Maestro, but they will probably run more slowly than when you are in 175 Tan Hall.

Note: Try connecting using the -X option instead of -Y if you are having trouble opening programs.

Gaussview note:Some graphics libraries may be incompatible. A work-around is to type setenv USE_MESAGL 1 immediately before starting GaussView (the gv5 or gv6 command).

File transfers: MacFusion is a nice tool. It mounts remote servers as local drives within finder allowing normal drag an drop operation. Connect to "machinename.cchem.berkeley.edu" (see section above). Use your MGCF username and the ssh protocol ("22" is the Port).


4c) How do I connect from my off campus computer?

We only accept connections from berkeley.edu and lbl.gov networks. If you are off campus, you need to start a VPN session before starting your ssh, PuTTY, fugu or filezilla connection.


5) How do I use Windows software within the MGCF?

We run a Windows Virtual Machine inside most of the MGCF and Kavli Linux workstations. This allows us to support a few key programs that are Windows only. If you need access to any of these programs, please see our Windows WM notes.

Back to the MGCF Home Page