Multiple choice technology operating systems

Which command can be used to verify that all logical volumes in volume group datavg are mirrored?

  1. lsvg -l datavg

  2. lslv -m datavg

  3. lslv -p datavg

  4. lsvg -p datavg

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The lsvg -l command lists all logical volumes in a volume group and shows the number of copies for each LV (displayed as 'PVs'). The 'PVs' column indicates mirroring - 1 means no mirror, 2 means two copies (one mirror), 3 means three copies (two mirrors). This gives a complete view of mirroring status for all LVs in one command.