Moving data between Pools

Joined
Mar 12, 2021
Messages
8
Hey all, I've got one pool with bad metadata. I've been told it's best to start again from scratch so I've removed all the drives I can and started a new pool. Is there an easy way to move file level data between pools? Because of the corruption I don't think I can take snapshots or use any ZFS level commands as the corruption would come with it. It's only a smaller percentage of my data, a few TB. Is just creating a new SMB share and copying things over via a Windows host the best way?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You could do it server side from the command line. If you aren't that familiar with the Unix command line, Midnight Commander may help; start it using mc.
 
Joined
Mar 12, 2021
Messages
8
You could do it server side from the command line. If you aren't that familiar with the Unix command line, Midnight Commander may help; start it using mc.

MC Seems great but I'm having a ton of issues with it. I'm not sure if it's because my old pool has corruption but it's frequently freezing. Even sometimes when I tell it to copy in background the terminal session completely freezes. Is this common?
 
Joined
Mar 12, 2021
Messages
8
MC Seems great but I'm having a ton of issues with it. I'm not sure if it's because my old pool has corruption but it's frequently freezing. Even sometimes when I tell it to copy in background the terminal session completely freezes. Is this common?

In case anyone discovers this in the future. My issue was the metadata corruption. There's some files and directories that are just broken. They can't be deleted, copied from moved or touched. It just caused MC to hard lock, needed to use the command line to work around it.
 
Top