On Tue, Mar 21, 2017 at 10:07 AM, Ed Greshko <ed.greshko(a)greshko.com> wrote:
On 03/21/17 19:54, Tom H wrote:
> Maybe it would've been clearer if the outputs of lvm and
mdadm had
> been included, but it's clear that:
>
> - there are two mdadm raid1s of 1G and 34G,
>
> - /boot is the 1G raidvol,
>
> - /, /var, /home, and swap are LVs on the 34G raidvol.
OK, fair enough.
:)
You saw some of the output from lvm commands in another message.
Yes, thanks.
[root@2disk proc]# mdadm -Q /dev/sda1
/dev/sda1: is not an md array
/dev/sda1: device 0 in 2 device active raid1 /dev/md/boot. Use mdadm
--examine for more detail.
[root@2disk proc]# mdadm -Q /dev/sda2
/dev/sda2: is not an md array
/dev/sda2: device 0 in 2 device active raid1 /dev/md/pv00. Use mdadm
--examine for more detail.
[root@2disk proc]# mdadm -Q /dev/sdb1
/dev/sdb1: is not an md array
/dev/sdb1: device 1 in 2 device active raid1 /dev/md/boot. Use mdadm
--examine for more detail.
[root@2disk proc]# mdadm -Q /dev/sdb2
/dev/sdb2: is not an md array
/dev/sdb2: device 1 in 2 device active raid1 /dev/md/pv00. Use mdadm
--examine for more detail.
[root@2disk md]# mdadm -Q /dev/md/boot
/dev/md/boot: 953.44MiB raid1 2 devices, 0 spares. Use mdadm --detail
for more detail.
[root@2disk md]# mdadm -Q /dev/md/pv00
/dev/md/pv00: 31.05GiB raid1 2 devices, 0 spares. Use mdadm --detail for
more detail.
Thanks. I've been using mdadm for a long time and didn't know about
"-Q". I use "-D md_device" and "-E md_component"; and
sometimes mix
them up :)