Re: quick question
"John Stoffel" <[email protected]>
| Newsgroups | gmane.comp.hardware.netapp |
|---|---|
| Message-ID | <[email protected]> |
Yeah, it's got some great tips. I find it annoying that there are still some parts of the cDOT CLI which are not tab-completion enabled for some reason. It's jarring to run into a points. Otherwise it's a huge imrpovement, once you wrap you mind around the policy rules and applying them to exports. It was simpler with /etc/exports on the old 7-mode setups, but this works better long run. Scott> Heh, have had this page bookmarked for a long time. Scott> "Parisi, Justin" <[email protected]> wrote: Scott> Not real sure why it's diag level. Scott> If you're interested in other CLI tricks: Scott> https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/ Scott> Scott> -----Original Message----- Scott> From: John Stoffel <[email protected]> Scott> Sent: Thursday, September 3, 2020 3:43 PM Scott> To: Parisi, Justin <[email protected]> Scott> Cc: Scott Eno <[email protected]>; Toasters <[email protected]> Scott> Subject: RE: quick question Scott> NetApp Security WARNING: This is an external email. Do not click links or open attachments Scott> unless you recognize the sender and know the content is safe. >>>>>> "Justin" == Justin Parisi <[email protected]> writes: Scott> So why is this a diag only command? Does it take too much CPU to sort by specific fields? Scott> Seems like a fantastic thing to have in regular mode for sure. Justin> Just to prove it out: Justin> ::*> aggr show -aggregate * -fields usedsize,size,percent-used Justin> -sort-by percent-used Justin> Error: invalid argument "-sort-by" Justin> ::*> set diag Justin> Warning: These diagnostic commands are for use by NetApp personnel only. Justin> Do you want to continue? {y|n}: y Justin> ::*> aggr show -aggregate * -fields usedsize,size,percent-used Justin> -sort-by percent-used Justin> aggregate percent-used size usedsize Justin> ------------------------ ------------ ------- -------- Justin> Aggr1_SSD_2 34% 5.24TB 1.79TB Justin> Aggr1_SSD_1 38% 5.24TB 1.99TB Justin> Aggr2_SSD_2 42% 5.24TB 2.21TB Justin> Aggr2_SSD_1 44% 5.24TB 2.32TB Justin> From: Parisi, Justin Justin> Sent: Thursday, September 3, 2020 10:32 AM Justin> To: Scott Eno <[email protected]>; Toasters <[email protected]> Justin> Subject: RE: quick question Justin> Use diag priv. Justin> From: Scott Eno <[email protected]> Justin> Sent: Thursday, September 3, 2020 10:13 AM Justin> To: Toasters <[email protected]> Justin> Subject: quick question Justin> Just checking, does "-sort-by" still work? Justin> cluster::*> storage aggregate show -aggregate * -fields Justin> usedsize,size,percent-used -sort-by percent-used Justin> Error: invalid argument "-sort-by" Justin> _______________________________________________ Justin> Toasters mailing list Justin> [email protected] Justin> https://www.teaparty.net/mailman/listinfo/toasters