Today on this ol' server
Wednesday Jan 07, 2009
No need to sync a mirrored swap volume
Today's quick tip, is how to get SVM to not sync a mirrored swap volume.
Per best practices on hosts running Solaris versions incapable of root mirroring with zfs, use Solaris Volume Manager. For those of you out there that are still running legacy versions of Solaris or older versions of S10 you can set up SVM to not sync a mirrored swap volume with metaparam(1m).
root@thumper # metaparam -p 0 d20 root@thumper # metastat -p | grep d20 d20 -m d21 d22 0At boot time before I made the change there was about 30 seconds spent waiting for the disks to sync. And right now after the change there aren't any writes being written to d2*
thumper% iostat -xnz 2
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.3 0.5 1.0 1.1 0.0 0.0 0.1 1.9 0 0 md/d10
0.1 0.5 0.5 1.1 0.0 0.0 0.0 1.5 0 0 md/d11
0.1 0.5 0.5 1.1 0.0 0.0 0.0 1.3 0 0 md/d12
0.0 0.0 0.1 0.1 0.0 0.0 0.0 30.5 0 0 md/d20
0.0 0.0 0.1 0.1 0.0 0.0 0.0 33.6 0 0 md/d21
0.0 0.0 0.1 0.1 0.0 0.0 0.0 24.7 0 0 md/d22
Posted at 04:34PM Jan 07, 2009 by saf in Sun | Comments[0]