BjoKaSH / maczfs-archive

Legacy MacZFS - Archived here due Google-code shutdown. Automatically exported from code.google.com/p/maczfs -- Do Not Use! Use https://openzfsonosx.org/
Other
1 stars 0 forks source link

New pools are created at version 6 #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When you create a pool, it gets created at version 6, even though the code can 
handle up to 
version 8.

Original issue reported on code.google.com by alex.ble...@gmail.com on 20 Feb 2010 at 1:34

GoogleCodeExporter commented 9 years ago
I think it's coming from here:

http://github.com/alblue/mac-zfs/blob/master/usr/src/uts/common/fs/zfs/spa.c#L11
69

I'm going to remove that as part of the merge/cleanup, and then we can verify 
whether that has fixed this bug 
or not.

Original comment by alex.ble...@gmail.com on 20 Feb 2010 at 1:36

GoogleCodeExporter commented 9 years ago
That's not a bug, that's design. :)

The only reason Apple did this that is so pools and filesystems created with 
the newer code would be 100% 
compatible with the read-only ZFS implementation included with Leopard.

Original comment by jason.richard.mcneil on 20 Feb 2010 at 8:17

GoogleCodeExporter commented 9 years ago
True, but 10.6 doesn't have the read-only kexts in any case. We should probably 
default to using 'max' where 
we can for new pools.

Original comment by alex.ble...@gmail.com on 21 Feb 2010 at 3:12

GoogleCodeExporter commented 9 years ago
Fixed at 6d20fbb74f11a6765ca41d0144bd31609c15c5a9

http://github.com/alblue/mac-zfs/tree/maczfs_72

Original comment by alex.ble...@gmail.com on 6 Mar 2010 at 1:06