Upgrade from MacZFS

Moderators: jhartley, MSR734, nola

Upgrade from MacZFS

Post by alexwasserman » Mon Sep 17, 2012 4:39 pm

Guys,

Just to comment with how I upgraded. I have a single pool: Data (5Tb consisting of 1Tb, 2Tb, and 3Tb mirrors). There is a subfilesystem under the pool Data/Users which is mounted on /Users. Data itself is mounted on /Volumes/Data as per OSX default. Having /Users mounted on ZFS meant that I had some extra steps in case the pool didn't come up after an install.

To upgrade:

1. Create a new admin user: Admin
As per above - my normal users are on ZFS, and it's nice to have a blank canvas in case.

2. Create a directory on my system SSD that isn't on ZFS /AdminHome
Avoiding ZFS.

3. Set Admin's home to be AdminHome
Avoiding ZFS.

4. Log out of my normal account and log in as Admin
When I logged in as Admin I checked for all processes still running as my normal user and killed them. Checked no process was hitting the ZFS pool, otherwise you can't export it. The export does an implicit unmount too.

5. sudo zpool export Data
Always export if you're planning on importing somewhere else.

6. Install Zevo
Best to upgrade drivers when they're not in use, hence export above.


7. Reboot
Woohoo.

8. Log in as admin to check everything worked
Best not to hit ZFS til I know it works.

9. mount Data/Users under /Users.
Not sure why it didn't automount. Data mounted automatically, Data/Users didn't. I didn't catch this the first time and when I logged in as my regular user I got the standard new users stuff.

10. Log in as my normal user.

Everything seems to be working. Zevo picked up my previous pool just fine. Dropbox sh*t it's pants, but it always does over tiny changes to filesystems and stuff. Otherwise, no issues.

I see Data/Users mounted on my desktop, as well as under /. The setting in the control panel isn't ticked, so not sure why it's there. That's purely cosmetic.

Otherwise, I'm happy. I'm planning on testing some more for a couple of days, and then upgrading the ZFS pool versions.

I hope upgrades go well for other users too.

Alex
alexwasserman Offline


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

Re: Upgrade from MacZFS

Post by Shaman » Tue Sep 25, 2012 6:40 pm

I was strongly advised against upgrading on the MacZFS forum

I would strongly discourage from that attempt. Upgrading a pool
doesn't change the existing data or meta data, it simply sets a flag
that from now on the new format should be written.

If ZEVO doesn't support pool version v8, then it will fail on any pool
upgraded from v8, simply because sooner or later it will hit a block
written in v8 format. Probably as soon as mounting the root file
system ...


So the question is, does ZEVO support version 8?

Have you had any problems yet?
Shaman Offline


 
Posts: 32
Joined: Tue Sep 18, 2012 7:57 pm

references

Post by grahamperrin » Wed Sep 26, 2012 9:44 am

Shaman wrote:… does ZEVO support version 8?


For the benefit of other readers:

grahamperrin Offline

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

Re: Upgrade from MacZFS

Post by Shaman » Wed Sep 26, 2012 1:46 pm

Yeah, I reasked the question under a new subject because I wasn't sure this one would capture the attention of other people who may ask. I'm still curious as to OP's experience. Alex?
,
Shaman Offline


 
Posts: 32
Joined: Tue Sep 18, 2012 7:57 pm

Re: Upgrade from MacZFS

Post by alexwasserman » Tue Oct 02, 2012 10:52 pm

No issues at all so far, actually.

When I get a chance I'm going to boot using an OpenIndiana USB key I have and upgrade to 28.

But, even on the old version, everything seems to be fine.
alexwasserman Offline


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

Re: Upgrade from MacZFS

Post by Shaman » Tue Oct 02, 2012 11:22 pm

alexwasserman wrote:No issues at all so far, actually.

When I get a chance I'm going to boot using an OpenIndiana USB key I have and upgrade to 28.

But, even on the old version, everything seems to be fine.



That's a sweet deal. Did you have a lot of data? Why not upgrade to 28 using zevo?
Shaman Offline


 
Posts: 32
Joined: Tue Sep 18, 2012 7:57 pm

cross reference

Post by grahamperrin » Wed Oct 03, 2012 1:15 am

Shaman wrote:… Why not upgrade to 28 using zevo?


Please read the MacZFS-ZEVO CE zpool versioning topic, in particular:

"… ZEVO 1.1 does not seem to be able to perform upgrade operations (according to the man page and the help syntax) …".
grahamperrin Offline

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

Re: Upgrade from MacZFS

Post by alexwasserman » Sat Oct 06, 2012 11:02 pm

Shaman wrote:That's a sweet deal. Did you have a lot of data? Why not upgrade to 28 using zevo?


About 2.5TB of data.
alexwasserman Offline


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

Re: Upgrade from MacZFS

Post by Shaman » Thu Oct 11, 2012 2:53 am

I tried this earlier but I did not remember to export first. i tried an force import, but the force import failed. Rebooted into another version of osx where the old ZFS was still installed. Will try again later.
Shaman Offline


 
Posts: 32
Joined: Tue Sep 18, 2012 7:57 pm

Re: Upgrade from MacZFS

Post by Shaman » Sun Oct 14, 2012 1:17 pm

zevo isn't finding the pools at all for me. I wonder what's different.
Shaman Offline


 
Posts: 32
Joined: Tue Sep 18, 2012 7:57 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 2 guests

cron