NAS Migration


Contents

Information about problems due to home directory movement

All home directories have been moved to the new servers nas1 and nas2. The system has received this upgrade to provide data redundancy, which means the user will be able to access her files, in the case that one of the servers breaks down.

The move might cause some problems, as the path of the home directory has changed. Some programs store the absolute path of the home directory, and since this path has been changed, the program doesn't know where to find the files. G-Bar support has tried to locate the problems and below is a list of the problems located so far, and possible solutions to make the programs work again.

Opera

Opera may crash (segmentation fault). There is two possible solutions to this

rm -rf ~/.opera/

Note: This will delete ALL your settings, including bookmarks, made in Opera.

Note: Eventhough the line you find may continue on, your home directory ends with your student number.

OLDHOME=/gbar/bohr/home1/s80/s801234
cd ~/.opera/
gfind -type f -exec sed 's,$OLDHOMEr,$HOME,g' -i '{}' \;

If you have troubles locating your old home directory, you can see us in the G-Bar Support office for help.

Matlab

If you have added directories to the Matlab search path, you have to correct the file pathdef.m. The file is typically located in the folder matlab in you home directory. Open the file, and correct it by replacing the old path with your new path. Your new home directory path can be seen with the command

echo $HOME

from a terminal.

StarOffice 7

This solution is only relevant if you insist on using StarOffice 7 instead of the newest StarOffice, and we highly recommend you to use the newest version.

To tell StarOffice 7 (and OpenOffice 1.1.x) the new location of your home directory, you should the edit the file .sversionrc in your home directory. Replace the old pathname with the new one and save the file.

You should also run the following command:

 mkdir -p $HOME/.staroffice7/user/config

to makes sure that this directory exists and that StarOffice can save some configuration information to it.


Please Contact G-Bar support if you have any problems not decribed here, or if the solutions did not help.

Access Control Lists - a.k.a. ACLs

ACLs do no longer work, sorry. If you do not know what this is, then do not worry. You have probably not been using it.

Quick fix

You can try out a quick fix which will change all occurences of your old home directory path to your new path.

It is not a perfect fix - there may be some applications for which this is not enough.

OLDHOME=/gbar/bohr/home1/s80/s801234
for i in `grep -l $OLDHOME .*`; do sed 's,$OLDHOME,$HOME,' -i "$i"; done

If you have troubles locating your old home directory, you can see us in the G-Bar Support office for help.