| < mvto Documentation | Russ Allbery > Software > mvto |
Strip trailing whitespace from volume names in list files given with -l.
Lines changed: +4 -2
When moving a replicated volume, if there already was a replica site on the server to which the volume is being moved, don't attempt to remove that replica twice. Patch from Hans-Gunther Borrmann.
Lines changed: +3 -2
Better handle the unusual case of a replicated volume with no RO sites on the same server as the RW site. Be more careful not to move the RW with replica site to a server where there is already a replica of the volume. Allow use of mvto -s to move volumes between partitions on the same server provided that the volume is not replicated. Document the current bug that causes mvto to increase the replication of a volume when moving the RW site with -s, where there is no replica on the same server as the RW before the move begins.
Lines changed: +17 -12
Don't use vos release -f; the -f flag is no longer necessary and partial releases work fine and are far faster.
Lines changed: +2 -2
Close the vos partinfo pipe after getting the usage information on the destination partition to avoid leaving a zombie process behind.
Lines changed: +2 -1
Avoid an uninitialized variable warning with -s when the volume isn't on the source partition at all.
Lines changed: +5 -2
-s was bypassing the check for unreleased changes. Fixed.
Lines changed: +9 -1
Another minor fix for -s and -L at the same time.
Lines changed: +2 -2
Allow -s and -L to be used together.
Lines changed: +2 -2
Check to make sure that moving a volume or adding a replica to a given partition will not overfill that partition, where overfilling is defined by a threshold defaulting to 90% but configurable with the -t flag. Add support for moving unreplicated volumes between partitions on the same server. Add support for the -L flag, which gives a volume list including destination locations rather than moving all volumes to the same location given on the command line.
Lines changed: +148 -43
Fix a missing bracket in the documentation synopsis.
Lines changed: +2 -2
Add the -s flag to move only a single site of a replicated volume, without having to know where all of the other sites are located (or putting them all in the same place for a whole list of volumes).
Lines changed: +107 -11
Made the code considerably more structured and added a license. Added the -l option to specify a list of volumes to work on, making mvtos obsolete. Use my current version printing code and played with the output formatting a little bit.
Lines changed: +296 -113
Search for an appropriate version of vos.
Lines changed: +38 -40
Took the partition out of the "volume is already on" message in one more place.
Lines changed: +2 -2
Add the ability to select the partition on a server with the most space, from either the entire server or from a specified range on the command line. Added a check to see if a volume has unreleased changes before releasing it and refuse to release such volumes unless --force was given on the command line. Minor cleanups to the messages saying that a volume is already on a given partition, and switched to a better algorithm for printing the version number on --version.
Lines changed: +173 -58
Refuse to change the replication status of a volume. Before, mvto would increase a volume's replication, which is undesireable. Bump revision number.
Lines changed: +14 -9
Allow for /vicepaa partitions.
Lines changed: +3 -3
Only do a volume release if we had to do a vos addsite, added complete documentation.
Lines changed: +115 -3
Automatically fix volumes that didn't have a clone release and are replicated.
Lines changed: +6 -2
Was accidentally deleting the inode clone in the case where the RW didn't have to be moved.
Lines changed: +2 -1
Fixed uninitialized value warning.
Lines changed: +2 -2
Massively extended. Now can handle replicated volumes and specification of where all the replicas should go. Still a work in progress, as it needs more testing and documentation.
Lines changed: +125 -16
Add a better usage message and allow AFS servers to be specified as just a number.
Lines changed: +2 -2
Initial import of Neil's script to move volumes independent of their current location.
| < mvto Documentation | Russ Allbery > Software > mvto |