Hi, In company where I''m working we are using "zpool status -x" command output in monitoring scripts for check health all ZFS pools. Everything is OK except few systems where "zpool status -x" is exactly the same as "zpool status". I''m not sure but looks like this behavior is not OS version specific (I observe this on one latest OpenSolaris build but also on some previous on on two boxes with Solarises 10). I found that in all these cases in command output I see some additional notes like: status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using ''zpool upgrade''. Once this is done, the pool will no longer be accessible on older software versions. If "zpoll status -x" output is not single line message "all pools are healthy" by using old on disk format IMO this behavior is inccorrect because in zpool(1M) description for -x option I see: -x Only display status for pools that are exhibiting errors or are otherwise unavail- able. In this case there is no errors in pools and all resources still are available. Comments? Should I open case for this? Tomasz ------------------------------ Wydzia? Zarz?dzania i Ekonomii Politechnika Gda?ska http://www.zie.pg.gda.pl/
It might be easier to look for the pool status thusly zpool get health poolname -- richard Tomasz K?oczko wrote:> Hi, > > In company where I''m working we are using "zpool status -x" command output > in monitoring scripts for check health all ZFS pools. Everything is OK > except few systems where "zpool status -x" is exactly the same as "zpool > status". I''m not sure but looks like this behavior is not OS version > specific (I observe this on one latest OpenSolaris build but also on some > previous on on two boxes with Solarises 10). > I found that in all these cases in command output I see some additional > notes like: > > status: The pool is formatted using an older on-disk format. The pool can > still be used, but some features are unavailable. > action: Upgrade the pool using ''zpool upgrade''. Once this is done, the > pool will no longer be accessible on older software versions. > > If "zpoll status -x" output is not single line message "all pools are > healthy" by using old on disk format IMO this behavior is inccorrect > because in zpool(1M) description for -x option I see: > > -x Only display status for pools that are > exhibiting errors or are otherwise unavail- > able. > > In this case there is no errors in pools and all resources still are > available. > > Comments? Should I open case for this? > > Tomasz > > > ------------------------------ > Wydzia? Zarz?dzania i Ekonomii > Politechnika Gda?ska > http://www.zie.pg.gda.pl/ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >
> It might be easier to look for the pool status thusly > zpool get health poolnameCorrect me if I''m wrong but "zpool get" is available only in some latest versions of OS and Solaris 10 (we are using on some boxes some older versions of Solaris 10). Nevertheless IMO "zpoll status -x" should work as it is described in manual and current behavior does not matches to description in manual :) Tomasz ------------------------------ Wydzia? Zarz?dzania i Ekonomii Politechnika Gda?ska http://www.zie.pg.gda.pl/