John Brewer
2007-Jun-20 02:16 UTC
[zfs-discuss] ZFS version 5 to version 6 fails to import or upgrade
How do you upgrade from version 5 to version 6, I had created this under snv_62 and it zpool called zones worked with snv_b63 and 10u4beta now under snv_b66 I get error and the upgrade option does not work: any ideas? bash-3.00# df / (/dev/dsk/c0d0s0 ): 6819012 blocks 765336 files /devices (/devices ): 0 blocks 0 files /dev (/dev ): 0 blocks 0 files /system/contract (ctfs ): 0 blocks 2147483618 files /proc (proc ): 0 blocks 29920 files /etc/mnttab (mnttab ): 0 blocks 0 files /etc/svc/volatile (swap ):18815312 blocks 283706 files /system/object (objfs ): 0 blocks 2147483442 files /etc/dfs/sharetab (sharefs ): 0 blocks 2147483646 files /lib/libc.so.1 (/usr/lib/libc/libc_hwcap2.so.1): 6819012 blocks 765336 files /dev/fd (fd ): 0 blocks 0 files /tmp (swap ):18815312 blocks 283706 files /var/run (swap ):18815312 blocks 283706 files /export (/dev/dsk/c0d1s4 ): 7231850 blocks 990233 files /media/DAYS_OF_HEAVEN(/dev/dsk/c1t0d0s2 ): 0 blocks 0 files bash-3.00# spool import bash: spool: command not found bash-3.00# zpool import pool: zones id: 4567711835620380868 state: ONLINE status: The pool is formatted using an older on-disk version. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit ''zpool upgrade''. config: zones ONLINE c0d1s5 ONLINE bash-3.00# df -k /zones Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0d0s0 8068883 4659811 3328384 59% / bash-3.00# zpool upgrade This system is currently running ZFS version 6. All pools are formatted using this version. bash-3.00# zpool upgrade -a zones -a option is incompatible with other arguments usage: upgrade upgrade -v upgrade <-a | pool> bash-3.00# zpool upgrade -s zones invalid option ''s'' usage: upgrade upgrade -v upgrade <-a | pool> bash-3.00# zpool upgrade zones This system is currently running ZFS version 6. cannot open ''zones'': no such pool bash-3.00# This message posted from opensolaris.org
Albert Chin
2007-Jun-20 02:26 UTC
[zfs-discuss] ZFS version 5 to version 6 fails to import or upgrade
On Tue, Jun 19, 2007 at 07:16:06PM -0700, John Brewer wrote:> bash-3.00# zpool import > pool: zones > id: 4567711835620380868 > state: ONLINE > status: The pool is formatted using an older on-disk version. > action: The pool can be imported using its name or numeric identifier, though > some features will not be available without an explicit ''zpool upgrade''. > config: > > zones ONLINE > c0d1s5 ONLINEzpool import lists the pools available for import. Maybe you need to actually _import_ the pool first before you can upgrade. -- albert chin (china at thewrittenword.com)
Mark J Musante
2007-Jun-25 15:30 UTC
[zfs-discuss] ZFS version 5 to version 6 fails to import or upgrade
On Tue, 19 Jun 2007, John Brewer wrote:> bash-3.00# zpool import > pool: zones > id: 4567711835620380868 > state: ONLINE > status: The pool is formatted using an older on-disk version. > action: The pool can be imported using its name or numeric identifier, though > some features will not be available without an explicit ''zpool upgrade''. > config: > > zones ONLINE > c0d1s5 ONLINENote that you need to specify the name (or id) of the pool. It''ll import just fine once you do. Try ''zpool import zones''. Once it''s imported, you can use the upgrade command on it. Regards, markm