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.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
the command that you need is
Update:
I assume you do not need the first two column if the only thing you want to sort by is hdisk0 |
|||||||||
|