checking zpool version

Status
Not open for further replies.

gearhead

Contributor
Joined
Mar 6, 2013
Messages
137
I am trying to see what zpool version I have. So I use the command line # zpool upgrade -v, however the problem is that the version number is on the first line of the output and it scroll by quickly that I can't see the first line. I have set the shell size to 132x50 and I am using Opera as browser. So is there a way to have the screen output pause? or is there a way to make shell size bigger than 132x50? TIA
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
I think zpool status <poolname> gives you this info..

Is zpool upgrade <poolname> not the command to upgrade? Are you sure you want to do this?
 
D

dlavigne

Guest
Adding |more to the end of any command should page long output (it doesn't always in Shell but always does over an ssh session).
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
I think zpool status <poolname> gives you this info..
"zpool get version <pool>" is the correct command. You will either get the pool version or a dash (-). In that case your pool is using feature flags (pool version "5000") and you can run "zpool get all <pool> | grep feature@" to get the list of supported/enabled features.
 

gearhead

Contributor
Joined
Mar 6, 2013
Messages
137
Below is a screen shot which I wanted ti include with the previous post.

[root@freenas ~]# zpool status Data pool: Data state: ONLINE status: The pool is formatted using a legacy 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 software that does not support feature flags. scan: scrub repaired 0 in 3h21m with 0 errors on Sun Dec 15 16:44:43 2013 config: NAME STATE READ WRITE CKSUM Data ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/cd17218b-a966-11e2-ad8d-d43d7e18b257 ONLINE 0 0 0 gptid/8eb3224b-12af-11e3-89c0-d43d7e18b257 ONLINE 0 0 0 errors: No known data errors [root@freenas ~]#
 

gearhead

Contributor
Joined
Mar 6, 2013
Messages
137
Temp1.JPG


Maybe third attempt is the charm.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Use the syntax Dusan gave you. He's an expert.


Sent from my phone
 

gearhead

Contributor
Joined
Mar 6, 2013
Messages
137
yes indeed. Dusan's suggestion returned value 28.
 
Status
Not open for further replies.
Top