TLDR: I need to destroy and recreate my pool. I'm wondering what advantages is available to me when using zfs send/receive vs good old rsync. I've search the net but cannot find the answer. This is with the assumption zfs send/receive is available to me.
I need to recreate my pool as I've made mistakes in its creation.
-------------------------------------------------------------------
setup:
I need to recreate my pool as I've made mistakes in its creation.
-------------------------------------------------------------------
setup:
- 8-drive raidz1 pool (around 9.5TB in used spaced according to du -d1-h) (let's call this spool and no datasets on this one)
- 4-drive raidz1 pool (around 8.5TB in total space) (let's call this dpool1 and no datasets on this one as well.
- 1-drive striped pool (around 2TB in total space) (let's call this dpool2 and no datasets on this one as well.)
- Because i don't have enough disks to I have to temporarily copy the contents of spool to several pools.
- There are 5 main folders in spool. The biggest folder in spool is around 9TB. This folder has 10 subfolders. To maximize space, I transferred (via rsync) 9 subfolders to dpool1 and this consumed around 8.3TB space. To make it easy to explain, let's call the folder not copied to dpool1 as "not-copied-subfolder"
- Any leftover contents that hasn't been copied to dpool1 were transferred to dpool2 via rsync.
- In the new pool, I will be creating 5 datasets to correspond to the 5 main folders mentioned in no.5. Am I able to use zfs send/receive to transfer the data from dpool1-2 using this method? I have a feeling it's not possible because looking at the oracle documentation and "man zfs", it clearly mentioned the word snapshot.
- In the remote possibility that no.7 is possible, can I use zfs send/receive to transfer the "not-copied-subfolder" I had to copy to dpool2 back into it's original folder?