How to transition from MacZFS?

Moderators: jhartley, MSR734, nola

How to transition from MacZFS?

Post by robert » Mon Oct 01, 2012 3:57 am

How do I transition from MacZFS to ZEVO CE?

I exported my pools while still on MacZFS.
Then I installed ZEVO CE and rebooted.
Here comes the problems:
I could import a striped pool (as read only, might simply be a ownership/permission issue).
I could NOT import the mirrored pool that has all my data.
It says: "cannot import 'atlantic': invalid vdev configuration" (atlantic being my pool with two mirrored disks).

Please advice on how to transition when only have one Mac.
I might be able to set another computer running OpenIndiana, FreeBSD or something if that would help.

EDIT:
The striped pool is actually mounted as a read-only file system. :(
robert Offline


 
Posts: 7
Joined: Mon Sep 17, 2012 4:50 am

Re: How to transition from MacZFS?

Post by robert » Mon Oct 01, 2012 7:08 am

I'm thinking that I might set up an OpenIndiana box..
Put my old pool in there, create a new one with version 28 and transfer all the files there.
Will the ZEVO CE on my mac be able to use the OIv28-pool or will I be force to create another v28-pool on my mac, put it in the OI box and transfer the files?
robert Offline


 
Posts: 7
Joined: Mon Sep 17, 2012 4:50 am

Re: How to transition from MacZFS?

Post by grahamperrin » Mon Oct 01, 2012 2:58 pm

grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: How to transition from MacZFS?

Post by robert » Tue Oct 02, 2012 4:20 am

Ok, no good answers/solutions but to do a send/recieve or rsync from old pool to new pool.

The solution I'm trying now:
1. Make a striped v8 pool that can be imported with ZEVO (at least as read only).
2. rsync all data from old mirrored pool to the new striped "transfer pool".
3. Use some serious ninja magic and pray that the drives in the new striped pool doesn't crash before step 6 is complete.
4. Uninstall MacZFS and install ZEVO.
5. Destroy the old mirrored pool and create a new one with ZEVO and all my desired options.
(-O casesensitivity=insensitive -O normalization=formD -O ashift=12)
6. rsync or send/recieve from striped "transfer pool" to the new v28 mirrored pool.

This is far from perfect, mainly because of the striped pool holding the data for a while but I will make an extra backup of the most important data (my iphoto archive).
robert Offline


 
Posts: 7
Joined: Mon Sep 17, 2012 4:50 am

Re: How to transition from MacZFS?

Post by wonkywonky » Tue Oct 02, 2012 10:21 am

I had the same problem with importing a pool with a single mirrored vdev - received the same "invalid vdev config" error message. I was surprised because importing a pool with two RAIDZ vdevs went fine, and likewise for another pool with two mirrored vdevs.

I ended up blowing away the first pool in the end and recreating it in Zevo from scratch.
wonkywonky Offline


 
Posts: 25
Joined: Fri Sep 14, 2012 11:33 pm

Re: How to transition from MacZFS?

Post by alexwasserman » Sun Oct 07, 2012 10:38 am

I'm thinking that I might set up an OpenIndiana box..


Personally, I just have an OpenIndiana boot disk on a USB key.

Whenever I need OI I can boot from it, hit 3 to open a console, and I get OI root immediately. I can then import the pools, work on them as necessary.

Then just reboot, pull out the key, and I'm back in OSX. Helps that I'm on a hackintosh though, so this might not be available if you're on a pure Mac, but it's a neat solution if you can use it.
alexwasserman Offline


 
Posts: 21
Joined: Mon Sep 17, 2012 4:04 pm


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 1 guest

cron