Simon Breden
2009-Aug-28 16:11 UTC
[zfs-discuss] cannot import ''tank'': pool is formatted using a newer ZFS version
I was using OpenSolaris 2009.06 on an IDE drive, and decided to reinstall onto a mirror (smaller SSDs). My data pool was a separate pool and before reinstalling onto the new SSDs I exported the data pool. After rebooting and installing OpenSolaris 2009.06 onto the first SSD I tried to import my data pool and saw the following message: # zpool import tank cannot import ''tank'': pool is formatted using a newer ZFS version I then used Package Manager to do an "update all" to bring the OS upto the latest version, and so hopefully also the ZFS version, then I retried the import with the same result -- i.e. it won''t import. Here''s some additional info: SunOS zfsnas 5.11 snv_111b i86pc i386 i86pc Solaris # zpool upgrade -v This system is currently running ZFS pool version 14. The following versions are supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS version 2 Ditto blocks (replicated metadata) 3 Hot spares and double parity RAID-Z 4 zpool history 5 Compression using the gzip algorithm 6 bootfs pool property 7 Separate intent log devices 8 Delegated administration 9 refquota and refreservation properties 10 Cache devices 11 Improved scrub performance 12 Snapshot properties 13 snapused property 14 passthrough-x aclinherit support For more information on a particular version, including supported releases, see: http://www.opensolaris.org/os/community/zfs/version/N Where ''N'' is the version number. If the OS is at ZFS version 14, which I assume is the latest version, then my data pool presumably can''t be using a newer version. So is there a bug, workaround or simple solution to this problem? If I could query the ZFS version of the unimported data pool that would be handy, but I suspect this is a bug anyway... Here''s hoping for a quick reply as right now, I cannot access my data :((( Cheers, Simon http://breden.org.uk/2008/03/02/a-home-fileserver-using-zfs/ -- This message posted from opensolaris.org
Simon Breden
2009-Aug-28 21:23 UTC
[zfs-discuss] cannot import ''tank'': pool is formatted using a newer ZFS version
Some more info that might help: I have the old IDE boot drive which I can reconnect if I get no help with this problem. I just hope it will allow me to import the data pool, as this is not guaranteed. Way back, I was using SXCE and the pool was upgraded to the latest ZFS version at the time. Then around May 2009 I installed "OpenSolaris 2009.06 preview", which appeared a couple of weeks before the release of the final OpenSolaris 2009.06. I used Package Manager to update all packages etc. At some point I ran "zpool upgrade" on the data pool to bring it up to the latest ZFS version, as it was saying that it was not using the latest ZFS version when I did a "zpool status" on the pool. -- This message posted from opensolaris.org
Simon Breden
2009-Aug-28 23:06 UTC
[zfs-discuss] cannot import ''tank'': pool is formatted using a newer ZFS version
Looks like my last IDE-based boot environment may have been pointing to the /dev package repository, so that might explain how the data pool version got ahead of the official 2009.06 one. Will try to fix the problem by pointing the SSD-based BE towards the dev repo and see if I get success. Will update this thread with my findings, although I expect it will work :) -- This message posted from opensolaris.org
Simon Breden
2009-Aug-29 21:02 UTC
[zfs-discuss] cannot import ''tank'': pool is formatted using a newer ZFS version
Yes, setting the Boot Environment repository URL to http://pkg.opensolaris.org/dev/ worked. My pool had been upgraded to ZFS version 16 previously using the dev repo. ''zpool get all tank'' shows the ZFS version. But you can''t use this command unless the pool is imported, so when you encounter problems like I did, you can''t see which version the pool''s using. -- This message posted from opensolaris.org
Simon Breden
2009-Aug-29 21:08 UTC
[zfs-discuss] cannot import ''tank'': pool is formatted using a newer ZFS version
BTW, if you''re interested in seeing my attempts to migrate from a 160 GB IDE drive-based root boot pool to a pair of mirrored 30 GB SSDs, then take a look here: http://breden.org.uk/2009/08/29/home-fileserver-mirrored-ssd-zfs-root-boot/ -- This message posted from opensolaris.org