metastat -c: perl question to add up sizes
Dont know if this is the right place to be asking this question, but I am trying to find a way to add up the total metadevices from the command metastat -c.
I thought there may be a script out there, but I spent a few days googling and found nothing.
I have about 37 metadevices on a RAID1E disk, and I am trying to figure out when I get to my limit of available space. I have had to add the sizes up by calculator.
Unless I am missing some cool command.
Perl or ksh would work.
I have about 37 metadevices on a RAID1E disk, and I am trying to figure out when I get to my limit of available space. I have had to add the sizes up by calculator.
Unless I am missing some cool command.
Perl or ksh would work.
0