I''m having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath abcxxxx # zpool import pool: emcpool1 id: 5596268873059055768 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: emcpool1 ONLINE emcpower0c ONLINE abcxxxx # zpool list no pools available -- This message posted from opensolaris.org
On 29.06.09 11:41, Ketan wrote:> I''m having following issue .. i import the zpool and it shows pool imported correctly''zpool import'' only show what pools are available to import. In order to actually import pool you need to to zpool import emcpool1> but after few seconds when i issue command zpool list .. it does not show any poolthis is expected as you did not do import yet.> and when again i try to import it says device is missing in pool .. > what could be the reason for this .. and yes this all started after i > upgraded the powerpathI suspect PowerPath may be playing tricks with you, but cannot comment any further because there''s no more data to comment on... This is not related to pool on-disk version though. victor> abcxxxx # zpool import > pool: emcpool1 > id: 5596268873059055768 > 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: > > emcpool1 ONLINE > emcpower0c ONLINE > abcxxxx # zpool list > no pools available
didn''t help .. tried root at essapl020-u006 # zpool import pool: emcpool1 id: 5596268873059055768 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: http://www.sun.com/msg/ZFS-8000-3C config: emcpool1 UNAVAIL insufficient replicas emcpower0c UNAVAIL cannot open root at essapl020-u006 # zpool upgrade -v This system is currently running ZFS pool version 10. 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 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. root at essapl020-u006 # zpool upgrade emcpool1 This system is currently running ZFS pool version 10. cannot open ''emcpool1'': no such pool root at essapl020-u006 # zpool upgrade This system is currently running ZFS pool version 10. All pools are formatted using this version. root at essapl020-u006 # -- This message posted from opensolaris.org
Hi, you have to upgrade your pool: The pool is formatted using an older on-disk version. Then it should works fine. Kind regards, Moutacim Ketan schrieb:> I''m having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath > > > abcxxxx # zpool import > pool: emcpool1 > id: 5596268873059055768 > 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: > > emcpool1 ONLINE > emcpower0c ONLINE > abcxxxx # zpool list > no pools available >-- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lachhab at Sun.COM <mailto:moutacim.lachhab at sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com
Hi, you have to upgrade your pool: The pool is formatted using an older on-disk version. # *zpool upgrade -v* Then it should works fine. Kind regards, Moutacim Ketan schrieb:> I''m having following issue .. i import the zpool and it shows pool imported correctly but after few seconds when i issue command zpool list .. it does not show any pool and when again i try to import it says device is missing in pool .. what could be the reason for this .. and yes this all started after i upgraded the powerpath > > > abcxxxx # zpool import > pool: emcpool1 > id: 5596268873059055768 > 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: > > emcpool1 ONLINE > emcpower0c ONLINE > abcxxxx # zpool list > no pools available >-- Moutacim LACHHAB Service Engineer Software Technical Services Center Sun Microsystems Inc. Email moutacim.lachhab at Sun.COM <mailto:moutacim.lachhab at sun.com> +33(0)134030594 x31457 For knowledge and support: http://sunsolve.sun.com
And i just found out that one of my disk in the pool is showing missing labels root at essapl020-u006 # zdb -l /dev/dsk/emcpower0c -------------------------------------------- LABEL 0 -------------------------------------------- version=4 name=''emcpool1'' state=0 txg=6973090 pool_guid=5596268873059055768 hostid=2228473662 hostname=''essapl020-u006'' top_guid=3858675847091731383 guid=3858675847091731383 vdev_tree type=''disk'' id=0 guid=3858675847091731383 path=''/dev/dsk/emcpower0c'' phys_path=''/pseudo/emcp at 0:c,blk'' whole_disk=0 metaslab_array=14 metaslab_shift=32 ashift=9 asize=477788372992 is_log=0 -------------------------------------------- LABEL 1 -------------------------------------------- version=4 name=''emcpool1'' state=0 txg=6973090 pool_guid=5596268873059055768 hostid=2228473662 hostname=''essapl020-u006'' top_guid=3858675847091731383 guid=3858675847091731383 vdev_tree type=''disk'' id=0 guid=3858675847091731383 path=''/dev/dsk/emcpower0c'' phys_path=''/pseudo/emcp at 0:c,blk'' whole_disk=0 metaslab_array=14 metaslab_shift=32 ashift=9 asize=477788372992 is_log=0 -------------------------------------------- LABEL 2 -------------------------------------------- failed to read label 2 -------------------------------------------- LABEL 3 -------------------------------------------- is there anyway to recover it ? -- This message posted from opensolaris.org