I have a Ubuntu NAS set up with two 1.5TB in a mirrored array. We recently needed more storage and will constantly be adding to this machine. We added 2 2TB drives in a striped array. What I'd like to do is find all directories totaling 10GB+ on the mirrored array and move them over to the striped array to increase storage on the mirrored array for smaller, more important data. I've tried:
find /mirror -maxdepth 1 -size 10G
find /mirror -size 10
find /mirror -size +10G
find /mirror -size +10G -maxdepth 1
find /mirror -size +10G -type d
As you can see, I haven't even gotten to the point of moving them over, but all of these produce 0 results and I know for a fact that there's at least 5 directories of 10GB or greater in /mirror. It doesn't appear to be calculating the size recursively. Does anyone know how I would go about accomplishing my task, or at least finding directories of =>10GB from bash?