[1805] in SIPB-AFS-requests
Re: a script for mass movement of volumes
daemon@ATHENA.MIT.EDU (salemme@MIT.EDU)
Mon Feb 20 13:38:04 1995
From: salemme@MIT.EDU
Date: Mon, 20 Feb 95 13:37:28 -0500
To: bert@MIT.EDU
Cc: afsreq@MIT.EDU, sipb-afsreq@MIT.EDU, zone-cell@MIT.EDU
Bert, your script sounds like a useful thing. For mass moving of
volumes in the athena cell, there are probably a few things that
would make it more suited for routing use:
a) Don't move volumes named 'disk...' It makes no sense to
move these, and in fact will mess up 'fs df ...' on the
cell by showing misleading information if moved. (That
is, disk.whatever.partition volumes belong only on
a particular server and partition.)
b) Don't move volumes named 'system...' unless the user
specifically says to. These volumes are special because
they are big, and because we really care about which
server and partition they sit on.
c) (I haven't looked at your script, so maybe you already
do this...) Sorting the volumes by size and moving the
smallest ones first is I think the best way to get stuff
off a failing disk. So, does your script give the user
the option to move based on size of anything?
I'm nervous about bulk moving stuff off partitions, with the exception
of non-replicated, small (under 100Mb), non-"disk..." volumes. Also,
the features for dealing with ROs I would be very careful with.
Also, I think that the default behaviour for leaving off the partition
is dangerous...
Giving just the host name, without the partition, for the "from"
location indicates all partitions on that machine.
This is such a big thing, and so easy to make a typo and accidentally
omit the partition name, I would like the partition to be specified
or "-all" to do all...that is, the user must actively specify do the
whole server.
Otherwise, it sounds great!
Anne