Re[2]: Found duplicate PV: using /dev/sda3 not /dev/md1
From: Rainer Fügenstein <hidden>
Date: 2014-06-17 14:12:55
hi,
PT> It means that LVM is indeed using the scrambled array for those devices.
PT> Use "dmsetup ls" to identify them.
[root@gateway ~]# dmsetup ls
vg_gateway-lv_data (253, 2)
vg_gateway-lv_var (253, 1)
vg_gateway-lv_home (253, 0)
[root@gateway ~]#
those LVs are in use and on /dev/sda3 which LVM claims to use instead
of /dev/md1
PT> That also means my previous advice is wrong--you can't just shut it off.
PT> It would be helpful if you could run "lsdrv" [1] on your system and
PT> report the results here.
[root@gateway lsdrv-master]# ./lsdrv
Creating device for node 11:0 ...
Creating device for node 253:2 ...
Creating device for node 253:1 ...
Creating device for node 253:0 ...
Creating device for node 9:1 ...
Creating device for node 9:0 ...
Creating device for node 8:16 ...
Creating device for node 8:19 ...
Creating device for node 8:18 ...
Creating device for node 8:17 ...
Creating device for node 8:0 ...
Creating device for node 8:3 ...
Creating device for node 8:2 ...
Creating device for node 8:1 ...
Creating device for node 1:15 ...
Creating device for node 1:14 ...
Creating device for node 1:13 ...
Creating device for node 1:12 ...
Creating device for node 1:11 ...
Creating device for node 1:10 ...
Creating device for node 1:9 ...
Creating device for node 1:8 ...
Creating device for node 1:7 ...
Creating device for node 1:6 ...
Creating device for node 1:5 ...
Creating device for node 1:4 ...
Creating device for node 1:3 ...
Creating device for node 1:2 ...
Creating device for node 1:1 ...
Creating device for node 1:0 ...
**Warning** The following utility(ies) failed to execute:
sginfo
Some information may be missing.
PCI [sata_nv] 00:08.0 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
âscsi 0:0:0:0 ATA WDC WD10EFRX-68P {WD-WCC4JF2PUS6H}
ââsda 931.51g [8:0] Empty/Unknown
â âsda1 8.39g [8:1] MD raid1 (0/2) (w/ sdb1) in_sync {48eb05e3-21ad-decc-1633-11b2aa4e0d37}
â ââmd0 8.00g [9:0] MD v0.90 raid1 (2) clean {e305eb48:ccdead21:b2113316:370d4eaa}
â â â ext3 {c9da1652-6fb4-4d70-91ed-e5f8aacf00da}
â â âMounted as /dev/root @ /
â âsda2 1.87g [8:2] swap
â âsda3 921.25g [8:3] PV linux_raid_member 84.00G used, 604.64G free {efP9J0-elVh-1bok-dArX-cwsC-B0KW-0Yy9Ya}
â âVG vg_gateway 688.64G 604.64G free {3grrBQ-YewZ-561L-TjEZ-agCR-d4zc-euFzDt}
â âdm-2 60.00g [253:2] LV lv_data ext3 {7d168761-8de3-41ef-a037-a212bd4bec58}
â ââMounted as /dev/vg_gateway/lv_data @ /data
â âdm-0 12.00g [253:0] LV lv_home ext3 {19fa9433-1692-4a07-a2c9-2f6d68f01fe5}
â ââMounted as /dev/vg_gateway/lv_home @ /home
â âdm-1 12.00g [253:1] LV lv_var ext3 {a3a2776c-abd5-4c5f-bbe7-08a984a266c5}
â âMounted as /dev/vg_gateway/lv_var @ /var
âscsi 1:0:0:0 ATA WDC WD10EFRX-68P {WD-WCC4J8A6V0FW}
âsdb 931.51g [8:16] Empty/Unknown
âsdb1 8.39g [8:17] MD raid1 (1/2) (w/ sda1) in_sync {48eb05e3-21ad-decc-1633-11b2aa4e0d37}
ââmd0 8.00g [9:0] MD v0.90 raid1 (2) clean {e305eb48:ccdead21:b2113316:370d4eaa}
â ext3 {c9da1652-6fb4-4d70-91ed-e5f8aacf00da}
âsdb2 1.87g [8:18] swap
âsdb3 921.25g [8:19] MD raid1 (1/2) (w/ sda3) in_sync {558c277b-3d25-4206-7863-817f31e6d691}
âmd1 688.64g [9:1] MD v0.90 raid1 (2) clean {7b278c55:0642253d:7f816378:91d6e631}
â PV LVM2_member (inactive)
âdm-0 12.00g [253:0] LV lv_home ext3 {19fa9433-1692-4a07-a2c9-2f6d68f01fe5}
PCI [sata_nv] 00:08.1 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
âscsi 3:0:0:0 ATAPI iHAS124 B
âsr0 1.00g [11:0] Empty/Unknown
Other Block Devices
âram0 16.00m [1:0] Empty/Unknown
âram1 16.00m [1:1] Empty/Unknown
âram2 16.00m [1:2] Empty/Unknown
âram3 16.00m [1:3] Empty/Unknown
âram4 16.00m [1:4] Empty/Unknown
âram5 16.00m [1:5] Empty/Unknown
âram6 16.00m [1:6] Empty/Unknown
âram7 16.00m [1:7] Empty/Unknown
âram8 16.00m [1:8] Empty/Unknown
âram9 16.00m [1:9] Empty/Unknown
âram10 16.00m [1:10] Empty/Unknown
âram11 16.00m [1:11] Empty/Unknown
âram12 16.00m [1:12] Empty/Unknown
âram13 16.00m [1:13] Empty/Unknown
âram14 16.00m [1:14] Empty/Unknown
âram15 16.00m [1:15] Empty/Unknown
looks weird, obviously some charset problem, hope that all the needed
information is there anyway.
tnx & cu
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html