#disk show -aggregate .... only shows full disks?

1 messages · Page 1 of 1 (latest)

little sierra
#

Hi there. We have some aggregates which has multiple RG... and some are using full disks, others partitioned disks... example: rg1 = full disks, rg2 = partitioned...
We now want to show all disks one aggregate is using, so we run "disk show -aggregate ..." which only shows the disks which are full.. and not the partitioned...
Is there an option you can set? (we want to export this out to Excel so "set -showseparator" etc.... basically we need to "sort" the disks in the shelfs (why is another long explanation) 😉

obsidian maple
#

aggr show-status

#

or simply:
run -node * sysconfig -r

little sierra
#

Yeah but I would like it in CSV format... set -showseparator ";"...

#

...and "aggr show-status" has a limited number of "-fields" you can use... (for some unknown reason)...

#

I guess it's perl to the rescue once again 😉

zealous moat
#

You need punctuation
Disk show -container-name *aggrname*

#

Since the drives are partitioned they may have two aggregates on them and you’ll need to find all the disks including the partitioned ones