NetApp - Cheatsheet
NetApp - Cheatsheet
This is a quick and dirty NetApp commandline cheatsheet on most of the common commands used, this is not extensive so check out the man pages and NetApp documentation. I will be updating this document as I become more familar with the NetApp application. Server
Startup and Shutdown
1 )N o r m a lB o o t . 2 )B o o tw i t h o u t/ e t c / r c . 3 )C h a n g ep a s s w o r d . 4 )C l e a nc o n f i g u r a t i o na n di n i t i a l i z ea l ld i s k s . 5 )M a i n t e n a n c em o d eb o o t . 6 )U p d a t ef l a s hf r o mb a c k u pc o n f i g . 7 )I n s t a l ln e ws o f t w a r ef i r s t . 8 )R e b o o tn o d e . S e l e c t i o n( 1 8 ) ?
Boot M enu
startup modes
h a l t[ t< m i n s > ][ f ]
shutdown
restart
Privilege
N o t e :b yd e f a u l ty o ua r ei na d m i n i s t r a t i v em o d e q=q u i e ts u p p r e s s e sw a r n i n gm e s s a g e s # #F i r s to b t a i nt h ea d v a n c e dp r i v i l e g e s p r i vs e ta d v a n c e d # #T h e nu n l o c ka n dr e s e tt h ed i a gu s e r sp a s s w o r d u s e r a d m i nd i a g u s e ru n l o c k u s e r a d m i nd i a g u s e rp a s s w o r d # #N o wy o us h o u l db ea b l et oa c c e s st h es y s t e m s h e l la n du s ea l lt h es t a n d a r dU n i x # #c o m m a n d s s y s t e m s h e l l l o g i n :d i a g p a s s w o r d :* * * * * * * *
licenses (commandline)
b=i n c l u d en a m ea n dv e r s i o ni n f o r m a t i o nf o rt h ep r i m a r y ,s e c o n d a r ya n dd i a g n o s t i ck e r n e l sa n dt h e f i r m w a r e
Useful Commands
write to a file
System Configuration General information Configuration errors Display disk devices Display Raid group information Display arregates and plexes Display tape devices Display tape libraries
s y s c o n f i g s y s c o n f i gv s y s c o n f i ga( d e t a i l e d ) s y s c o n f i gc s y s c o n f i gd s y s c o n f i gA s y s c o n f i gV
s y s c o n f i gr s y s c o n f i gt s y s c o n f i gm
Chassis
SAS Adapter and Expander Information Shelf information Expander information Disk information Adapter information
s a s s t a ts h e l f s a s s t a ts h e l f _ s h o r t s a s s t a te x p a n d e r s a s s t a te x p a n d e r _ m a p s a s s t a te x p a n d e r _ p h y _ s t a t e s a s s t a td e v _ s t a t s s a s s t a ta d a p t e r _ s t a t e
Statistical Information System Processor Disk Volume LUN Aggregate FC iSCSI CIFS Network
s t a t ss h o ws y s t e m s t a t ss h o wp r o c e s s o r s t a t ss h o wd i s k s t a t ss h o wv o l u m e s t a t ss h o wl u n s t a t ss h o wa g g r e g a t e s t a t ss h o wf c p s t a t ss h o wi s c s i s t a t ss h o wc i f s s t a t ss h o wi f n e t
Storage
Storage Commands
s t o r a g es h o wa d a p t e r s t o r a g es h o wd i s k[ a | x | p | T ] s t o r a g es h o we x p a n d e r s t o r a g es h o wf a b r i c s t o r a g es h o wf a u l t s t o r a g es h o wh u b s t o r a g es h o wi n i t i a t o r s s t o r a g es h o wm c s t o r a g es h o wp o r t s t o r a g es h o ws h e l f s t o r a g es h o ws w i t c h s t o r a g es h o wt a p e[ s u p p o r t e d ] s t o r a g es h o wa c p s t o r a g ea r r a ys h o w
Display
s t o r a g ea r r a ys h o w p o r t s s t o r a g ea r r a ys h o w l u n s s t o r a g ea r r a ys h o w c o n f i g
Enable Disable Rename switch Remove port Load Balance Power Cycle
Disks
Disk Information This is the physical disk itself, normally the disk will reside in a disk enclosure, the disk will have a pathname like 2a.17 depending on the type of disk enclosure Disk name 2a = SCSI adapter 17 = disk SCSI ID Any disks that are classed as spare will be used in any group to replace failed disks. They can also be assigned to any aggregate. Disks are assigned to a specific pool. Disk Types Data Spare Parity dParity holds data stored within the RAID group Does not hold usable data but is available to be added to a RAID group in an aggregate, also known as a hot spare Store data reconstruction information within the RAID group Stores double-parity information within the RAID group, if RAID-DP is enabled Disk Commands
d i s ks h o w d i s ks h o w< d i s k _ n a m e > d i s k _ l i s t
Display
s y s c o n f i gr s y s c o n f i gd # #l i s ta l lu n n a s s i g n e d / a s s i g n e dd i s k s d i s ks h o wn d i s ks h o wa
Adding (assigning)
# #A s s i g na l ld i s kt op o o l0 ,b yd e f a u l tt h e ya r ea s s i g n e dt op o o l0i ft h e" p " # #o p t i o ni sn o ts p e c i f i f e d d i s ka s s i g na l lp0 d i s kr e m o v e< d i s k _ n a m e > d i s kr e a s s i g nd< n e w _ s y s i d > d i s kr e p l a c es t a r t< d i s k _ n a m e >< s p a r e _ d i s k _ n a m e > d i s kr e p l a c es t o p< d i s k _ n a m e > N o t e :u s e sR a p i dR A I DR e c o v e r yt oc o p yd a t af r o mt h es p e c i f i e df i l es y s t e mt ot h es p e c i f i e ds p a r ed i s k , y o uc a ns t o pt h i sp r o c e s su s i n gt h es t o pc o m m a n d
Replace
d i s kz e r os p a r e s d i s kf a i l< d i s k _ n a m e > d i s ks c r u bs t a r t d i s ks c r u bs t o p d i s ks a n i t i z es t a r t< d i s kl i s t > d i s ks a n i t i z ea b o r t< d i s k _ l i s t > d i s ks a n i t i z es t a t u s d i s ks a n i t i z er e l e a s e< d i s k _ l i s t > N o t e :t h er e l e a s em o d i f i e st h es t a t eo ft h ed i s kf r o ms a n i t i z et os p a r e .S a n i t i z er e q u i r e sal i c e n s e . d i s km a i n ts t a r td< d i s k _ l i s t > d i s km a i n ta b o r t< d i s k _ l i s t > d i s km a i n tl i s t d i s km a i n ts t a t u s N o t e :y o uc a nt e s tt h ed i s ku s i n gm a i n t a i nm o d e
Sanitize
M aintanence
swap a disk
d i s ks w a p d i s ku n s w a p N o t e :i ts t a l l sa l lS C S II / Ou n t i ly o up h y s i c a l l yr e p l a c eo ra d dad i s k ,c a nu s e do nS C S Id i s ko n l y .
# #E x a m p l e o n t a p 1 >d i s ks i m p u s hl T h ef o l l o w i n gp u l l e dd i s k sa r ea v a i l a b l ef o rp u s h i n g : v 0 . 1 6 : N E T A P P _ _ : V D 1 0 0 0 M B F Z 5 2 0 : 1 4 1 6 1 4 0 0 : 2 1 0 4 4 4 8 o n t a p 1 >d i s ks i m p u s hv 0 . 1 6 : N E T A P P _ _ : V D 1 0 0 0 M B F Z 5 2 0 : 1 4 1 6 1 4 0 0 : 2 1 0 4 4 4 8
Aggregates
Aggregate States Online Restricted Offline Read and write access to volumes is allowed Some operations, such as parity reconstruction are allowed, but data access is not allowed No access to the aggregate is allowed Aggregate Status Values 32-bit 64-bit aggr copying degraded double degraded foreign growing initializing invalid ironing mirror degraded mirrored needs check normal out-of-date partial raid0 raid4 raid_dp reconstruct redirect resyncing snapmirror trad verifying wafl inconsistent This aggregate is a 32-bit aggregate This aggregate is a 64-bit aggregate This aggregate is capable of contain FlexVol volumes This aggregate is currently the target aggregate of an active copy operation This aggregate is contains at least one RAID group with single disk failure that is not being reconstructed This aggregate is contains at least one RAID group with double disk failure that is not being reconstructed (RAID-DP aggregate only) Disks that the aggregate contains were moved to the current storage system from another storage system Disks are in the process of being added to the aggregate The aggregate is in the process of being initialized The aggregate contains no volumes and none can be added. Typically this happend only after an aborted "aggr copy" operation A WAFL consistency check is being performewd on the aggregate The aggregate is mirrored and one of its plexes is offline or resynchronizing The aggregate is mirrored WAFL consistency check needs to be performed on the aggregate The aggregate is unmirrored and all of its RAID groups are functional The aggregate is mirrored and needs to be resynchronized At least one disk was found for the aggregate, but two or more disks are missing The aggrgate consists of RAID 0 (no parity) RAID groups The agrregate consists of RAID 4 RAID groups The agrregate consists of RAID-DP RAID groups At least one RAID group in the aggregate is being reconstructed Aggregate reallocation or file reallocation with the "-p" option has been started on the aggregate, read performance will be degraded One of the mirror aggregates plexes is being resynchronized The aggregate is a SnapM irror replica of another aggregate (traditional volumes only) The aggregate is a traditional volume and cannot contain FlexVol volumes. A mirror operation is currently running on the aggregate The aggregate has been marked corrupted; contact techincal support Aggregate Commands Displaying Check you have spare disks
a g g rs t a t u s a g g rs t a t u sr a g g rs t a t u s< a g g r e g a t e >[ v ] a g g rs t a t u ss
# #S y n t a x-i fn oo p t i o ni ss p e c i f i e dt h e nt h ed e f u l ti su s e d a g g rc r e a t e< a g g r _ n a m e >[ f ][ m ][ n ][ t{ r a i d 0| r a i d 4| r a i d _ d p } ][ rr a i d _ s i z e ][ Td i s k _ t y p e ][ R r p m > ][ L ][ B{ 3 2 | 6 4 } ]< d i s k _ l i s t > # #c r e a t ea g g r e g a t ec a l l e dn e w a g g rt h a tc a nh a v eam a x i m u mo f8R A I Dg r o u p s a g g rc r e a t en e w a g g rr8d8 a . 1 68 a . 1 78 a . 1 88 a . 1 9 # #c r e a t ea g g r e g a t e dc a l l e dn e w f a s t a g g ru s i n g2 0x1 5 0 0 0 r p md i s k s a g g rc r e a t en e w f a s t a g g rR1 5 0 0 02 0
Adding (creating)
# #c r e a t ea g g r g a t ec a l l e dn e w F C A L a g g r( n o t eS A Sa n dF Cd i s k sm a yb g eu s e d ) a g g rc r e a t en e w F C A L a g g rTF C A L1 5
N o t e : f=o v e r r i d e st h ed e f a u l tb e h a v i o rt h a td o e sn o tp e r m i td i s k si nap l e xt ob e l o n gt od i f f e r e n td i s k p o o l s m=s p e c i f i e st h eo p t i o n a lc r e a t i o no faS y n c M i r r o r n=d i s p l a y st h er e s u l t so ft h ec o m m a n db u td o e sn o te x e c u t ei t r=m a x i m u ms i z e( n u m b e ro fd i s k s )o ft h eR A I Dg r o u p sf o rt h i sa g g r e g a t e T=d i s kt y p eA T A ,S A T A ,S A S ,B S A S ,F C A Lo rL U N R=r p mw h i c hi n c l u d e5 4 0 0 ,7 2 0 0 ,1 0 0 0 0a n d1 5 0 0 0 a g g ro f f l i n e< a g g r e g a t e >
Remove(destroying)
a g g rd e s t r o y< a g g r e g a t e >
Increase size
a g g rs h o w _ s p a c e< a g g r e g a t e > a g g rm i r r o r< a g g r e g a t e > a g g rs p l i t< a g g r e g a t e / p l e x >< n e w _ a g g r e g a t e > # #O b t a i nt h es t a t u s a g g rc o p ys t a t u s # #S t a r tac o p y a g g rc o p ys t a r t< a g g r e g a t es o u r c e >< a g g r e g a t ed e s t i n a t i o n > # #A b o r tac o p y-o b t a i nt h eo p e r a t i o nn u m b e rb yu s i n g" a g g rc o p ys t a t u s " a g g rc o p ya b o r t< o p e r a t i o nn u m b e r > # #T h r o t t l et h ec o p y1 0 = f u l ls p e e d ,1 = o n e t e n t hf u l ls p e e d a g g rc o p yt h r o t t l e< o p e r a t i o nn u m b e r >< t h r o t t l es p e e d > # #M e d i as c r u bs t a t u s a g g rm e d i a _ s c r u bs t a t u s a g g rs c r u bs t a t u s # #s t a r tas c r u bo p e r a t i o n a g g rs c r u bs t a r t[a g g r n a m e|p l e x n a m e|g r o u p n a m e] # #s t o pas c r u bo p e r a t i o n a g g rs c r u bs t o p[a g g r n a m e|p l e x n a m e|g r o u p n a m e] # #s u s p e n das c r u bo p e r a t i o n a g g rs c r u bs u s p e n d[a g g r n a m e|p l e x n a m e|g r o u p n a m e] # #r e s u m eas c r u bo p e r a t i o n a g g rs c r u br e s u m e[a g g r n a m e|p l e x n a m e|g r o u p n a m e] N o t e :S t a r t sp a r i t ys c r u b b i n go nt h en a m e do n l i n ea g g r e g a t e .P a r i t ys c r u b b i n gc o m p a r e st h ed a t ad i s k st o t h e p a r i t yd i s k ( s )i nt h e i rR A I Dg r o u p ,c o r r e c t i n gt h ep a r i t yd i s k sc o n t e n t sa sn e c e s s a r y .I fn on a m ei s g i v e n ,p a r i t ys c r u b b i n gi ss t a r t e do na l lo n l i n ea g g r e g a t e s .I fa na g g r e g a t en a m ei sg i v e n ,s c r u b b i n gi s s t a r t e do na l lR A I Dg r o u p sc o n t a i n e di nt h ea g g r e g a t e .I fap l e xn a m ei sg i v e n ,s c r u b b i n gi ss t a r t e do n a l lR A I Dg r o u p sc o n t a i n e di nt h ep l e x . L o o ka tt h ef o l l o w i n gs y s t e mo p t i o n s : r a i d . s c r u b . d u r a t i o n3 6 0 r a i d . s c r u b . e n a b l eo n r a i d . s c r u b . p e r f _ i m p a c tl o w r a i d . s c r u b . s c h e d u l e
Scrubbing (parity)
# #v e r i f ys t a t u s a g g rv e r i f ys t a t u s # #s t a r tav e r i f yo p e r a t i o n a g g rv e r i f ys t a r t[a g g r n a m e]
Verify (mirroring)
a g g rm e d i a _ s c r u bs t a t u s N o t e :P r i n t st h em e d i as c r u b b i n gs t a t u so ft h en a m e da g g r e g a t e ,p l e x ,o rg r o u p .I fn on a m ei sg i v e n , t h e n s t a t u si sp r i n t e df o ra l lR A I Dg r o u p sc u r r e n t l yr u n n i n gam e d i as c r u b .T h es t a t u si n c l u d e sa p e r c e n t c o m p l e t ea n dw h e t h e ri ti ss u s p e n d e d . L o o ka tt h ef o l l o w i n gs y s t e mo p t i o n s : r a i d . m e d i a _ s c r u b . e n a b l eo n r a i d . m e d i a _ s c r u b . r a t e6 0 0 r a i d . m e d i a _ s c r u b . s p a r e s . e n a b l eo n
M edia Scrub
Volumes
Volume States Online Restricted Offline Read and write access to this volume is allowed. Some operations, such as parity reconstruction, are allowed, but data access is not allowed. No access to the volume is allowed. Volume Status Values access denied active redirect connecting copying degraded double degraded flex flexcache foreign growing initializing invalid ironing lang mismatch mirror degraded mirrored needs check out-of-date partial raid0 raid4 raid_dp reconstruct redirect rem vol changed rem vol unavail The origin system is not allowing access. (FlexCache volumes only.) The volume's containing aggregate is undergoing reallocation (with the -p option specified). Read performance may be reduced while the volume is in this state. The caching system is trying to connect to the origin system. (FlexCache volumes only.) The volume is currently the target of an active vol copy or snapmirror operation. The volume's containing aggregate contains at least one degraded RAID group that is not being reconstructed after single disk failure. The volume's containing aggregate contains at least one degraded RAID-DP group that is not being reconstructed after double disk failure. The volume is a FlexVol volume. The volume is a FlexCache volume. Disks used by the volume's containing aggregate were moved to the current storage system from another storage system. Disks are being added to the volume's containing aggregate. The volume's containing aggregate is being initialized. The volume does not contain a valid file system. A WAFL consistency check is being performed on the volume's containing aggregate. The language setting of the origin volume was changed since the caching volume was created. (FlexCache volumes only.) The volume's containing aggregate is mirrored and one of its plexes is offline or resynchronizing. The volume's containing aggregate is mirrored. A WAFL consistency check needs to be performed on the volume's containing aggregate. The volume's containing aggregate is mirrored and needs to be resynchronized. At least one disk was found for the volume's containing aggregate, but two or more disks are missing. The volume's containing aggregate consists of RAID0 (no parity) groups (array LUNs only). The volume's containing aggregate consists of RAID4 groups. The volume's containing aggregate consists of RAID-DP groups. At least one RAID group in the volume's containing aggregate is being reconstructed. The volume's containing aggregate is undergoing aggregate reallocation or file reallocation with the -p option. Read performance to volumes in the aggregate might be degraded. The origin volume was deleted and re-created with the same name. Re-create the FlexCache volume to reenable the FlexCache relationship. (FlexCache volumes only.) The origin volume is offline or has been deleted. (FlexCache volumes only.)
remote nvram err resyncing snapmirrored trad unrecoverable unsup remote vol verifying wafl inconsistent
The origin system is experiencing problems with its NVRAM . (FlexCache volumes only.) One of the plexes of the volume's containing mirrored aggregate is being resynchronized. The volume is in a SnapM irror relationship with another volume. The volume is a traditional volume. The volume is a FlexVol volume that has been marked unrecoverable; contact technical support. The origin system is running a version of Data ONTAP the does not support FlexCache volumes or is not compatible with the version running on the caching system. (FlexCache volumes only.) RAID mirror verification is running on the volume's containing aggregate. The volume or its containing aggregate has been marked corrupted; contact technical support . General Volume Operations (Traditional and FlexVol)
v o ls t a t u s v o ls t a t u sv( v e r b o s e ) v o ls t a t u sl( d i s p l a yl a n g u a g e )
Displaying
v o lo f f l i n e< v o l _ n a m e > v o ld e s t r o y< v o l _ n a m e > v o lr e n a m e< o l d _ n a m e >< n e w _ n a m e > v o lo n l i n e< v o l _ n a m e > v o lo f f l i n e< v o l _ n a m e > v o lr e s t r i c t< v o l _ n a m e > v o ld e c o m p r e s ss t a t u s v o ld e c o m p r e s ss t a r t< v o l _ n a m e > v o ld e c o m p r e s ss t o p< v o l _ n a m e > v o lm i r r o rv o l n a m e[ n ] [ vv i c t i m _ v o l n a m e ] [ f ] [ d< d i s k _ l i s t > ] N o t e : M i r r o r st h ec u r r e n t l y u n m i r r o r e dt r a d i t i o n a lv o l u m ev o l n a m e ,e i t h e rw i t ht h es p e c i f i e ds e to fd i s k so r w i t ht h ec o n t e n t so fa n o t h e ru n m i r r o r e dt r a d i t i o n a lv o l u m ev i c t i m _ v o l n a m e ,w h i c hw i l lb ed e s t r o y e di n t h ep r o c e s s . T h ev o lm i r r o rc o m m a n df a i l si fe i t h e rt h ec h o s e nv o l n a m eo rv i c t i m _ v o l n a m ea r ef l e x i b l ev o l u m e s . F l e x i b l ev o l u m e sr e q u i r et h a ta n yo p e r a t i o n sh a v i n gd i r e c t l yt od ow i t ht h e i rc o n t a i n i n ga g g r e g a t e sb e h a n d l e dv i at h en e wa g g rc o m m a n ds u i t e .
M irroring
v o ll a n g< v o l _ n a m e >< l a n g u a g e > # #D i s p l a ym a x i m u mn u m b e ro ff i l e s m a x f i l e s< v o l _ n a m e > # #C h a n g em a x i m u mn u m b e ro ff i l e s m a x f i l e s< v o l _ n a m e >< m a x _ n u m _ f i l e s > v o lo p t i o n s< v o l _ n a m e >r o o t v o lm e d i a _ s c r u bs t a t u s[ v o l n a m e | p l e x n a m e | g r o u p n a m esd i s k n a m e ] [ v ] N o t e :P r i n t st h em e d i as c r u b b i n gs t a t u so ft h en a m e da g g r e g a t e ,v o l u m e ,p l e x ,o rg r o u p .I fn on a m ei s g i v e n ,t h e n s t a t u si sp r i n t e df o ra l lR A I Dg r o u p sc u r r e n t l yr u n n i n gam e d i as c r u b .T h es t a t u si n c l u d e sa p e r c e n t c o m p l e t ea n dw h e t h e ri ti ss u s p e n d e d . L o o ka tt h ef o l l o w i n gs y s t e mo p t i o n s : r a i d . m e d i a _ s c r u b . e n a b l eo n r a i d . m e d i a _ s c r u b . r a t e6 0 0 r a i d . m e d i a _ s c r u b . s p a r e s . e n a b l eo n
M edia Scrub
Adding (creating)
additional disks
Resizing
# #I n c r e a s ef l e x v o l 1v o l u m eb y1 0 0 M B v o ls i z ef l e x v o l 1+1 0 0 m v o la u t o s i z ev o l _ n a m e[ ms i z e{ k | m | g | t } ][ Is i z e{ k | m | g | t } ]o n
# #a u t o m a t i c a l l yg r o wb y1 0 M Bi n c r e a m e n t st om a xo f5 0 0 M B v o la u t o s i z ef l e x v o l 1m5 0 0 mI1 0 mo n d fA h
v o lc o n t a i n e r< v o l _ n a m e >
Cloning
v o lc o p ys t a r t[ S | ss n a p s h o t ]< v o l _ s o u r c e >< v o l _ d e s t i n a t i o n > v o lc o p ys t a t u s v o lc o p ya b o r t< o p e r a t i o nn u m b e r > v o lc o p yt h r o t t l e< o p e r a t i o n _ n u m b e r >< t h r o t t l ev a l u e1 0 1 > # #E x a m p l e-C o p i e st h en i g h t l ys n a p s h o tn a m e dn i g h t l y . 1o nv o l u m ev o l 0o nt h el o c a lf i l e rt ot h ev o l u m e v o l 0o nr e m o t e# #f i l e rn a m e dt o a s t e r 1 . v o lc o p ys t a r tsn i g h t l y . 1v o l 0t o a s t e r 1 : v o l 0
Copying
adding (creating)
Scrubing (parity)
# #T h em o r en e w" a g g rv e r i f y "c o m m a n di sp r e f e r r e d # #v e r i f ys t a t u s v o lv e r i f ys t a t u s
Verify (mirroring)
FlexCache Volumes
FlexCache Consistency You can think of a delegation as a contract between the origin system and the caching volume; as long as the caching volume has the delegation, the file has not changed. Delegations are used only in certain situations. Delegations When data from a file is retrieved from the origin volume, the origin system can give a delegation for that file to the caching volume. Before that file is modified on the origin volume, whether due to a request from another caching volume or due to direct client access, the origin system revokes the delegation for that file from all caching volumes that have that delegation. When data is retrieved from the origin volume, the file that contains that data is considered valid in the FlexCache volume as long as a delegation exists for that file. If no delegation exists, the file is considered valid for a certain length of time, specified by the Attribute cache timeouts attribute cache timeout. If a client requests data from a file for which there are no delegations, and the attribute cache timeout has been exceeded, the FlexCache volume compares the file attributes of the cached file with the attributes of the file on the origin system. If a client modifies a file that is cached, that operation is passed back, or proxied through, to the origin system, and the file is ejected from the cache. write operation proxy When the write is proxied, the attributes of the file on the origin volume are changed. This means that when another client requests data from that file, any other FlexCache volume that has that data cached will re-request the data after the attribute cache timeout is reached. FlexCache Status Values access denied connecting lang mismatch rem vol changed rem vol unavail remote nvram err unsup remote vol The origin system is not allowing FlexCache access. Check the setting of the flexcache.access option on the origin system. The caching system is trying to connect to the origin system. The language setting of the origin volume was changed since the FlexCache volume was created. The origin volume was deleted and re-created with the same name. Re-create the FlexCache volume to reenable the FlexCache relationship. The origin volume is offline or has been deleted. The origin system is experiencing problems with its NVRAM . The origin system is running a version of Data ONTAP that either does not support FlexCache volumes or is not compatible with the version running on the caching system. FlexCache Commands
v o ls t a t u s v o ls t a t u sv< f l e x c a c h e _ n a m e >
Display
Adding (Create)
# #C r e a t eaF l e x C a c h ev o l u m ec a l l e df l e x c a c h e 1w i t ha u t o g r o wi na g g r 1a g g r e g a t ew i t ht h es o u r c ev o l u m e v o l 1 # #o ns t o r a g en e t a p p 1s e r v e r v o lc r e a t ef l e x c a c h e 1a g g r 1Sn e t a p p 1 : v o l 1 v o lo f f l i n e<f l e x c a c h e _ n a m e > v o ld e s t r o y< f l e x c a c h e _ n a m e > v o lo p t i o n s< f l e x c a c h e _ n a m e >f l e x c a c h e _ a u t o g r o w[ o n | o f f ] f l e x c a c h ee j e c t< p a t h >[ f ] # #C l i e n ts t a t s f l e x c a c h es t a t sC< f l e x c a c h e _ n a m e >
Statistics
# #F i l es t a t s f l e x c a c h ef s t a t< p a t h >
FlexClone Volumes
FlexClone Commands Display
v o ls t a t u s v o ls t a t u s< f l e x c l o n e _ n a m e >v d fL h # #S y n t a x v o lc l o n ec r e a t ec l o n e _ n a m e[ s{ v o l u m e | f i l e | n o n e } ]bp a r e n t _ n a m e[ p a r e n t _ s n a p ] # #c r e a t eaf l e x c l o n ec a l l e df l e x c l o n e 1f r o mt h ep a r e n tf l e x v o l 1 v o lc l o n ec r e a t ef l e x c l o n e 1bf l e x v o l 1
adding (create)
Removing (destroy)
splitting
log file
Deduplication
Deduplication Commands
s i ss t a r ts< p a t h >
schedule deduplication
QTrees
QTree Commands
q t r e es t a t u s[ i ][ v ]
Display
adding (create)
Remove Rename
stats
# #C h a n g et h es e c u r i t ys t y l eo f/ v o l / u s e r s / d o c st om i x e d q t r e es e c u r i t y/ v o l / u s e r s / d o c sm i x e d
Quotas
Quota Commands Quotas configuration file
/ m r o o t / e t c / q u o t a s # # # # Q u o t aT a r g e t # # * / v o l / v o l 2 / q t r e e t i n h d b a h a r dl i m i t|t h r e s| s o f tl i m i t d i s k f i l e s |h o l d | d i s k f i l e - - --#m o n i t o ru s a g eo na l lq t r e e si nv o l 0 1 0 2 4 K 7 5 k #e n f o r c eq t r e eq u o t au s i n gk b 1 0 0 M #e n f o r c eu s e r sq u o t ai ns p e c i f i e dq t r e e 1 0 0 M #e n f o r c eg r o u pq u o t ai ns p e c i f i e dq t r e e
t y p e t r e e @ / v o l / v o l 0 t r e e u s e r @ / v o l / v o l 2 / q t r e e 1 g r o u p @ / v o l / o r a / q t r e e 1
#*=d e f a u l tu s e r / g r o u p / q t r e e #-=p l a c e h o l d e r ,n ol i m i te n f o r c e d ,j u s te n a b l es t a t sc o l l e c t i o n N o t e :y o uh a v el o t so fp e r m u t a t i o n s ,s oc h e c k o u tt h ed o c u m e n t a t i o n
Displaying
Activating
e d i tt h eq u o t af i l e q u o t ar e s i z e< v o l _ n a m e > q u o t al o g m s g
Create
Destroy
Resize
l u no n l i n e/ v o l / t r a d v o l 1 / l u n 1 l u no f f l i n e/ v o l / t r a d v o l 1 / l u n 1 l u nm a p/ v o l / t r a d v o l 1 / l u n 1w i n _ h o s t s _ g r o u p 10 l u nm a pf/ v o l / t r a d v o l 1 / l u n 2l i n u x _ h o s t _ g r o u p 11
Remove LUN mapping Displays or zeros read/write statistics for LUN Comments Check all lun/igroup/fcp settings for correctness
#C r e a t eaS n a p s h o tc o p yo ft h ev o l u m ec o n t a i n i n gt h eL U Nt ob ec l o n e db ye n t e r i n gt h ef o l l o w i n gc o m m a n d s n a pc r e a t et r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0 #C r e a t et h eL U Nc l o n eb ye n t e r i n gt h ef o l l o w i n gc o m m a n d l u nc l o n ec r e a t e/ v o l / t r a d v o l 1 / c l o n e _ l u n 1b/ v o l / t r a d v o l 1 / t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0l u n 1
Show the maximum possible size of a LUN on a given volume or qtree M ove (rename) LUN Display/change LUN serial number M anage LUN properties Configure NAS file-sharing properties M anage LUN and snapshot interactions
igroup configuration display create (iSCSI) create (FC) destroy add initiators to an igroup remove initiators to an igroup rename set O/S type
i g r o u ps h o w i g r o u ps h o wv i g r o u ps h o wi q n . 1 9 9 1 0 5 . c o m . m i c r o s o f t : x b l a d e i g r o u pc r e a t eitw i n d o w sw i n _ h o s t s _ g r o u p 1i q n . 1 9 9 1 0 5 . c o m . m i c r o s o f t : x b l a d e i g r o u pc r e a t eifw i n d o w sw i n _ h o s t s _ g r o u p 1i q n . 1 9 9 1 0 5 . c o m . m i c r o s o f t : x b l a d e i g r o u pd e s t r o yw i n _ h o s t s _ g r o u p 1 i g r o u pa d dw i n _ h o s t s _ g r o u p 1i q n . 1 9 9 1 0 5 . c o m . m i c r o s o f t : l a p t o p i g r o u pr e m o v ew i n _ h o s t s _ g r o u p 1i q n . 1 9 9 1 0 5 . c o m . m i c r o s o f t : l a p t o p i g r o u pr e n a m ew i n _ h o s t s _ g r o u p 1w i n _ h o s t s _ g r o u p 2 i g r o u ps e tw i n _ h o s t s _ g r o u p 1o s t y p ew i n d o w s i g r o u ps e tw i n _ h o s t s _ g r o u p 1a l u ay e s N o t e :A L U Ad e f i n e sas t a n d a r ds e to fS C S Ic o m m a n d sf o rd i s c o v e r i n ga n dm a n a g i n gm u l t i p l ep a t h st oL U N so nF i b r e C h a n n e la n di S C S IS A N s .A L U Ae n a b l e st h ei n i t i a t o rt oq u e r yt h et a r g e ta b o u tp a t ha t t r i b u t e s ,s u c ha sp r i m a r y p a t ha n ds e c o n d a r yp a t h .I ta l s oe n a b l e st h et a r g e tt oc o m m u n i c a t ee v e n t sb a c kt ot h ei n i t i a t o r .A sl o n ga st h e h o s ts u p p o r t st h eA L U As t a n d a r d ,m u l t i p a t h i n gs o f t w a r ec a nb ed e v e l o p e dt os u p p o r ta n ya r r a y .P r o p r i e t a r yS C S I c o m m a n d sa r en ol o n g e rr e q u i r e d .
Enabling ALUA
interfaces
i s c s ii n t e r f a c ee n a b l ee 0 b i s c s ii n t e r f a c ed i s a b l ee 0 b i s c s ip o r t a ls h o w
portals
portals
N o t e :U s et h ei s c s ip o r t a ls h o wc o m m a n dt od i s p l a yt h et a r g e tI Pa d d r e s s e so ft h es t o r a g es y s t e m .T h es t o r a g e s y s t e m ' st a r g e tI Pa d d r e s s e sa r et h ea d d r e s s e so ft h ei n t e r f a c e su s e df o rt h ei S C S Ip r o t o c o l i s c s ii n t e r f a c ea c c e s s l i s ts h o w N o t e :y o uc a na d do rr e m o v ei n t e r f a c e sf r o mt h el i s t
accesslists
Port Sets
p o r t s e ts h o w p o r t s e ts h o wp o r t s e t 1 i g r o u ps h o wl i n u x i g r o u p 1
display
p o r t s e tc r e a t efp o r t s e t 1S y s t e m A : 4 b i g r o u pu n b i n dl i n u x i g r o u p 1p o r t s e t 1 p o r t s e td e s t r o yp o r t s e t 1 p o r t s e ta d dp o r t s e t 1S y s t e m B : 4 b p o r t s e tr e m o v ep o r t s e t 1S y s t e m B : 4 b i g r o u pb i n dl i n u x i g r o u p 1p o r t s e t 1 i g r o u pu n b i n dl i n u x i g r o u p 1p o r t s e t 1
stats
set WWPN #
f c pp o r t n a m es e t[ f ]a d a p t e rw w p n f c pp o r t n a m es e tf1 b5 0 : 0 a : 0 9 : 8 5 : 8 7 : 0 9 : 6 8 : a d
swap WWPN #
f c pp o r t n a m es w a p[ f ]a d a p t e r 1a d a p t e r 2 f c pp o r t n a m es w a pf1 a1 b
#d i s p l a yn o d e n a m e f c pn o d e n a m e f c pn o d e n a m e[ f ] n o d e n a m e
change WWNN
f c pw w p n a l i a sr e m o v eam y _ a l i a s _ 1 f c pw w p n a l i a sr e m o v ew1 0 : 0 0 : 0 0 : 0 0 : c 9 : 3 0 : 8 0 : 2
create clone
#C r e a t eaS n a p s h o tc o p yo ft h ev o l u m ec o n t a i n i n gt h eL U Nt ob ec l o n e db ye n t e r i n gt h ef o l l o w i n gc o m m a n d s n a pc r e a t et r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0 #C r e a t et h eL U Nc l o n eb ye n t e r i n gt h ef o l l o w i n gc o m m a n d l u nc l o n ec r e a t e/ v o l / t r a d v o l 1 / c l o n e _ l u n 1b/ v o l / t r a d v o l 1 / l u n 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0
#d i s p l a yt h es n a p s h o tc o p i e s l u ns n a pu s a g et r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0
destroy clone
#D e l e t ea l lt h eL U N si nt h ea c t i v ef i l es y s t e mt h a ta r ed i s p l a y e db yt h el u ns n a pu s a g ec o m m a n db ye n t e r i n gt h e f o l l o w i n gc o m m a n d l u nd e s t r o y/ v o l / t r a d v o l 1 / c l o n e _ l u n 1 #D e l e t ea l lt h eS n a p s h o tc o p i e st h a ta r ed i s p l a y e db yt h el u ns n a pu s a g ec o m m a n di nt h eo r d e rt h e ya p p e a r s n a pd e l e t et r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0
clone dependency
Restoring snapshot
s n a pr e s t o r esp a y r o l l _ l u n _ b a c k u p . 2tv o l/ v o l / p a y r o l l _ l u n l u nc l o n es p l i ts t a r tl u n _ p a t h l u nc l o n es p l i ts t a t u sl u n _ p a t h
splitting the clone stop clone splitting delete snapshot copy disk space usage Use Volume copy to copy LUN's
The estimated rate of change of data between Snapshot copies in a s n a pd e l t a/ v o l / t r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0 volume The estimated amount of space freed if you delete the specified Snapshot copies
s n a pr e c l a i m a b l e/ v o l / t r a d v o l 1t r a d v o l 1 _ s n a p s h o t _ 0 8 1 2 2 0 1 0
none
No security. Data ONTAP treats all of the NFS client's users as anonymous users. Standard UNIX (AUTH_SYS) authentication. Data ONTAP checks the NFS credentials of all of the NFS client's users, applying the file access permissions specified for those users in the NFS server's /etc/passwd file. This is the default security type. Kerberos(tm) Version 5 authentication. Data ONTAP uses data encryption standard (DES) key encryption to authenticate the NFS client's users. Kerberos(tm) Version 5 integrity. In addition to authenticating the NFS client's users, Data
sec=sectype
sys
krb5
krb5i
Kerberos(tm) Version 5 integrity. In addition to authenticating the NFS client's users, Data ONTAP uses message authentication codes (M ACs) to verify the integrity of the NFS client's remote procedure requests and responses, thus preventing "man-in-the-middle" tampering. Kerberos(tm) Version 5 privacy. In addition to authenticating the NFS client's users and verifying data integrity, Data ONTAP encrypts NFS arguments and results to provide privacy.
krb5p
Examples
Displaying
e x p o r t f s e x p o r t f sq< p a t h >
#c r e a t ee x p o r ti nm e m o r ya n dw r i t et o/ e t c / e x p o r t s( u s ed e f a u l to p t i o n s ) e x p o r t f sp/ v o l / n f s 1
create
remove
e x p o r t f sa e x p o r t f sc1 9 2 . 1 6 8 . 0 . 8 0/ v o l / n f s 1 e x p o r t f sf
fencing
#T h ef o l l o w i n gc o m m a n de n a b l e sf e n c i n go fc a tf r o m/ v o l / v o l 0 e x p o r t f sbe n a b l es a v ec a t/ v o l / v o l 0 #c a tm o v e st ot h ef r o n to ft h er o =l i s tf o r/ v o l / v o l 0 : r w = p i g : h o r s e : d o g , r o = c a t : d u c k , a n o n = 0
stats
n f s s t a t
Performance
CIFS Commands
/ e t c / c i f s c o n f i g _ s e t u p . c f g / e t c / u s e r m a p . c f s / e t c / p a s s w d / e t c / c i f s c o n f i g _ s h a r e . c f g
useful files
N o t e :u s e" r d f i l e "t or e a dt h ef i l e
c i f ss e t u p N o t e :y o uw i l lb ep r o m p t e dt oa n s w e ran u m b e ro fq u e s t i o n sb a s e do nw h a tr e q u i r e m e n t sy o un e e d . c i f sr e s t a r t c i f st e r m i n a t e
stop
sessions
Broadcast message
c i f sb r o a d c a s t*" m e s s a g e " c i f sb r o a d c a s t< c l i e n t _ n a m e >" m e s s a g e " c i f sa c c e s s< s h a r e >< u s e r | g r o u p >< p e r m i s s i o n > #E x a m p l e s c i f sa c c e s ss y s a d m i n sgw h e e lF u l lC o n t r o l c i f sa c c e s sd e l e t er e l e a s e sE N G I N E E R I N G \ m a r y N o t e :r i g h t sc a nb eU n i x s t y l ec o m b i n a t i o n so frwx-o rN T s t y l e" N oA c c e s s " ," R e a d " ," C h a n g e " ,a n d " F u l lC o n t r o l " c i f ss t a t< i n t e r v a l > c i f ss t a t< u s e r > c i f ss t a t< I PA d d r e s s > #c r e a t eav o l u m ei nt h en o r m a lw a y
permissions
stats
create a share
#t h e nu s i n gq t r e e ss e tt h es t y l eo ft h ev o l u m e{ n t f s|u n i x|m i x e d } #N o wy o uc a nc r e a t ey o u rs h a r e c i f ss h a r e sa d dT E S T/ v o l / f l e x v o l 1 / T E S Tc o m m e n t" T e s tS h a r e"f o r c e g r o u pw o r k g r o u pm a x u s e r s1 0 0 c i f ss h a r e sc h a n g es h a r e n a m e{ b r o w s e|n o b r o w s e }{ c o m m e n td e s c|-n o c o m m e n t }{ m a x u s e r su s e r l i m i t| n o m a x u s e r s }{ f o r c e g r o u pg r o u p n a m e|n o f o r c e g r o u p }{ w i d e l i n k|n o w i d e l i n k }{ s y m l i n k _ s t r i c t _ s e c u r i t y |-n o s y m l i n k _ s t r i c t _ s e c u r i t y }{ v s c a n|n o v s c a n }{ v s c a n r e a d|-n o v s c a n r e a d }{ u m a s km a s k|n o u m a s k { n o _ c a c h i n g|m a n u a l _ c a c h i n g|-a u t o _ d o c u m e n t _ c a c h i n g|a u t o _ p r o g r a m _ c a c h i n g } #e x a m p l e c i f ss h a r e sc h a n g e< s h a r e n a m e >n o v s c a n #D i s p l a yh o m ed i r e c t o r i e s c i f sh o m e d i r #A d dah o m ed i r e c t o r y w r f i l ea/ e t c / c i f s _ h o m e d i r . c f g/ v o l / T E S T #c h e c ki t r d f i l e/ e t c / c i f s _ h o m e d i r . c f g #D i s p l a yf o raW i n d o w sS e r v e r n e tv i e w\ \ < F i l e rI PA d d r e s s > #C o n n e c t n e tu s e*\ \ 1 9 2 . 1 6 8 . 0 . 7 5 \ T E S T N o t e :m a k es u r et h ed i r e c t o r ye x i s t s #a d dad o m a i nc o n t r o l l e r c i f sp r e f d ca d dl a b1 0 . 1 0 . 1 0 . 1 01 0 . 1 0 . 1 0 . 1 1 #d e l e t ead o m a i nc o n t r o l l e r c i f sp r e f d cd e l e t el a b
home directories
domain controller
#L i s td o m a i ni n f o r m a t i o n c i f sd o m a i n i n f o #L i s tt h ep r e f e r r e dc o n t r o l l e r s c i f sp r e f d cp r i n t #R e s t a b l i s h i n g c i f sr e s e t d c
c i f sc h a n g e f i l e r p w d
s e c t r a c ea d d[ i pi p _ a d d r e s s ][ n t u s e rn t _ u s e r n a m e ][ u n i x u s e ru n i x _ u s e r n a m e ][ p a t hp a t h _ p r e f i x ][ a ] # E x a m p l e s s e c t r a c ea d di p1 9 2 . 1 6 8 . 1 0 . 2 3 s e c t r a c ea d du n i x u s e rf o op a t h/ v o l / v o l 0 / h o m e 4a
#T or e m o v e s e c t r a c ed e l e t ea l l s e c t r a c ed e l e t e< i n d e x > #D i s p l a yt r a c i n g s e c t r a c es h o w
#D i s p l a ye r r o rc o d es t a t u s s e c t r a c ep r i n t s t a t u s< s t a t u s _ c o d e > s e c t r a c ep r i n t s t a t u s1 : 5 1 5 4 4 8 5 0 4 3 2 : 3 2 : 7 8
File Locking
Authenication Style
o p t i o n sf t p d . a u t h _ s t y l e{ u n i x|n t l m|m i x e d } o p t i o n sf t p d . b y p a s s _ t r a v e r s e _ c h e c k i n go n o p t i o n sf t p d . b y p a s s _ t r a v e r s e _ c h e c k i n go f f
Restricting FTP users to a specific directory Restricting FTP users to their home directories or a default directory M aximum number of connections idle timeout value
o p t i o n sf t p d . d i r . r e s t r i c t i o no n o p t i o n sf t p d . d i r . r e s t r i c t i o no f f
o p t i o n sf t p d . d i r . o v e r r i d e" "
o p t i o n sf t p d . m a x _ c o n n e c t i o n sn o p t i o n sf t p d . m a x _ c o n n e c t i o n s _ t h r e s h o l dn o p t i o n sf t p d . i d l e _ t i m e o u tns|m|h o p t i o n sf t p d . a n o n y m o u s . e n a b l eo n o p t i o n sf t p d . a n o n y m o u s . e n a b l eo f f
anonymous logins
#s p e c i f yt h en a m ef o rt h ea n o n y m o u sl o g i n o p t i o n sf t p d . a n o n y m o u s . n a m eu s e r n a m e #c r e a t et h ed i r e c t o r yf o rt h ea n o n y m o u sl o g i n o p t i o n sf t p d . a n o n y m o u s . h o m e _ d i rh o m e d i r
FTP Commands
/ e t c / l o g / f t p . c m d / e t c / l o g / f t p . x f e r
Log files
#s p e c i f yt h em a xn u m b e ro fl o g f i l e s( d e f a u l ti s6 )a n ds i z e o p t i o n sf t p d . l o g . n f i l e s1 0 o p t i o n sf t p d . l o g . f i l e s i z e1 G N o t e :u s er d f i l et ov i e w
Restricting access
/ e t c / f t p u s e r s N o t e :u s i n gr d f i l ea n dw r f i l et oa c c e s s/ e t c / f t p u s e r s f t ps t a t
stats
#t or e s e t f t ps t a tz
o p t i o n sh t t p d . r o o t d i r/ v o l 0 / h o m e / u s e r s / p a g e s o p t i o n sh t t p d . a c c e s sh o s t = H o s t 1A N Di f = e 3 o p t i o n sh t t p d . a d m i n . a c c e s sh o s t ! = H o s t 1
HTTP Commands
/ e t c / l o g / h t t p d . l o g
Log files
#u s et h eb e l o wt oc h a n g et h el o g f i l ef o r m a t
Log files
o p t i o n sh t t p d . l o g . f o r m a ta l t 1 N o t e :u s er d f i l et ov i e w
r e d i r e c t/ c g i b i n / *h t t p : / / c g i h o s t / * p a s s/ i m a g e b i n / * f a i l/ u s r / f o r b i d d e n / * / e t c / h t t p d . m i m e t y p e s N o t e :u s er d f i l ea n dw r f i l et oe d i t i f c o n f i gf 0u n t r u s t e d h t t p s t a t[ d e r s t a ]
stats
#r e s e tt h es t a t s h t t p s t a tz [ d e r t a ]
Network Interfaces
Display
i f c o n f i ga i f c o n f i g< i n t e r f a c e > i f c o n f i ge 0< I PA d d r e s s > i f c o n f i ge 0 a< I PA d d r e s s > #R e m o v eaI PA d d r e s s i f c o n f i ge 30
IP address
Flow control
n o n e -N of l o wc o n t r o l r e c e i v e-A b l et or e c e i v ef l o wc o n t r o lf r a m e s s e n d -A b l et os e n df l o wc o n t r o lf r a m e s f u l l -A b l et os e n da n dr e c e i v ef l o wc o n t r o lf r a m e s T h ed e f a u l tf l o w c o n t r o lt y p ei sf u l l . i f c o n f i ge 8u n t r u s t e d
trusted
HA Pair
Alias
Block/Unblock protocols
Stats
Routing
#u s i n gw r f i l ea n dr d f i l ee d i tt h e/ e t c / r cf i l ew i t ht h eb e l o w
#u s i n gw r f i l ea n dr d f i l ee d i tt h e/ e t c / r cf i l ew i t ht h eb e l o w r o u t ea d dd e f a u l t1 9 2 . 1 6 8 . 0 . 2 5 41
default route
#t h ef u l l/ e t c / r cf i l ew i l ll o o kl i k es o m e t h i n gb e l o w h o s t n a m en e t a p p 1 i f c o n f i ge 01 9 2 . 1 6 8 . 0 . 1 0n e t m a s k2 5 5 . 2 5 5 . 2 5 5 . 0m e d i a t y p e1 0 0 t x f d r o u t ea d dd e f a u l t1 9 2 . 1 6 8 . 0 . 2 5 41 r o u t e do n o p t i o n si p . f a s t p a t h . e n a b l e{ o n | o f f }
N o t e : o n E n a b l e sf a s tp a t h o f f D i s a b l e sf a s tp a t h r o u t e d{ o n | o f f }
N o t e : o n T u r n so nt h er o u t e dd a e m o n o f f T u r n so f ft h er o u t e dd a e m o n n e t s t a tr n r o u t es r o u t e ds t a t u s r o u t ea d d1 9 2 . 1 6 8 . 0 . 1 5g a t e w a y . c o m1
Hosts
nsswitch file
#u s ew r f i l ea n dr d f i l et or e a da n de d i t/ e t c / n s s w i t c h . c o n ff i l e,i tb a s i c a l l yu s e st h es a m er u l e sa sa #U n i xn s s w i t c h . c o n ff i l e #u s ew r f i l ea n dr d f i l et or e a da n de d i t/ e t c / r e s o l v . c o n ff i l e,i tb a s i c a l l yu s e st h es a m er u l e sa sa #U n i xr e s o l v . c o n ff i l e
DNS
o p t i o n sd n s . e n a b l e{ o n | o f f } N o t e : o n E n a b l e sD N S o f f D i s a b l e sD N S
Domain Name
o p t i o n sd n s . d o m a i n n a m e< d o m a i n > o p t i o n sd n s . c a c h e . e n a b l e o p t i o n sd n s . c a c h e . d i s a b l e
DNS cache
#T of l u s ht h eD N Sc a c h e d n sf l u s h #T os e ed n sc a c h ei n f o r m a t i o n d n si n f o o p t i o n sd n s . u p d a t e . e n a b l e{ o n | o f f | s e c u r e }
DNS updates
N o t e : o n E n a b l e sd y n a m i cD N Su p d a t e s o f f D i s a b l e sd y n a m i cD N Su p d a t e s s e c u r eE n a b l e ss e c u r ed y n a m i cD N Su p d a t e s
o p t i o n sd n s . u p d a t e . t t l< t i m e >
time-to-live (TTL)
#E x a m p l e o p t i o n sd n s . u p d a t e . t t l2 h N o t e :t i m ec a nb es e ti ns e c o n d s( s ) ,m i n u t e s( m ) ,o rh o u r s( h ) ,w i t ham i n i m u mv a l u eo f6 0 0s e c o n d s a n dam a x i m u mv a l u eo f2 4h o u r
VLAN
v l a nc r e a t e[ g{ o n | o f f } ]i f n a m ev l a n i d #C r e a t eV L A N sw i t hi d e n t i f i e r s1 0 ,2 0 ,a n d3 0o nt h ei n t e r f a c ee 4o fas t o r a g es y s t e mb yu s i n gt h e f o l l o w i n gc o m m a n d : v l a nc r e a t ee 41 02 03 0 #C o n f i g u r et h eV L A Ni n t e r f a c ee 4 1 0b yu s i n gt h ef o l l o w i n gc o m m a n d i f c o n f i ge 4 1 01 9 2 . 1 6 8 . 0 . 1 1n e t m a s k2 5 5 . 2 5 5 . 2 5 5 . 0
Create
Add
v l a na d de 44 05 0 #D e l e t es p e c i f i cV L A N v l a nd e l e t ee 43 0 #D e l e t eA l lV L A N so nai n t e r f a c e v l a nd e l e t ee 4
Delete
Enable/Disable GRVP on
v l a nm o d i f yg{ o n | o f f }i f n a m e
Stat
#E x a m p l e s v l a ns t a te 4 v l a ns t a te 41 0
Interface Groups
#T oc r e a t eas i n g l e m o d ei n t e r f a c eg r o u p ,e n t e rt h ef o l l o w i n gc o m m a n d : i f g r pc r e a t es i n g l eS i n g l e T r u n k 1e 0e 1e 2e 3
Create (single-mode)
#T oc o n f i g u r ea nI Pa d d r e s so f1 9 2 . 1 6 8 . 0 . 1 0a n dan e t m a s ko f2 5 5 . 2 5 5 . 2 5 5 . 0o nt h es i n g l e m o d ei n t e r f a c e g r o u pS i n g l e T r u n k 1 i f c o n f i gS i n g l e T r u n k 11 9 2 . 1 6 8 . 0 . 1 0n e t m a s k2 5 5 . 2 5 5 . 2 5 5 . 0 #T os p e c i f yt h ei n t e r f a c ee 1a sp r e f e r r e d i f g r pf a v o re 1
Create ( multi-mode)
#T oc r e a t et w oi n t e r f a c eg r o u p sa n das e c o n d l e v e li n t e r f a c eg r o u p .I nt h i se x a m p l e ,I Pa d d r e s sl o a d #b a l a n c i n gi su s e df o rt h em u l t i m o d ei n t e r f a c eg r o u p s . i f g r pc r e a t em u l t iF i r s t l e v 1e 0e 1 i f g r pc r e a t em u l t iF i r s t l e v 2e 2e 3 i f g r pc r e a t es i n g l eS e c o n d l e vF i r s t l e v 1F i r s t l e v 2
Favoured/non-favoured interface
Add
Delete
Destroy
Diagnostic Tools
Useful options
#T h r o t t l ep i n g o p t i o n si p . p i n g _ t h r o t t l e . d r o p _ l e v e l< p a c k e t s _ p e r _ s e c o n d > #D i s a b l ep i n gt h r o t t l i n g o p t i o n si p . p i n g _ t h r o t t l e . d r o p _ l e v e l0 o p t i o n si p . i c m p _ i g n o r e _ r e d i r e c t . e n a b l eo n
Ping thottling
Forged IM CP attacks
N o t e :Y o uc a nd i s a b l eI C M Pr e d i r e c tm e s s a g e st op r o t e c ty o u rs t o r a g es y s t e ma g a i n s tf o r g e dI C M Pr e d i r e c t a t t a c k s .
Useful Commands netdiag ping pktt The netdiag command continuously gathers and analyzes statistics, and performs diagnostic tests. These diagnostic tests identify and report problems with your physical network or transport layers and suggest remedial action. You can use the ping command to test whether your storage system can reach other hosts on your network. You can use the pktt command to trace the packets sent and received in the storage system's network.