A set of utilities to move unRAID user share files between disks. Currently consists of two bash scripts:
diskmvwill move a user share file or directory from one disk to another. It uses a find/rsync command similar to what is found in the standard mover script. It is suitable for merging a user share directory onto a disk that already contains that directory. Files that have duplicate file names on the destination disk will not be moved. By default,diskmvwill run in test mode and display some information about how files would be moved, but will not actually move files unless forced.consld8can consolidate a user share directory from multiple disks onto one disk. If a destination disk is not specified, it will pick the best disk based on max usage and available space. By default,consld8will run in test mode and display some information about how directories would be moved, but will not actually move files unless forced.diskmvis required to actually move files.
Example usage:
diskmv "/mnt/user/video/tv/Pushing Daisies" disk4 disk1
consld8 /mnt/user/video/tv/Wonderfalls disk3
These utilities move files around on an unRAID server. I have done my best to prevent any data loss, but there is always a chance something can go wrong. Use at your own risk and please ensure you have everything backed up.