truenas 9.2.1.8 administrator guide
TRANSCRIPT
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
1/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
2/201
Published September 29, 2014
Copyright iXsystems
TrueNAS is 20112014 iXsystems
TrueNAS !"d the TrueNAS logo !re tr!dem!r#s o$ iXsystems
%ree&S' is ! registered tr!dem!r# o$ the %ree&S' %ou"d!tio"
Co(er !rt by )e""y *ose"berg
TrueNAS 9.2.1.8 Administrator Guide Page 2 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
3/201
TrueNAS and the TrueNAS logo are registered trademarks of iXsystems.
FreeNAS and the FreeNAS logo are registered trademarks of iXsystems.
3ware and LSI are trademarks or registered trademarks of LSI or!oration.
A"ti#e $ire"tory is a registered trademark or trademark of %i"rosoft or!oration in the &nited Statesand'or other "ountries.
A!!le( %a" and %a" )S are trademarks of A!!le In".( registered in the &.S. and other "ountries.
helsio is a registered trademark of helsio ommuni"ations.
is"o is a registered trademark or trademark of is"o Systems( In". and'or its affiliates in the &nitedStates and "ertain other "ountries.
Free*S$ and the Free*S$ logo are registered trademarks of the Free*S$ Foundation.
Fusion+io is a trademark or registered trademark of Fusion+io( In".
Intel( the Intel logo( ,entium Inside( and ,entium are trademarks of Intel or!oration in the &.S. and'orother "ountries.
Linu- is a registered trademark of Linus Tor#alds.%ar#ell is a registered trademark of %ar#ell or its affiliates.
&NIX is a registered trademark of The )!en rou!.
/%0are is a registered trademark of /%0are( In".
0iki!edia is a registered trademark of the 0ikimedia Foundation( In".( a non+!rofit organi1ation.
0indows is a registered trademark of %i"rosoft or!oration in the &nited States and other "ountries.
TrueNAS 9.2.1.8 Administrator Guide Page 3 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
4/201
Table of Contents2 Introdu"tion........................................................................................................................................
2.2 4ow This uide is )rgani1ed....................................................................................................5 6FS )#er#iew....................................................................................................................................73 A""essing TrueNAS.....................................................................................................................22
3.2 A"ti#ating the Li"ense and Logging In.....................................................................................23
8 9ui"k Start........................................................................................................................................2:8.2 Set the Administrati#e ;mail Address......................................................................................2:8.5 ;na Start A!!li"a
: A""ount onfiguration.....................................................................................................................2
:.2 rou!s......................................................................................................................................2:.5 &sers.........................................................................................................................................5
= System onfiguration.......................................................................................................................58=.2 ron Bo
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
5/201
>.:.2 onsiderations 0hen &sing LA,( %,I)( NFS( or ;SXi..............................................=2>.:.5 reating a Link Aggregation.............................................................................................=5
>.= Network Summary....................................................................................................................=8>.> Stati" Coutes.............................................................................................................................=8>. /LANs......................................................................................................................................=:
Storage onfiguration......................................................................................................................==
.2 ,eriodi" Sna!shot Tasks...........................................................................................................==.2.2 reating a ,eriodi" Sna!shot Task....................................................................................=>.2.5 %anaging ,eriodi" Sna!shot Tasks..................................................................................=
.5 Ce!li"ation Tasks......................................................................................................................>2.5.2 onfigure ,&LL...............................................................................................................>2.5.5 onfigure ,&S4...............................................................................................................>5.5.3 Trou>.3.5 Im!orting /olumes............................................................................................................>>.3.3 6FS /olume %anager.......................................................................................................>
.3.3.2 ;n"ry!tion ................................................................................................................... .3.3.5 reating an ;n"ry!ted /olume ................................................................................... 2 .3.3.3 %anual /olume reation ............................................................................................ 5
.3.8 ;-tending a 6FS /olume..................................................................................................3.3.: reating 6FS $atasets......................................................................................................:
.3.:.2 $edu!li"ation ..............................................................................................................> .3.:.5 om!ression ............................................................................................................... >
.3.= reating a 1#ol...................................................................................................................3.> /iewing $isks...................................................................................................................7.3. /iewing /olumes..............................................................................................................7
.3..2 Dey %anagement for ;n"ry!ted /olumes .................................................................. 78.3.7 Setting ,ermissions...........................................................................................................7:.3.2 Ce!la"ing a Failed $ri#e................................................................................................7>
.3.2.2 Ce!la"ing a Failed $ri#e in an ;n"ry!ted ,ool ........................................................7 .3.2.5 Cemo#ing a Log or a"he $e#i"e ............................................................................ 7
.3.22 Ce!la"ing $ri#es to row a 6FS ,ool............................................................................7 .3.22.2 ;na
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
6/201
7.5.3.5 From %i"rosoft lients ............................................................................................. 22: 7.5.3.3 From %a" )S X lients ........................................................................................... 22=
7.5.8 Trou2.2 ontrol Ser#i"es....................................................................................................................252.5 AF,.......................................................................................................................................257
2.5.2 Trou.2 Authori1ed A""esses.....................................................................................................2:82.>.5 ;-tents...........................................................................................................................2:=
2.>.5.2 Adding an ;-tent .................................................................................................. 2:>2.>.3 Initiators........................................................................................................................2:2.>.8 ,ortals...........................................................................................................................2:72.>.: Target lo.= Targets...........................................................................................................................2=82.>.> Target';-tents...............................................................................................................2==2.>. onne"ting to iSSI Share...........................................................................................2=>2.>.7 rowing L&Ns..............................................................................................................2=
2.>.7.2 6#ol *ased L&N ................................................................................................... 2= 2.>.7.5 File ;-tent *ased L&N ......................................................................................... 2=2. NFS.......................................................................................................................................2=72.7 Csyn"....................................................................................................................................2>
2.7.2 Csyn" %odules..............................................................................................................2>2
TrueNAS 9.2.1.8 Administrator Guide Page 6 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
7/201
2.2 S.%.A.C.T...........................................................................................................................2>52.22 SN%,..................................................................................................................................2>32.25 SS4.....................................................................................................................................2>8
2.25.2 SS4 onfiguration S"reen..........................................................................................2>:2.25.5 hrooting ommand Line SFT, &sers......................................................................2>=2.25.3 Trou
25.:.2 reating a Su!!ort Ti"ket.............................................................................................225.= Log )ut.................................................................................................................................2725.> Alert......................................................................................................................................27
23 &!grading TrueNAS.................................................................................................................2723.2.2 ,re!aring for the &!grade.............................................................................................2723.2.5 ,erforming the &!grade................................................................................................2723.2.3 &nlo"king an ;n"ry!ted /olume..................................................................................27523.2.8 If Something oes 0rong............................................................................................27323.2.: &!grading a 6FS ,ool..................................................................................................278
28 &sing the FreeNAS A,I...............................................................................................................27:28.2 A Sim!le A,I ;-am!le.........................................................................................................27:28.5 A %ore om!le- ;-am!le...................................................................................................27=
2: A!!endi- A...................................................................................................................................27
TrueNAS 9.2.1.8 Administrator Guide Page of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
8/201
1 !ntrodu"tion
0el"ome to the TrueNAS Administrator uide. This uide !ro#ides information a
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
9/201
2 +,S &-er-ie$
6FS is a "om>:'
= htt!H''www.
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
10/201
(one*a writa
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
11/201
into the L5AC( read !erforman"e may
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
12/201
e-isting link aggregation.
3= (onfigure >7AN !nterfa"e*used to "reate or delete a /LANinterfa"e.
4= (onfigure efaut oute*used to set the I,#8 or I,#= default gateway. 0hen !rom!ted( in!ut theI, address of the default gateway.
5= (onfigure Stati" outes*will !rom!t for the destination network and the gateway I, address. Ce+
enter this o!tion for ea"h route you need to add.6= (onfigure NS*will !rom!t for the name of the $NS domain then the I, address of the first $NSser#er. To in!ut multi!le $NS ser#ers( !ress enter to in!ut the ne-t one. 0hen finished( !ress entertwi"e to lea#e this o!tion.
= eset ?eG! ogin "redentias* if you are una
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
13/201
You may try the following URLs to access the web user interface:
http://192.168.1.108
3.1 A"ti-ating t%e 7i"ense and 7ogging !n
)n"e the system has an I, address( in!ut that address into a gra!hi"al we<
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
14/201
,igure 3.1* Set t%e oot Pass$ord
Setting a !assword is mandatory and the !assword "an not
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
15/201
4 ui"/ Start
This se"tion !ro#ides a 9ui"k Start whi"h summari1es the "onfiguration workflow for TrueNAS.
4.1 Set t%e Administrati-e :mai Address
TrueNAS !ro#ides an Alert i"on in the u!!er right "orner to !ro#ide a #isual indi"ation of e#ents thatwarrant administrati#e attention. The alert system automati"ally emails the rootuser a""ount whene#eran alert is issued.
To set the email address for the roota""ount( go to A""ount &sers /iew &sers. li"k the hange;+mail
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
16/201
4.4 (reate sers;Grou)s or !ntegrate $it% A;7AP
TrueNAS su!!orts a #ariety of user a""ess s"enariosH
the use of an anonymous or guest a""ount that e#eryone in the network uses to a""ess the stored
data
the "reation of indi#idual user a""ounts where ea"h user has a""ess to their own 6FS dataset
the addition of indi#idual user a""ounts to grou!s where ea"h grou! has a""ess to their own
#olume or 6FS dataset
the im!ort of e-isting a""ounts from an )!enL$A, or A"ti#e $ire"tory ser#er
0hen "onfiguring your TrueNAS system(select one of te following,de!ending u!on whether ornot the network has an e-isting )!enL$A, or A"ti#e $ire"tory domain. )!enL$A, and A"ti#e$ire"tory are mutually e-"lusi#e( meaning that you "an not use
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
17/201
!rofessional'enter!rise #ersions of 0indows. It is a good "hoi"e if there are many differento!erating systems in your network.
?indo$s @(!,S=*TrueNAS uses Sam
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
18/201
N&T:*if A"ti#e $ire"tory or )!enL$A, is running on your network( you do not need to re"reate thenetworkGs users or grou!s. Instead( im!ort the e-isting a""ount information into TrueNAS usingSer#i"es $ire"tory Ser#i"es A"ti#e $ire"toryor Ser#i"es $ire"tory Ser#i"es L$A,.
If you "li"k rou!s /iew rou!s( you will see a s"reen similar to Figure :.2a.
,igure 5.1a* TrueNAS Grou)s
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
19/201
,igure 5.1* (reating a Ne$ Grou)
Tae 5.1a* &)tions ?%en (reating a Grou)
Setting >aue es"ri)tion
rou! I$ string
the ne-t a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
20/201
,igure 5.1"* Assigning a ser as a
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
21/201
&ser a""ounts "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
22/201
a""ount. For this reason( the default shell is [email protected] se"urity reasons( and to !re#ent
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
23/201
Setting >aue es"ri)tion
,rimary rou!dro!+downmenu
must un"he"k Cre!te ! "e3 prim!ry groupin order to a""ess thismenu for se"urity reasons( Free*S$ will not gi#e a user su
!ermissions if 3heel is their !rimary grou!++if your intent is togi#e a user sua""ess( add them to the 3heelgrou! in the Au-iliarygrou!s se"tion
4ome $ire"tory
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
24/201
6 Sstem (onfiguration
The System se"tion of the administrati#e &I "ontains the following entriesH
ron Bo
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
25/201
,igure 6.1a* (reating a (ron Bo
Tae 6.1a* (ron Bo &)tions
Setting >aue es"ri)tion
&serdro!+downmenu
make sure the sele"ted user has !ermission to run the s!e"ified"ommand or s"ri!t
ommand stringthe f"ll patto the "ommand or s"ri!t to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
26/201
Setting >aue es"ri)tion
$ay of monthslider ormonthsele"tions
if use the slider( "ron o< o""urs e#ery N days if use day sele"tions("ron o< o""urs on the highlighted days ea"h month
%onth "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
27/201
Tae 6.2a* &)tions ?%en (reating a ,aio-er
Setting >aue es"ri)tion
/olume dro!+down menu sele"t the 6FS !ool
AC, dro!+down menu sele"t the AC, that was !re#iously "reated in Network +AC,s + Add AC,
I, Address string in!ut the I, address asso"iated with the e-isting AC,
)n"e a failo#er "onfiguration is working( a new i"on will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
28/201
,igure 6.3a* Add an !nit;S%utdo$n S"ri)t
Tae 6.3a* &)tions ?%en Adding an !nit;S%utdo$n S"ri)t
Setting >aue es"ri)tion
Ty!e dro!+down menusele"t from Comm!"d?for an e-e"uta
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
29/201
,igure 6.4a* efaut NTP (onfiguration
,igure 6.4* Add or :dit a NTP Ser-er
TrueNAS 9.2.1.8 Administrator Guide Page 29 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
30/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
31/201
6.5.1 (reating an sn" Tas/
Figure =.:a shows the s"reen that a!!ears when you "li"k System Csyn" Tasks Add Csyn" Task.Taaue es"ri)tion
,ath
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
32/201
Setting >aue es"ri)tion
,ath%odules of another TrueNAS system when using*sy"+ o(er SS8mode( in!ut the !ath on the remote host to !ush or !ull ?e.g..m"t.(olume@
$ire"tiondro!+downmenu
"hoi"es are Push or Pull default is to !ush from the TrueNASsystem to a remote host
Short$es"ri!tion
string o!tional
%inuteslider orminutesele"tions
if use the slider( syn" o""urs e#ery N minutes if use minutesele"tions( syn" o""urs at the highlighted minutes
4ourslider or hoursele"tions
if use the slider( syn" o""urs e#ery N hours if use hour sele"tions(syn" o""urs at the highlighted hours
$ay of monthslider or daysele"tions
if use the slider( syn" o""urs e#ery N days if use day sele"tions( syn"o""urs on the highlighted days
%onth "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
33/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
34/201
,igure 6.5* (onfiguring t%e sn" (ient
)nP7( an rsyn" module is defined in Ser#i"es Csyn" %odules Add Csyn" %odule( shown in
Figure =.:". In this e-am!leH
the %odule Name is b!+#ups this needs to mat"h the setting on the rsyn" "lient
the ,ath is .m"t.remote a dire"tory "alled im!geswill
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
35/201
,igure 6.5"* (onfiguring t%e sn" Ser-er
6.5.3 (onfiguring sn" o-er SS#
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
36/201
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
f5:b0:06:d1:33:e4:95:cf:04:aa:bb:6e:a4:b7:2b:df [email protected]
The key's randomart image is:
+--[ RSA 2048]----+
| .o. oo |
| o+o. . |
| . =o + |
| + + o |
| S o . |
| .o |
| o. |
| o oo |
| **oE |
TrueNAS su!!orts the following ty!es of SS4 keysH $SA( and CSA. 0hen "reating the key( s!e"ifythe ty!e you wish to use or( if you are generating the key on another o!erating system( sele"t a ty!e ofkey the key generation software su!!orts.
N&T:* if a different user a""ount is used for the rsyn" task( use the su + "ommand after mounting thefilesystem
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
37/201
,igure 6.5d* Pasting t%e serCs SS# Pui" De
0hile onP7( #erify that the SS4 ser#i"e is running in Ser#i"es ontrol Ser#i"es and start it if itis not.
Ne-t( "o!y the host key ofP7using Shell onP7S8. The following "ommand "o!ies the CSA hostkey of theP7ser#er used in our !re#ious e-am!le. *e sure to in"lude the dou
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
38/201
the &ser is set to rootso it has !ermission to write anywhere the !u"?newline "hara"ter@ in the key( remo#e the s!a"e in your !asted key++it will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
39/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
40/201
ou "an #erify whi"h tests will run and when
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
41/201
6..1 Genera Ta
Taa summari1es the settings that "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
42/201
This ta< also "ontains the following
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
43/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
44/201
,irm$are )date*used to&!grade TrueNAS.
Performan"e Test* runs a series of !erforman"e tests and !rom!ts to sa#es the results as a tar
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
45/201
,igure 6."* :mai Ta
Tae 6."* :mai TaCs (onfiguration Settings
Setting >aue es"ri)tion
From email string theFromemail address to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
46/201
6..4 SS7 Ta
0hen you "hange the ,roto"ol #alue to 4TT,S in System Settings eneral( an unsigned CSA"ertifi"ate and key are auto+generated. )n"e generated( the "ertifi"ate and key will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
47/201
Tae 6.d* SS7 TaCs (onfiguration Settings
Setting >aue es"ri)tion
)rgani1ation string o!tional
)rgani1ational &nit string o!tional
;mail Address string o!tional
Lo"ality string o!tional
State string o!tional
ountry string o!tional
ommon Name string o!tional
,ass!hrase stringif the "ertifi"ate was "reated with a !ass!hrase( in!ut and "onfirm itthe #alue will a!!ear as dots in the &I
SSL ertifi"ate string !aste the !ri#ate key and "ertifi"ate into the
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
48/201
,igure 6.e* Sstem ataset Ta
6.8 Ss"ts
sys"tl?@57is an interfa"e that is used to make "hanges to the Free*S$ kernel running on a TrueNASsystem. It "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
49/201
,igure 6.8a* Adding a Ss"t
Taaue es"ri)tion
/aria
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
50/201
vfs.nfsd.tcphighwater=150000
vfs.zfs.vdev.larger_ashift_minimal=0
(o not add or edit te defa"lt )I*& as s#sctlsas doing so will o#erwrite the default #alues whi"h mayrender the system unusa
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
51/201
6.10 Tunaes
0hen a Free*S$+
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
52/201
Tae 6.10a* Adding a Tunae
Setting >aue es"ri)tion
/aria
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
53/201
6.10.1 e"o-ering ,rom !n"orre"t Tunaes
If a tuna
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
54/201
Net$or/ (onfiguration
The Network se"tion of the administrati#e &I "ontains the following "om!onents for #iewing and"onfiguring the TrueNAS systemGs network settingsH
AC,sHused when "onfiguring high a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
55/201
Pass$ord* in order to !re#ent a mali"ious user from s!oofing AC, ad#ertisements( ea"h grou! "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
56/201
If your network does not ha#e a $NS ser#er or NFS( SS4( or FT, users are re"ei#ing Pre#erse $NSQ ortimeout errors( add an entry for the I, address of the TrueNAS system in the P4ost name data
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
57/201
Setting >aue es"ri)tion
;na
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
58/201
,igure .3a* Adding or :diting an !nterfa"e
Tae .3a* !nterfa"e (onfiguration Settings
Setting >aue es"ri)tion
NI dro!+down menusele"t the Free*S$ de#i"e name will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
59/201
This s"reen also allows you to "onfigure an alias for the interfa"e. If you wish to set multi!le aliases("li"k the PAdd e-tra aliasQ link for ea"h alias you wish to "onfigure. To delete an alias( highlight theinterfa"e in the tree to a""ess its O;ditO s"reen. *e sure to "he"k the O$eleteO "he"k
*I)S setu!( and !owering on the system without reEuiring !hysi"al a""ess to the system. I,%I "analso TrueNAS 9.2.1.8 Administrator Guide Page 59 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
60/201
Tae .4a* !P
Setting >aue es"ri)tion
,assword stringin!ut the !assword used to "onne"t to the I,%I interfa"e from awe<
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
61/201
The lagg dri#er "urrently su!!orts the following aggregation !roto"olsH
,aio-er*the default !roto"ol. Sends traffi" only through the a"ti#e !ort. If the master !ort
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
62/201
%,I) o!erates at the iSSI !roto"ol le#el. For e-am!le( if you "reate four I, addresses and there arefour simultaneous T, "onne"tions( %,I) will send the data o#er all a#aila.:a shows the "onfiguration o!tions when adding a lagg interfa"e using Network LinkAggregations reate Link Aggregation.
,igure .5a* (reating a agg !nterfa"e
37 htt!H''fota.word!ress."om'52'8'23'is"si+and+es-i+multi!athing+and+um
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
63/201
Sele"t the desired aggregation !roto"ol( highlight the interfa"e?s@ to asso"iate with the lagg de#i"e( and"li"k the )D aue es"ri)tion
LA Interfa"e grou! dro!+down menu sele"t the mem
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
64/201
Setting >aue es"ri)tion
LA ,hysi"al NI dro!+down menu !hysi"al interfa"e of the sele"ted mem
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
65/201
The a#ailaa.
Tae .a* Stati" oute &)tions
Setting >aue es"ri)tion
$estination network integer use the formatA/&/C/'.;where;is the I$C mask
ateway integer in!ut the I, address of the gateway
$es"ri!tion string o!tional
If you add any stati" routes( they will show in P/iew Stati" CoutesQ. li"k a routeGs entry to a""ess its;dit and $elete 7ANs
TrueNAS uses Free*S$Gs #lan?8@83interfa"e to demulti!le- frames with I;;; 5.2E tags. Thisallows nodes on different /LANs to "ommuni"ate through a layer 3 swit"h or router. A #lan interfa"emust
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
66/201
Ta.a summari1es the "onfigura7AN
Setting >aue es"ri)tion
/irtualInterfa"e
stringuse the format (l!"XwhereX is a num
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
67/201
*efore you "an "reate a sna!shot( you need to ha#e an e-isting 6FS #olume. 4ow to "reate a #olume isdes"riaue es"ri)tion
;na
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
68/201
Setting >aue es"ri)tion
Ce"ursi#e "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
69/201
,igure 8.1* >ie$ Periodi" Sna)s%ot Tas/s
,igure 8.1"* >ie$ing A-aiae Sna)s%ots
TrueNAS 9.2.1.8 Administrator Guide Page 69 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
70/201
The most re"ent sna!shot for a #olume or dataset will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
71/201
8.2 e)i"ation Tas/s
A re!li"ation task allows you to automate the "o!y of 6FS sna!shots to another system o#er anen"ry!ted "onne"tion. This allows you to "reate an off+site
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
72/201
,igure 8.2a* (o) t%e e)i"ation De
o toP7and "li"k A""ount &sers /iew &sers. li"k the %odify &ser
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
73/201
,igure 8.2* Adding a e)i"ation Tas/
Ta
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
74/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
75/201
ssh -vv -i /data/ssh/replication hostname_or_ip
This "ommand should not ask for a !assword. If it asks for a !assword( SS4 authenti"ation is notworking. o to Storage Ce!li"ation Tasks /iew Ce!li"ation Tasks and "li"k the P/iew ,u
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
76/201
8.3.1 Auto !m)orting >oumes
If you "li"k Storage /olumes Auto Im!ort /olume( you "an "onfigure TrueNAS to use anexisting software &FS or 6FS CAI$ #olume. This a"tion is ty!i"ally !erformed when an e-istingTrueNAS system is re+installed ?rather than u!graded@. Sin"e the o!erating system is se!arate fromthe disks( a new installation does not affe"t the data on the disks howe#er( the new o!erating systemneeds to oume S"reen
A dro!+down menu will then show whi"h software CAI$ #olumes are a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
77/201
If an e-isting 6FS !ool does not show in the dro!+down menu( run ')oo im)ortfrom Shellto im!ortthe !ool.
If you !lan to !hysi"ally install 6FS formatted disks from another system(
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
78/201
,igure 8.3"* !m)orting a >oume
In!ut a name for the #olume( use the dro!+down menu to sele"t the disk or !artition that you wish toim!ort( and sele"t the ty!e of filesystem on the disk.
*efore im!orting a disk(
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
79/201
,igure 8.3d* (reating a +,S Poo sing >oume oume
Setting >aue es"ri)tion
/olume name string
6FS #olumes must "onform to these naming "on#entions88 i t is
re"ommended to "hoose a name that will sti"k out in the logs ?e.g. notd!t!or $ree"!s@
/olume toe-tend
dro!+downmenu
reEuires an e-isting 6FS !ool to e-tend see ;-tending a 6FS /olumefor instru"tions
;n"ry!tion "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
80/201
To "onfigure the !ool( drag the slider to sele"t the desired num
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
81/201
This is notthe en"ry!tion method used
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
82/201
To set a !ass!hrase on the key( "li"k the #olume name and then the Oreate ,ass!hraseO
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
83/201
,igure 8.3e* (reating a Non&)tima +,S >oume
Tae 8.3* aue es"ri)tion
/olume name string6FS #olumes must "onform to these naming "on#entions8= i t i sre"ommended to "hoose a name that will sti"k out in the logs ?e.g. not
d!t!or $ree"!s@
;n"ry!tion "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
84/201
,igure 8.3f* :tending a >oume
N&T:* if the e-isting #olume is en"ry!ted( a warning message will remind you that the o!eration ofe-tending a #olume will reset the !ass!hrase and re"o#ery key. After e-tending the #olume( you shouldimmediately re"reate
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
85/201
to e-tend a 6FS stri!e( add one or more disks. Sin"e there is no redundan"y( you do not ha#e to
add the same amount of disks as the e-isting stri!e.
to e-tend a 6FS mirror( add the same num
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
86/201
,igure 8.3g* (reating a +,S ataset
Tae 8.3"* +,S ataset &)tions
Setting >aue es"ri)tion
$ataset Name string mandatory
om!ression Le#eldro!+downmenu
seeom!ressionfor a "om!arison of the a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
87/201
Setting >aue es"ri)tion
6FS $edu!li"ationdro!+downmenu
read the se"tion on dedu!li"ation
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
88/201
'e* fast and sim!le algorithm to eliminate runs of 1eroes.
'K* !ro#ides de"ent data "om!ression( aue es"ri)tion
1#ol Name string in!ut a name for the 1#ol
Si1e for this 1#ol integer s!e"ify si1e and #alue su"h as 10I
om!ressionle#el
dro!+downmenu
default of5"heritmeans it will use the same "om!ression le#el asthe e-isting 1!ool used to "reate the 1#ol
TrueNAS 9.2.1.8 Administrator Guide Page 88 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
89/201
Setting >aue es"ri)tion
S!arse #olume "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
90/201
,igure 8.3K* >ie$ing >oumes
If you "li"k the entry for a 6FS #olume( eight i"ons will a!!ear at the
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
91/201
N&T:* if you do "an"el a s"ru
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
92/201
,igure 8.3* >oume Status
If you "li"k a disk in /olume Status and "li"k its P;dit $iskQ
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
93/201
,igure 8.3m* :diting a is/
Tae 8.3e* is/&)tions
Setting >aue es"ri)tion
Name string read+only #alue showing Free*S$ de#i"e name for disk
Serial string read+only #alue showing the diskGs serial num
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
94/201
Setting >aue es"ri)tion
S.%.A.C.T. e-tra o!tions string smart"tl?@:5o!tions
A 6FS dataset only has fi#e i"ons as the s"ru< #olume( "reate 6FS #olume( and #olume status
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
95/201
These i"ons are used toH
(reate;(%ange Pass)%rase*"li"k this i"on to set and "onfirm the !ass!hrase asso"iated with the;LI en"ry!tion key. +emember tis passprase as #o" can not re6import an encr#pted vol"mewito"t it. In other words( if you forget the !ass!hrase( it is !ossi
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
96/201
,igure 8.3o* (%anging Permissions on a >oume or ataset
Tae 8.3f* &)tions ?%en (%anging Permissions
Setting >aue es"ri)tion
)wner ?user@dro!+downmenu
user to "ontrol the #olume'dataset users whi"h were manually "reated orim!orted from A"ti#e $ire"tory or L$A, will a!!ear in dro!+down menu
)wner ?grou!@ dro!+downmenu
grou! to "ontrol the #olume'dataset grou!s whi"h were manually "reatedor im!orted from A"ti#e $ire"tory or L$A, will a!!ear in dro!+down
%ode "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
97/201
the e-tra !ermissions !ro#ided
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
98/201
8.3.1,.1 eplaing a $aile" *rie in an Enr!pte" &ool
If the 6FS !ool is en"ry!ted( additional ste!s are needed when re!la"ing a failed dri#e.
First( make sure that a !ass!hrase has
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
99/201
he"k and #erify that the autoe-!and !ro!erty is ena
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
100/201
)nline one dri#e at a time and "he"k the status using the following e-am!le. If a dri#e starts to resil#er(you need to wait for the resil#er to "om!lete
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
101/201
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da1 ONLINE 0 0 0
da0 ONLINE 0 0 0
da4 ONLINE 0 0 0
The following "ommand s!lits from the e-isting three disk mirror test a new 6FS #olume namedmigr!"t"ontaining one disk( d!4. $isks d!0and d!1remain in test.
zpool split test migrant da4
At this !oint( d!4"an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
102/201
zpool status
pool: migrant
state: ONLINE
scan: resilvered 572K in 0h0m with 0 errors on Wed Jul 6 16:43:27 2011
config:
NAME STATE READ WRITE CKSUM
migrant ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da4 ONLINE 0 0 0
da2 ONLINE 0 0 0
da3 ONLINE 0 0 0
Now that the new system has
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
103/201
,igure 8.4a* >ie$ing a >oumeCs efaut S"ru Settings
Tae 8.4a* +,S S"ru &)tions
Setting >aue es"ri)tion
/olume dro!+down menu sele"t 6FS #olume to s"ruaue es"ri)tion
$ay of week "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
105/201
If you are looking for a solution that allows fast a""ess from any o!erating system( "onsider"onfiguring the FT, ser#i"e instead of a share and use a "ross+!latform FT, and file manager "lienta!!li"ation su"h as File1illa:3.Se"ure FT, "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
106/201
,igure 9.1a* (reating an A,P S%are
Tae 9.1a* A,P S%are (onfiguration &)tions
Setting >aue es"ri)tion
Name string#olume name that will a!!ear in the %a" "om!uterGs P"onne"t toser#erQ dialogue limited to 5> "hara"ters and "an not "ontain a!eriod
Share omment string o!tional
,ath
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
107/201
Setting >aue es"ri)tion
Cead+writeA""ess
string"omma delimited list of users and'or grou!s who ha#e read and writea""ess where grou!name
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
108/201
5. An AF, share has
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
109/201
,igure 9.1"* >ie$ing t%e (ontents of t%e S%are ,rom a
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
110/201
8. Ser#i"es AF, has
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
111/201
If you re"ei#e a PTime %a"hine "ould not "om!lete the
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
112/201
,igure 9.2a* (reating an N,S S%are
)n"e you !ress the )D
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
113/201
Setting >aue es"ri)tion
%a!root &ser dro!+down menu if a user is sele"ted( the rootuser is limited to that userGs !ermissions
%a!root rou! dro!+down menuif a grou! is sele"ted( the rootuser will also
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
114/201
9.2.2 Sam)e N,S S%are (onfiguration
*y default the %a!all o!tions shown in Figure >.5a show asN.A. This means that when a user "onne"tsto the NFS share( they "onne"t with the !ermissions asso"iated with their user a""ount. This is ase"urity risk if a user is a
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
115/201
The mount"ommand should return to the "ommand !rom!t without any error messages( indi"atingthat the share was su""essfully mounted.
)n"e mounted( this "onfiguration allows users on the "lient system to "o!y files to and from.m"t?themount !oint@ and all files will "an =5.
Nekodri#e=3!ro#ides an o!en sour"e gra!hi"al NFS "lient. To use this "lient( you will need to installthe following on the 0indows systemH
>1i!=8to e-tra"t the Nekodri#e download files
NFSlient and NFSLi1i!
.N;T Framework 8.=:
)n"e e#erything is installed( run the NFSlient e-e"uta'
=3 htt!H''"ode.google."om'!'nekodri#e'downloads'list
=8 htt!H''www.>+1i!.org'
=: htt!H''www.mi"rosoft."om'download'en'details.as!-Mid2>:2
== htt!H''www."iti.umi"h.edu'!roe"ts'nfs#8'windows'readme.html
TrueNAS 9.2.1.8 Administrator Guide Page 115 of 201
http://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture.htmlhttp://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture.htmlhttp://www.hackourlife.com/mount-linux-nfs-share-on-windows-7/http://www.hackourlife.com/mount-linux-nfs-share-on-windows-7/http://code.google.com/p/nekodrive/downloads/listhttp://www.7-zip.org/http://www.microsoft.com/download/en/details.aspx?id=17851http://www.citi.umich.edu/projects/nfsv4/windows/readme.htmlhttp://www.citi.umich.edu/projects/nfsv4/windows/readme.htmlhttp://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture.htmlhttp://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture.htmlhttp://www.hackourlife.com/mount-linux-nfs-share-on-windows-7/http://www.hackourlife.com/mount-linux-nfs-share-on-windows-7/http://code.google.com/p/nekodrive/downloads/listhttp://www.7-zip.org/http://www.microsoft.com/download/en/details.aspx?id=17851http://www.citi.umich.edu/projects/nfsv4/windows/readme.htmlhttp://www.citi.umich.edu/projects/nfsv4/windows/readme.html -
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
116/201
,igure 9.2* sing t%e Ne/odri-e N,S(ient from ?indo$s #ome :dition
.2.3.3 $rom (a % 4 Clients
To mount the NFS #olume from a %a" )S X "lient( "li"k on o onne"t to Ser#er. In the Ser#erAddress field( in!ut "$s-..followed
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
117/201
,igure 9.2"*
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
118/201
9.2.4 Troues%ooting
Some NFS "lients do not su!!ort the NL% ?Network Lo"k %anager@ !roto"ol used
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
119/201
9.3.1 (reating (!,S S%ares
Figure 7.3a shows the "onfiguration s"reen that a!!ears when you "li"k Sharing 0indows ?IFSShares@ Add 0indows ?IFS@ Share. Some settings are only a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
120/201
Setting >aue es"ri)tion
A!!ly $efault,ermissions
"he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
121/201
5. Asso"iate t%e guest a""ount $it% t%e -oumein Storage /olumes. ;-!and the #olumeGsname then "li"k hange ,ermissions. Sele"t guestas the )wner?user@ and )wner?grou!@ and"he"k that the !ermissions are a!!ro!riate for the share. If non+0indows systems will
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
122/201
,igure 9.3* A""essing t%e (!,S S%are from a ?indo$s (om)uter
,igure 9.3"*
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
123/201
hoose a dri#e letter from the dro!+down menu and "li"k the Finish
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
124/201
2. !f ou are not using A"ti-e ire"tor or 7APH "reate a grou)in A""ount rou!s Addrou!. )n"e the grou! is "reated( "li"k its %em
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
125/201
9.3.4 (onfiguring S%ado$ (o)ies
Shadow o!ies>2( also known as the /olume Shadow o!y Ser#i"e ?/SS@ or ,re#ious /ersions( is a%i"rosoft ser#i"e for "reating #olume sna!shots. Shadow "o!ies allow you to easily restore !re#ious#ersions of files from within 0indows ;-!lorer. Shadow o!y su!!ort is . 0indows X, or 5 users need to install theShadow o!y "lient>5.
0hen you "reate a !eriodi" sna!shot task on a 6FS #olume that is "onfigured as a IFS share inTrueNAS( it is automati"ally "onfigured to su!!ort shadow "o!ies.
.3.5.1 &rereuisites
*efore using shadow "o!ies with TrueNAS( 2 htt!H''en.wiki!edia.org'wiki'ShadowK"o!y
>5 htt!H''www.mi"rosoft."om'download'en'details.as!-Mdis!laylangenUid2=55
TrueNAS 9.2.1.8 Administrator Guide Page 125 of 201
http://en.wikipedia.org/wiki/Shadow_copyhttp://www.microsoft.com/download/en/details.aspx?displaylang=en&id=16220http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=16220http://en.wikipedia.org/wiki/Shadow_copyhttp://www.microsoft.com/download/en/details.aspx?displaylang=en&id=16220 -
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
126/201
2. For the 6FS #olume named .m"t.d!t!( "reate two 6FS datasets in Storage /olumes 'mnt'data reate 6FS $ataset. The first dataset is named .m"t.d!t!.user1 and the se"onddataset is named.m"t.d!t!.user2.
5. If you are not using A"ti#e $ire"tory or L$A,( "reate two users( user1and user2in A""ount &sers Add &ser. ;a"h user has the following attri
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
127/201
,igure 9.3e* >ie$ing Pre-ious >ersions $it%in :)orer
10 Ser-i"es (onfiguration
The Ser#i"es se"tion of the &I allows you to "onfigure( start( and sto! the #arious ser#i"es that shi!with the TrueNAS system. TrueNAS su!!orts the following
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
128/201
FT,
iSSI
NFS
Csyn"
S.%.A.C.T. SN%,
SS4
TFT,
&,S
This se"tion demonstrates how to start a TrueNAS ser#i"e then des"ri
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
129/201
,igure 10.1a* (ontro Ser-i"es
10.2 A,P
The A!!le Filing ,roto"ol ?AF,@ is a network !roto"ol that offers file ser#i"es for %a" "om!uters.*efore "onfiguring this ser#i"e( you should first "reate your AF, Shares in Sharing A!!le ?AF,@Shares Add A!!le ?AF,@ Share. After "onfiguring this ser#i"e( go to Ser#i"es ontrol Ser#i"es tostart the ser#i"e. The AF, shares will not 77 ?"nidKmetadata@
&$, :3:3 and a random &$, !ort ?a#ahi@
Figure 2.5a shows the "onfiguration o!tions whi"h are des"ri
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
130/201
,igure 10.2a* A,P (onfiguration
Tae 10.2a* A,P (onfiguration &)tions
Setting >aue es"ri)tion
uest A""ess "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
131/201
10.2.1 Troues%ooting
If you re"ei#e a PSomething wrong with the #olumeGs NI$ $*Q error message( run the following"ommand from Shell( re!la"ing the !ath to the !ro3too""ur and for the TrueNAS system to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
132/201
,igure 10.3a* (onfiguring (!,S
Tae 10.3a* (!,S (onfiguration &)tions
Setting >aue es"ri)tion
Net*I)S Name stringmust
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
133/201
Setting >aue es"ri)tion
Lo"al %aster "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
134/201
Setting >aue es"ri)tion
*ind I, Addresses "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
135/201
It is re"ommended to use a dataset for IFS sharing. 0hen "reating the dataset( make sure that theOShare ty!eO is set to 0indows.
(o not "se +hmod to attempt to fix te permissions on a CIF& sare as it destro#s te 8indowsACs.The "orre"t way to manage !ermissions on a IFS share is to manage the share se"urity from a0indows system as either the owner of the share or a mem
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
136/201
A"ti#e $ire"tory relies on Der
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
137/201
Setting >aue es"ri)tion
0orkgrou! Name stringname of 0indows ser#erGs workgrou! ?for older %i"rosoft"lients@
$omain A""ount Name string name of the A"ti#e $ire"tory administrator a""ount
$omain A""ount
,assword
string!assword for the A"ti#e $ire"tory administrator a""ount
&se keyta< "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
138/201
N&T:*A"ti#e $ire"tory !la"es restri"tions on whi"h "hara"ters are allowed in $omain and Net*I)Snames. If you are ha#ing !ro8that your settings do not in"ludeany disallowed "hara"ters. Also( the Administrator ,assword "annot "ontain the L "hara"ter. If a Le-ists in the domain administratorGs !assword( kinit will re!ort a P,assword In"orre"tQ error andlda!K
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
139/201
The keyta< itself "an = htt!H''te"hnet.mi"rosoft."om'en+us'li
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
140/201
Try "reating a om!uter entry on the 0indows ser#erGs )&. 0hen "reating this entry( enter theTrueNAS hostname in the name field. %ake sure it is the same name as the one set in the 8ost"!mefield in Network lo
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
141/201
Tae 10.4* omain (ontroer (onfiguration &)tions
Setting >aue es"ri)tion
Cealm string "a!itali1ed $NS realm name
$omain string "a!itali1ed domain name
Ser#er Coledro!+down
menu
at this time( the only su!!orted role is as the domain "ontroller
for a new domain
$NS *a"kenddro!+downmenu
"hoi"es are SA6&A=5NT;*NA( &5N'9=%AT%5;(&5N'9='G( orN:N; refer to0hi"h $NS
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
142/201
,igure 10.4"* (onfiguring 7AP
Tae 10.4"* 7AP (onfiguration &)tions
Setting >aue es"ri)tion
4ostname string hostname or I, address of L$A, ser#er
*ase $N stringto! le#el of the L$A, dire"tory tree to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
143/201
Setting >aue es"ri)tion
%a"hine Suffi- stringo!tional( "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
144/201
,igure 10.4d* N!S (onfiguration
Tae 10.4d* N!S (onfiguration &)tions
Setting >aue es"ri)tion
NIS domain string name of NIS domain
NIS ser#ers string "omma delimited list of hostnames or I, addresses
Se"uremode
"he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
145/201
,igure 10.4e* NT4 (onfiguration &)tions
Tae 10.4e* NT4 (onfiguration &)tions
Setting >aue es"ri)tion
$omain ontroller string hostname of domain "ontroller
Net*I)S Name string hostname of TrueNAS system0orkgrou! Name string name of 0indows ser#erGs workgrou!
Administrator Name string name of the domain administrator a""ount
Administrator ,assword string in!ut and "onfirm the !assword for the domain administrator a""ount
10.5 nami" NS
$ynami" $NS ?$$NS@ is useful if your TrueNAS system is "onne"ted to an IS, that !eriodi"ally"hanges the I, address of the system. 0ith dynami" $NS( the system "an automati"ally asso"iate its
"urrent I, address with a domain name( allowing you to a""ess the TrueNAS system e#en if the I,address "hanges. $$NS reEuires you to register with a $$NS ser#i"e su"h as $yn$NS7.
Figure 2.:a shows the $$NS "onfiguration s"reen and Ta
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
146/201
,igure 10.5a* (onfiguring NS
Tae 10.5a* NS (onfiguration &)tions
Setting >aue es"ri)tion
,ro#ider dro!+downmenu
se#eral !ro#iders are su!!orted if your !ro#ider is not listed( lea#e thisfield
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
147/201
10.6 ,TP
TrueNAS uses the !roft!d7FT, ser#er to !ro#ide FT, ser#i"es. )n"e the FT, ser#i"e is "onfiguredand started( "lients "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
148/201
Ta
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
149/201
Setting >aue es"ri)tion
Lo"al user u!load
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
150/201
Setting >aue es"ri)tion
reEuiredthe se"urity of the "onne"tion so only do so if the "lient doesnot understand reused SSL sessions
TLS e-!ort standard #ars "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
151/201
5. (onfigure anonmous ,TPin Ser#i"es FT,
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
152/201
To "onfigure this s"enarioH
2. (reate a +,S dataset for ea"% userin Storage /olumes. li"k an e-isting 6FS #olume reate 6FS $ataset and set an a!!ro!riate Euota for ea"h dataset. Ce!eat this !ro"ess to "reate adataset for e#ery user that will need a""ess to the FT, ser#i"e.
5. !f ou are not using A or 7APH "reate a user a""ount for ea"% user in A""ount &sers Add &ser. For ea"h user(
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
153/201
5. S)e"if se"ure ,TP $%en a""essing t%e TrueNAS sstem.For e-am!le( in File1illa in!ut$tps-..5P=!ddress?for an im!li"it "onne"tion@ or $tpes-..5P=!ddress?for an e-!li"it "onne"tion@as the 4ost when "onne"ting. The first time a user "onne"ts( they should
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
154/201
Target*a storage resour"e on the TrueNAS system.
:tent*the storage unit to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
155/201
,igure 10.a* Adding an iS(S! Aut%ori'ed A""ess
Tae 10.a* Aut%ori'ed A""ess (onfiguration Settings
Setting >aue es"ri)tion
rou! I$ integerallows different grou!s to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
156/201
,igure 10.* >ie$ing Aut%ori'ed A""esses
10..2 :tents
In iSSI( the target #irtuali1es something and !resents it as a de#i"e to the iSSI "lient. That something"an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
157/201
1,.7.2.1 A""ing an E0tent
To add an e-tent( go to Ser#i"es ISSI ;-tents Add ;-tent. In the e-am!le shown in Figure2.>"( the de#i"e e-tent is using the eport 1#ol that was !re#iously "reated from the .m"t.(olume1#olume.
Ta< summari1es the settings that "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
158/201
Setting >aue es"ri)tion
sie
$e#i"edro!+downmenu
only a!!ears if'e(i+eis sele"ted sele"t the unformatted disk( "ontroller(1#ol( 1#ol sna!shot( or 4AST de#i"e
;-tent si1e integeronly a!!ears if%ileis sele"ted if the si1e is s!e"ified as ( the file mustalready e-ist and the a"tual file si1e will htt!H''www.free
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
159/201
Tae 10."* !nitiator (onfiguration Settings
Setting >aue es"ri)tion
Initiators stringuseAkeyword or a list of initiator hostnames se!arated e( two grou!s ha#e
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
160/201
10..4 Portas
A !ortal s!e"ifies the I, address and !ort numaue es"ri)tion
omment stringo!tional des"ri!tion !ortals are automati"ally assigned a numeri" grou!I$
I, address dro!+downmenu sele"t the I, address asso"iated with an interfa"e or the wild"ard addressof 0/0/0/0?any interfa"e@
,ort integer T, !ort used to a""ess the iSSI target default isF20
TrueNAS 9.2.1.8 Administrator Guide Page 160 of 201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
161/201
TrueNAS systems with multi!le I, addresses or interfa"es "an use a !ortal to !ro#ide ser#i"es ondifferent interfa"es or su
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
162/201
,igure 10.g* iS(S! Target Goa (onfiguration >ariaes
Tae 10.e* Target Goa (onfiguration Settings
Setting >aue es"ri)tion
*ase Name stringsee the Ponstru"ting iSSI names using the iEn. formatQ se"tionofCF 3>5277if you are unfamiliar with this format
$is"o#ery Auth%ethod
dro!+downmenu
"onfigures the authenti"ation le#el reEuired
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
163/201
Setting >aue es"ri)tion
I') Timeoutintegerre!resentingse"onds
sets the limit on how long an I') "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
164/201
Setting >aue es"ri)tion
%ethod menu
ontroller Auth rou!dro!+downmenu
reEuired if ontroller Auth %ethod is set to C8AP or 6utu!lC8AP( o!tional if set toAuto( and not needed if set toNo"e
If the settings in this s"reen differ from the settings on the initiator( set them to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
165/201
,igure 10.%* Adding an iS(S! Target
Tae 10.f* Target Settings
Setting >aue es"ri)tion
Target Name stringreEuired #alue
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
166/201
Setting >aue es"ri)tion
Logi"al *lo"k Si1e integershould only
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
167/201
Tae 10.g* Target;:tents (onfiguration Settings
Setting >aue es"ri)tion
Lun I$ dro!+down menus!e"ify the I$ of the L&N the default of Autowill sele"t the ne-t a#aila system.
%a" )S X does not in"lude an initiator. glo htt!H''www.o!en
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
168/201
If you "an see the target
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
169/201
10.8 N,S
Network File System ?NFS@ is a !roto"ol for sharing files on a network. *efore "onfiguring thisser#i"e( you should first "reate your NFS Shares in Sharing &ni- ?NFS@ Shares Add &ni- ?NFS@Share. After "onfiguring this ser#i"e( go to Ser#i"es ontrol ,anel to start the ser#i"e.
Starting this ser#i"e will o!en the following !orts on the TrueNAS systemH
T, and &$, 222 ?used
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
170/201
Setting >aue es"ri)tion
*ind I, Addresses "he"k
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
171/201
10.9.1 sn"
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
172/201
Setting >aue es"ri)tion
4osts deny string see rsyn"d."onf?:@ for allowed formats
Au-iliary !arameters string additional !arameters from rsyn"d."onf?:@
10.10 S.
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
173/201
N&T:* smartdwill wake u! at e#ery Che+# 5"ter(!l"onfigured in Figure .2a. It will "he"k thetimes you "onfigured in your tests to see if any tests should
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
174/201
,igure 10.11a* (onfiguring SN
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
175/201
This se"tion shows the TrueNAS SS4 "onfiguration o!tions( demonstrates an e-am!le "onfigurationthat restri"ts users to their home dire"tory( and !ro#ides some trou
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
176/201
Setting >aue es"ri)tion
4ost ,ri#ate Dey stringonly a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
177/201
8. Set )ermissions for ea"% datasetin Storage /olume /iew /olumes. SS4 "hroot is ver#specific with regards to the reEuired !ermissions ?see the hroot$ire"tory keyword insshdK"onfig?:@25= for details@. ;o"r config"ration will not wor! if te permissions on tedatasets "sed b# &&/ croot "sers differ from tose sown in Fig"re
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
178/201
. Test t%e "onne"tionfrom a "lient are "ase sensiti#e. This means that your "onfiguration will fail to do what youintended if you do not mat"h the u!!er and lower"ase letters of the keyword.
If your "lients are re"ei#ing Pre#erse $NSQ or timeout errors( add an entry for the I, address of theTrueNAS system in the8ost "!me d!t!b!sefield of Network lo
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
179/201
,igure 10.13a* T,TP (onfiguration
Tae 10.13a* T,TP (onfiguration &)tions
Setting >aue es"ri)tion
$ire"tory
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
180/201
,igure 10.14a* PS (onfiguration S"reen
Ta
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
181/201
Setting >aue es"ri)tion
Shutdown modedro!+downmenu
"hoi"es are 7PS goes o" b!ttery and 7PS re!+hes lo3b!ttery
Shutdown timer integerin se"onds will initiate shutdown after this many se"ondsafter &,S enters 7PS goes o" b!ttery( unless !ower isrestored
%onitor &ser string default is upsmo"
%onitor ,assword stringdefault is known #alue $imep!ssand should
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
182/201
,igure 11a* e)orting Gra)%s
TrueNAS uses "olle"td238to !ro#ide re!orting statisti"s. The following "olle"td !lugins are ena
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
183/201
swa! utili1ation237H dis!lays the amount of free and used swa! s!a"e.
interfa"e28H shows re"ei#ed and transmitted traffi" in
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
184/201
,igure 12.1a* Sstem Pro"esses unning on TrueNAS
The dis!lay will automati"ally refresh itself. Sim!ly "li"k the X in the u!!er right "orner to "lose thedis!lay when you are finished. Note that the dis!lay is read+only( meaning that you wonGt
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
185/201
,igure 12.2a* ?e S%e
0hile you are in Shell( you will not ha#e a""ess to any of the other &I menus. If you are using Shellfor trou
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
186/201
12.3 eoot
If you "li"k Ce
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
187/201
12.4 S%utdo$n
If you "li"k Shutdown( you will re"ei#e the warning message shown in Figure 25.8a and your
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
188/201
12.5.1 (reating a Su))ort Ti"/et
As an iXsystems "ustomer( you ha#e a""ess to the resour"es a#aila
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
189/201
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
190/201
13 )grading TrueNAS
TrueNAS !ro#ides two methods for !erforming an u!gradeH a &I u!grade ?!referred@ and anu!grade using I,%I and IS) redire"tion. This se"tion des"ri
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
191/201
,igure 13.1a* Ste) 1 of )grade
,igure 13.1* Ste) 2 of )grade
This s"reen again reminds you to
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
192/201
0hen finished( "li"k the A!!ly &!date oume
If your disks are en"ry!ted and you ha#e "reated a !ass!hrase and sa#ed the re"o#ery key( the #olumewill automati"ally
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
193/201
,igure 13.1" no"/ing an :n"r)ted >oume
13.1.4 !f Somet%ing Goes ?rong
If the TrueNAS system does not
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
194/201
TrueNAS su!!orts two o!erating systems on the o!erating system de#i"eH the "urrent o!eratingsystem and( if you ha#e !erformed an u!grade( the !re#iously installed #ersion of the o!erating system.This allows you to re
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
195/201
14 sing t%e ,reeNAS AP!
FreeNAS !ro#ides a do"umented reST28=A,I. This A,I "an
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
196/201
7ine 4*re!la"e $ree"!s/mydom!i"with the O4ostnameO #alue in System System Information. Notethat your s"ri!t will fail if the ma"hine running the s"ri!t is not a
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
197/201
This e-am!le defines a "lass and se#eral methods whi"h are used to "reate a 6FS #olume( "reate a 6FSdataset( share this dataset o#er IFS( and ena
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
198/201
The +re!te=d!t!setmethod is defined whi"h "reates a dataset named6ySh!reH
def create_dataset(self):
self.request('storage/volume/tank/datasets', method='POST', data={
'name': 'MyShare',
})
The +re!te=+i$s=sh!remethod is used to share.m"t.t!"#.6ySh!rewith guest+only a""ess ena
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
199/201
5. T:
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
200/201
reser#es the right to "orre"t su"h error at any time( and our sole remedy in the e#ent of su"h error issto! using the ,rodu"t.
3. T:
3.2. Termination. This Li"ense Agreement shall "ommen"e as of the date on whi"h the su
8.5. T) T4; %AXI%&% ;XT;NT ,;C%ITT;$ * A,,LIA*L; LA0( IN N) ;/;NT 0ILL
om!any *; LIA*L; F)C AN L)ST ,C)FITS )C *&SIN;SS ),,)CT&NITI;S( L)SS )F&S;( *&SIN;SS INT;CC&,TI)N( L)SS )F $ATA( )C AN )T4;C IN$IC;T( S,;IAL(INI$;NTAL( )C )NS;9&;NTIAL $A%A;S &N$;C AN T4;)C )F LIA*ILIT(04;T4;C *AS;$ IN )NTCAT( T)CT( N;LI;N;( ,C)$&T LIA*ILIT( )C)T4;C0IS;.
:. G:N:A7
:.2. o#erning Law. This Li"ense Agreement shall
-
8/10/2019 TrueNAS 9.2.1.8 Administrator Guide
201/201
:.=. Foreign orru!t ,ra"ti"es A"t. ou will "om!ly with the reEuirements of the &nited States Foreignorru!t ,ra"ti"es A"t ?the OF,AO@ and will refrain from making( dire"tly or indire"tly( any !aymentsto third !arties whi"h "onstitute a . ;-!ort Cestri"tions. ou may not e-!ort or re+e-!ort the ,rodu"t e-"e!t in "om!lian"e with the
&nited States ;-!ort Administration A"t and the related rules and regulations and similar non+&.S.go#ernment restri"tions( if a!!li"a