Hi,
Here's my starting point:
- I have 12G free space
- I want to move a few dozens of files between 1 and 15G
- on ZFS
- across different datasets
- in the same pool
- on 14.1-RELEASE
So far I considered:
- simple mv: doesn't work because it deletes files only at the end
- idem with rsync: same issue
- using find or a for loop for these
- using hardlinks because it would avoid copy: not supported across datasets, right?
I also understand there is no way to avoid making some more room if I want to move the biggest files.
So I guess I will go with find+rsync --remove-source-files, and try to make some room.
Any other ideas or advice?
(I am planning to move to a bigger server but waiting from my hosting provider to restock - no ETA.)
Here's my starting point:
- I have 12G free space
- I want to move a few dozens of files between 1 and 15G
- on ZFS
- across different datasets
- in the same pool
- on 14.1-RELEASE
So far I considered:
- simple mv: doesn't work because it deletes files only at the end
- idem with rsync: same issue
- using find or a for loop for these
- using hardlinks because it would avoid copy: not supported across datasets, right?
I also understand there is no way to avoid making some more room if I want to move the biggest files.
So I guess I will go with find+rsync --remove-source-files, and try to make some room.
Any other ideas or advice?
(I am planning to move to a bigger server but waiting from my hosting provider to restock - no ETA.)