Over 50GB: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
2. So at some point in time, you log off entirely, from all LWPs, when you leave from work in the evening. | 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. | 3. The next morning (bar some malfunction) when you log in, your home directory is now on another server. Moreover, the directories marked for <code>/project</code> are no longer where they were. They are now in <code>/project/whatever_name_we_agreed_on</code>. | ||
Please note that | Please note that | ||
ls /project | ls /project | ||
will not show anything. Only when you actually access a directory under /project will it be mounted and shown. | will not show anything. Only when you actually access a directory under <code>/project</code> will it be mounted and shown. | ||
===Danger!=== | |||
<em>Do not access</em> <code>/project/whatever_name_we_agreed_on/moved-dirs</code> until <code>~/moved-dirs</code> have vanished from your home directory. | |||
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. | |||
===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. |
Revision as of 11:06, 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 is 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.