[OmniOS-discuss] succinct expression of NFS share parameters

Andy omnios at citrus-it.net
Sat Jan 3 14:00:13 UTC 2015


On Sat, 3 Jan 2015, Michael Mounteney wrote:

; On some of my ZFS volumes, the sharenfs parameter has the value:
;
; sec=sys,rw=@192.168.1.0/24:@192.168.2.0/24:@192.168.3.0/24,root=@192.168.1.0/24:@192.168.2.0/24:@192.168.3.0/24
;
; Can that be expressed more succinctly, but still equivalently?

Not much. @192.168.2.0/23 would cover both 192.168.2.0/24 and 192.168.3.0/24
You could use @192.168.0.0/22 which covers the three ranges you have but
also includes 192.168.0.0/24 which you might not want.

HTH.

Andy

-- 
Citrus IT Limited | +44 (0)870 199 8000 | enquiries at citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123



More information about the OmniOS-discuss mailing list