Over 50GB: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
While <code>~/moved-dirs</code> still exist, the copy under <code>/project</code> is just that: a copy. It may lag behind, or be incomplete, or be currently written by our scripts, or all of these. By accessing it, you now have modifications in both copies. That constitutes a mess, and since we warned you, it is you who gets to sort it out.
While <code>~/moved-dirs</code> still exist, the copy under <code>/project</code> is just that: a copy. It may lag behind, or be incomplete, or be currently written by our scripts, or all of these. By accessing it, you now have modifications in both copies. That constitutes a mess, and since we warned you, it is you who gets to sort it out.


Once <code>~/moved-dirs</code> have vanished, your account has been migrated, and the new path under /project is the only one. Only then is is fine to use it.
Once <code>~/moved-dirs</code> have vanished, your account has been migrated, and the new path under /project is the only one. Only then is it fine to use it.


===Handy symlinks===
===Handy symlinks===

Revision as of 11:07, 24 June 2018

So we have contacted you, and we have agreed on what to move where. Here's what will happen now.

1. Once you've told us what to move and where to move it, our servers will start copying data over.

But even when that is done, you won't be moved unless you log off from all LWPs.

2. So at some point in time, you log off entirely, from all LWPs, when you leave from work in the evening.

3. The next morning (bar some malfunction) when you log in, your home directory is now on another server. Moreover, the directories marked for /project are no longer where they were. They are now in /project/whatever_name_we_agreed_on.


Please note that

ls /project

will not show anything. Only when you actually access a directory under /project will it be mounted and shown.

Danger!

Do not access /project/whatever_name_we_agreed_on/moved-dirs until ~/moved-dirs have vanished from your home directory. While ~/moved-dirs still exist, the copy under /project is just that: a copy. It may lag behind, or be incomplete, or be currently written by our scripts, or all of these. By accessing it, you now have modifications in both copies. That constitutes a mess, and since we warned you, it is you who gets to sort it out.

Once ~/moved-dirs have vanished, your account has been migrated, and the new path under /project is the only one. Only then is it fine to use it.

Handy symlinks

Once you have been migrated (and not sooner, see the danger above), you could create symlinks from the old location to the new one:

ln -sT /project/whatever_name_we_agreed_on/somedir ~/somedir

There are programs that will treat a symlink differently from an ordinary file or directory, but most will keep working as if nothing had happened.