Field ms_smo.smo_objsize in metaslab struct is size of data on disk. 
I checked the size of metaslabs in memory:
::walk spa | ::walk metaslab | ::print struct metaslab 
ms_map.sm_root.avl_numnodes
I got 1GB

But only some metaslabs are loaded:
::walk spa | ::walk metaslab | ::print struct metaslab 
ms_map.sm_root.avl_numnodes ! grep "0x" | wc -l
     231
  from 664 metaslabs. And number of metaslabs is changing very fast.

Is there a way to keep all metaslabs ion RAM ? Is there any limit ?
I encourage other administrators to check "free map space" size.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to