ZFS RAIDZ1 Recovery From Disk Images

I have an unencrypted ZFS RAIDZ1 pool of 5x 3TB drives.
I am cloning them to a 14TB drive as images with DD in Mint.
What are the possible options to mout the images on the 14TB drives then copy the data back to the 3TB drives as encrypted. Thank you.

Huh,I know pools can be created with files at the “drives” and one would use the -d flag with the directory that the images are stored upon, but I have never tried it

Unsolicited advice

Okay, Child Datasets may have got around this, and maybe still can.

Your idea of making images, ad transferring the files should work, but I am not sure it is the best way

Personally, I would create a zpool of 1 drive with the 14TB drive, and create a child dataset with encryption on.
Then "zfs send " incramentally from the array to the single drive pool’s child
I find the package syncoid (from the app sanoid) with the -r flag a nice, verbose way of doing it, if one can install sanoid/syncoid. [As with any such, check manpage for whether source first or target, else you hose it all]

After the transfer you have a backup. Export the array, and test the backup…
Do a full scrub to ensure all the data is not corrupt.
Once all tested, you have a safe copy, and can export single drive, import array. I suggest rebooting to clear caches

Now the tricky part.
Depending how full the array was, you might be able to copy in place, from the main array’s file system, to an encrypted child dataset, deleting from the main pool after each bit is transfered.

You should have been making snapshots normally, and you would have to destroy snapshots to free up space for the transfer.

If you make several child datasets, in the future this kind of thing might be easier, like tank/Movies, tank/Mailserver, tank/Carphotos. You might even be able to zfs send a whole child dataset from onepool to another.

If you already have child datasets, then maybe there is space in the pool to transfer between plain and encrypted datasets,on the same pool?

Just my 2 cents. Please be careful and don’t hose data

Thank you. My cache is empty I hope that after after imaging for 10 hours my cache is full. I’ve been spending thousands on new hard drives.

It took me a long time to find the right place to sop for hard drives but after I did I bumped into the manager whilst stacking and I got these.

Yes, I could have edited my last post but I don’t like sword fighting.

What does mints or garlic mincer have to do with hard drives or disk image recovery?

Are you going a trip soon?

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.