movedir -a user [filesystem]If not specified, movedir will pick the filesystem with the most available space. The -a option will select auto mode which verifies that the user is not logged in and removes all the "Are you sure?" type questions. Movedir needs to run on a cluster member that has access to all the filesystems that have home directories for this cluster. For example, run it on a homer or seuss2, not a generic aesop.
To move a user's web directory, use the -w option on the movedir command. Moving web directories requires that you run the command on seuss2 as root.
#homer15> cd /rc04 #homer15> /usr/local/etc/migrate.sh
For a web disk, use the migrate.sh -w command. This command must be run on the master host for the cluster. That would be seuss2 for the /hwXX filesystems or guido05 for the /dwXX filesystems.
min = 60, max = 75
which tells migrate to stop if
all the disks are above 60% full or they're all below 75% full (this is
from days when we were more optimistic). If you want to override the
default configuration parameters you can specify alternate min and max
values on the command line:
#homer15> /usr/local/etc/migrate -m 75,85 #guido05> /usr/local/etc/migrate -w -m 80,90Again, make sure you run the migrate -w command on the appropriate cluster master.
The -c option on the migrate.sh script will attempt to move all users off of the current disk. For example:
#homer15> cd /rc02 #homer15> /usr/local/etc/migrate.sh -cor:
#seuss2> cd /hw12 #seuss2> /usr/local/etc/migrate.sh -c -wThis simply increases the number of users it moves from the 30 or 50 to an unlimited number and uses the -force parameter on the movedir command rather than -auto. It normally has to be run several times over a period of several days. Eventually, intervening:
#homer15> isheon -v user #homer15> rsh homerxx ps -fu user #homer15> rsh homerxx kill -HUP PIDtype commands may be required at appropriate times (try to warn the user first if they're current sessions).