I am trying to check disks used for mirror in lvs. currently I am using "lslv -m ulv" command but to check for multiple lvs is difficult. I guess there should be some option in grep to exclude repetition of word, because if I will grep "disk" it will show a number of rows.
the command that you need is
I assume you do not need the first two column if the only thing you want to sort by is hdisk0