How to see the current pool ashift value in Truenas scale?

Ihmemies

Cadet
Joined
Oct 15, 2022
Messages
3
Hello,

I looked at this subforum but I could not find an answer. Where I must look to find the pool's current ashift value? Is it in webgui or should I use some shell command?

Thanks.
I'm using Supermicro X10 SRi-F, E5 2680 V4, 64GB ECC, Proxmox in 980Pro, I passed the 6ch sata controller to truenas, 4x 18TB toshiba hdd's.

Zdb command in shell says:
root@truenas[~]# zdb -b Data
zdb: can't open 'Data': No such file or directory

Is the zdb command supported in truenas scale? Is there some other command for it in linux enviroment? I'm not really good at all with CLI anyways.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
You can use the command line:
Code:
> zpool get ashift rpool
NAME   PROPERTY  VALUE   SOURCE
rpool  ashift    12      local

I don't know off hand if / how to get this information from the GUI.
 

Ihmemies

Cadet
Joined
Oct 15, 2022
Messages
3
Thanks! It is 12 so 2^12 = 4096.. everything should be good then. I was just a bit worried.
 

Ihmemies

Cadet
Joined
Oct 15, 2022
Messages
3
Because I have not used Linux that much, and in Windows OS always asks what size would you like to use.

Also the disk says something like it's 512B/4K disk, which I think means that the disk has 4K physical sectors but it can emulate 512K sectors for legacy reasons.

I read that if the setting is wrong there would be a big performance penalty from that.
 
Top