4

How can I check the LVM mirroring under Linux? E.g.: are there any mirrors on a given machine & some details about them, etc.

3
lvs | fgrep "mwi"

"m" means: mirrored

  • and with this I could be 100% sure that it's not mirrored in any way (on the server)? – LanceBaynes Dec 27 '11 at 7:07
1

The commands pvdisplay, vgdisplay and lvdisplay will show you the configured physical volumes, volume groups and logical volumes respectively of the LVM subsystem on a machine. mdadm will give you information about the configured raid subsystem.

0

You can use this too:

cat /proc/mdstat
Personalities :
unused devices: <none>

It means you don't have mirror or any RAID configuration in your system.

  • 1
    How does software RAID relate to LVM? – thrig Mar 16 '17 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.