* missing arrays after OS upgrade
@ 2015-03-24 22:48 Daniel Sanabria
2015-03-25 0:03 ` Phil Turmel
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Sanabria @ 2015-03-24 22:48 UTC (permalink / raw)
To: linux-raid
Hi,
One of our servers went trough an OS upgrade (from fedora20 to
fedora21) and althou some of the arrays seem to be auto-detected one
of them seem to be missing.
I have some info related to the array in question:
115 /dev/md2:
116 Version : 0.90
117 Creation Time : Mon Feb 11 07:54:36 2013
118 Raid Level : raid5
119 Array Size : 511999872 (488.28 GiB 524.29 GB)
120 Used Dev Size : 255999936 (244.14 GiB 262.14 GB)
121 Raid Devices : 3
122 Total Devices : 3
123 Preferred Minor : 2
124 Persistence : Superblock is persistent
125
126 Update Time : Sun Mar 22 18:23:38 2015
127 State : clean
128 Active Devices : 3
129 Working Devices : 3
130 Failed Devices : 0
131 Spare Devices : 0
132
133 Layout : left-symmetric
134 Chunk Size : 64K
135
136 UUID : 2cff15d1:e411447b:fd5d4721:03e44022 (local to
host lamachine)
137 Events : 0.478
138
139 Number Major Minor RaidDevice State
140 0 8 3 0 active sync /dev/sda3
141 1 8 18 1 active sync /dev/sdb2
142 2 8 34 2 active sync /dev/sdc2
I haven't taken any actions to try to re-assemble the array and wanted
to check for ideas/suggestions here first.
Any advice you might regarding the steps to take to get the array up
and runnign again is higy appreciated.
Thanks in advance,
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: missing arrays after OS upgrade
2015-03-24 22:48 missing arrays after OS upgrade Daniel Sanabria
@ 2015-03-25 0:03 ` Phil Turmel
2015-03-25 11:49 ` Daniel Sanabria
0 siblings, 1 reply; 5+ messages in thread
From: Phil Turmel @ 2015-03-25 0:03 UTC (permalink / raw)
To: Daniel Sanabria, linux-raid
On 03/24/2015 06:48 PM, Daniel Sanabria wrote:
> Hi,
>
> One of our servers went trough an OS upgrade (from fedora20 to
> fedora21) and althou some of the arrays seem to be auto-detected one
> of them seem to be missing.
You may have had some device names reordered. Building a config that
relies on the names is common but unwise.
With such a thin report, there's not much to go on. Please run lsdrv
[1] and paste its output in a reply.
Then add the contents of /proc/mdstat, the relevant-looking parts of
dmesg, and your mdadm.conf file.
We may need more later, but this will permit intelligent follow-up
questions.
Phil
[1] https://github.com/pturmel/lsdrv
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: missing arrays after OS upgrade
2015-03-25 0:03 ` Phil Turmel
@ 2015-03-25 11:49 ` Daniel Sanabria
2015-03-25 12:15 ` Phil Turmel
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Sanabria @ 2015-03-25 11:49 UTC (permalink / raw)
To: Phil Turmel; +Cc: linux-raid
Thank you very much Phil,
Below the output of lsdrv followed by /proc/mdstat and mdadm.conf
(will clean up dmesg a bit before attaching it here):
Again, thanks for your input on this,
Daniel
PCI [ahci] 07:00.0 SATA controller: JMicron Technology Corp. JMB363
SATA/IDE Controller (rev 02)
├scsi 0:x:x:x [Empty]
└scsi 1:x:x:x [Empty]
PCI [ata_piix] 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10
Family) 4 port SATA IDE Controller #1
├scsi 2:0:0:0 ATA WDC WD5000AAKS-0 {WD-WMAWF0085724}
│└sda 465.76g [8:0] Partitioned (dos)
│ ├sda1 199.00m [8:1] ext4 {4e51f903-37ca-4479-9197-fac7b2280557}
│ │└Mounted as /dev/sda1 @ /boot
│ ├sda2 29.30g [8:2] MD raid10,near2 (0/2) (w/ sdc1) in_sync
{9af006ca-8845-bbd3-bfe7-8010bc810f04}
│ │└md126 29.30g [9:126] MD v0.90 raid10,near2 (2) clean, 64k Chunk
{9af006ca:8845bbd3:bfe78010:bc810f04}
│ │ │ PV LVM2_member 28.03g used, 1.26g free
{cE4ePh-RWO8-Wgdy-YPOY-ehyC-KI6u-io1cyH}
│ │ └VG vg_bigblackbox 29.29g 1.26g free
{VWfuwI-5v2q-w8qf-FEbc-BdGW-3mKX-pZd7hR}
│ │ ├dm-6 7.81g [253:6] LV LogVol_opt ext4
{b08d7f5e-f15f-4241-804e-edccecab6003}
│ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_opt @ /opt
│ │ ├dm-0 9.77g [253:0] LV LogVol_root ext4
{4dabd6b0-b1a3-464d-8ed7-0aab93fab6c3}
│ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_root @ /
│ │ ├dm-8 1.95g [253:8] LV LogVol_tmp ext4
{f6b46363-170b-4038-83bd-2c5f9f6a1973}
│ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_tmp @ /tmp
│ │ └dm-4 8.50g [253:4] LV LogVol_var ext4
{ab165c61-3d62-4c55-8639-6c2c2bf4b021}
│ │ └Mounted as /dev/mapper/vg_bigblackbox-LogVol_var @ /var
│ ├sda3 244.14g [8:3] MD raid5 (3) inactive
{2cff15d1-e411-447b-fd5d-472103e44022}
│ ├sda4 1.00k [8:4] Partitioned (dos)
│ ├sda5 30.00g [8:5] MD raid0 (0/3) (w/ sdb5,sdc5) in_sync
'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
│ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
│ │ │ PV LVM2_member 86.00g used, 3.99g free
{VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
│ │ └VG libvirt_lvm 89.99g 3.99g free {t8GQck-f2Eu-iD2V-fnJQ-kBm6-QyKw-dR31PB}
│ │ ├dm-9 8.00g [253:9] LV builder Partitioned (dos)
│ │ ├dm-10 8.00g [253:10] LV builder2 Partitioned (dos)
│ │ ├dm-11 8.00g [253:11] LV builder3 Partitioned (dos)
│ │ ├dm-13 8.00g [253:13] LV builder5.3 Partitioned (dos)
│ │ ├dm-12 8.00g [253:12] LV builder5.6 Partitioned (dos)
│ │ ├dm-5 8.00g [253:5] LV centos_updt Partitioned (dos)
│ │ ├dm-7 8.00g [253:7] LV cms Partitioned (dos)
│ │ └dm-2 30.00g [253:2] LV win7 Partitioned (dos)
│ └sda6 3.39g [8:6] Empty/Unknown
├scsi 2:0:1:0 ATA WDC WD5000AAKS-0 {WD-WCASY7694185}
│└sdb 465.76g [8:16] Partitioned (dos)
│ ├sdb2 244.14g [8:18] MD raid5 (3) inactive
{2cff15d1-e411-447b-fd5d-472103e44022}
│ ├sdb3 7.81g [8:19] swap {9194f492-881a-4fc3-ac09-ca4e1cc2985a}
│ ├sdb4 1.00k [8:20] Partitioned (dos)
│ ├sdb5 30.00g [8:21] MD raid0 (1/3) (w/ sda5,sdc5) in_sync
'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
│ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
│ │ PV LVM2_member 86.00g used, 3.99g free
{VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
│ └sdb6 3.39g [8:22] Empty/Unknown
├scsi 3:0:0:0 ATA WDC WD5000AAKS-0 {WD-WCASZ0505379}
│└sdc 465.76g [8:32] Partitioned (dos)
│ ├sdc1 29.30g [8:33] MD raid10,near2 (1/2) (w/ sda2) in_sync
{9af006ca-8845-bbd3-bfe7-8010bc810f04}
│ │└md126 29.30g [9:126] MD v0.90 raid10,near2 (2) clean, 64k Chunk
{9af006ca:8845bbd3:bfe78010:bc810f04}
│ │ PV LVM2_member 28.03g used, 1.26g free
{cE4ePh-RWO8-Wgdy-YPOY-ehyC-KI6u-io1cyH}
│ ├sdc2 244.14g [8:34] MD raid5 (3) inactive
{2cff15d1-e411-447b-fd5d-472103e44022}
│ ├sdc3 1.00k [8:35] Partitioned (dos)
│ ├sdc5 30.00g [8:37] MD raid0 (2/3) (w/ sda5,sdb5) in_sync
'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
│ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
│ │ PV LVM2_member 86.00g used, 3.99g free
{VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
│ └sdc6 3.39g [8:38] Empty/Unknown
└scsi 3:0:1:0 ATA WDC WD30EZRX-00D {WD-WCC4N1294906}
└sdd 2.73t [8:48] Partitioned (gpt)
├sdd1 2.00t [8:49] MD raid5 (0/3) (w/ sde1,sdf1) in_sync
'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
│└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk
{f2372cb9:d3816fd6:ce86d826:882ec82e}
│ │ PV LVM2_member 3.50t used, 511.75g free
{NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
│ └VG vg_media 4.00t 511.75g free {cPGpZK-OdZ6-sW71-8Rtf-x23f-BgEU-WGEmid}
│ └dm-1 3.50t [253:1] LV lv_media ext4 {ef90c386-76e6-4843-a427-88412948d49f}
└sdd2 500.00g [8:50] MD raid0 (0/3) (w/ sde2,sdf2) in_sync
'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
└md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
│ PV LVM2_member 512.00g used, 987.62g free
{70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
└VG vg_virt_dir 1.46t 987.62g free {SQXqhD-j5dR-Xsdh-NBoR-YMqk-YwfF-hyf9ur}
└dm-3 512.00g [253:3] LV lv_virt_dir1 ext4
{1929e452-ae83-4766-bf0e-8575a7d1a3c8}
PCI [ata_piix] 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10
Family) 2 port SATA IDE Controller #2
├scsi 4:0:0:0 ATA WDC WD30EZRX-00D {WD-WCC4NCWT13RF}
│└sde 2.73t [8:64] Partitioned (gpt)
│ ├sde1 2.00t [8:65] MD raid5 (1/3) (w/ sdd1,sdf1) in_sync
'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
│ │└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk
{f2372cb9:d3816fd6:ce86d826:882ec82e}
│ │ PV LVM2_member 3.50t used, 511.75g free
{NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
│ └sde2 500.00g [8:66] MD raid0 (1/3) (w/ sdd2,sdf2) in_sync
'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
│ └md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
│ PV LVM2_member 512.00g used, 987.62g free
{70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
└scsi 5:0:0:0 ATA WDC WD30EZRX-00D {WD-WCC4NPRDD6D7}
└sdf 2.73t [8:80] Partitioned (gpt)
├sdf1 2.00t [8:81] MD raid5 (2/3) (w/ sdd1,sde1) in_sync
'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
│└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk
{f2372cb9:d3816fd6:ce86d826:882ec82e}
│ PV LVM2_member 3.50t used, 511.75g free
{NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
└sdf2 500.00g [8:82] MD raid0 (2/3) (w/ sdd2,sde2) in_sync
'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
└md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None
(None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
PV LVM2_member 512.00g used, 987.62g free
{70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
PCI [pata_jmicron] 07:00.1 IDE interface: JMicron Technology Corp.
JMB363 SATA/IDE Controller (rev 02)
├scsi 6:x:x:x [Empty]
└scsi 7:x:x:x [Empty]
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid10] [raid0] [raid6] [raid5] [raid4]
md124 : active raid0 sda5[0] sdb5[1] sdc5[2]
94367232 blocks super 1.2 512k chunks
md125 : active raid0 sdf2[2] sdd2[0] sde2[1]
1572470784 blocks super 1.2 512k chunks
md127 : active (auto-read-only) raid5 sdf1[3] sde1[1] sdd1[0]
4294705152 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 0/16 pages [0KB], 65536KB chunk
md126 : active raid10 sda2[0] sdc1[1]
30719936 blocks 2 near-copies [2/2] [UU]
unused devices: <none>
[root@localhost ~]# cat /etc/mdadm.conf
# mdadm.conf written out by anaconda
MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md/126 level=raid10 num-devices=2
UUID=9af006ca:8845bbd3:bfe78010:bc810f04
On 25 March 2015 at 00:03, Phil Turmel <philip@turmel.org> wrote:
> On 03/24/2015 06:48 PM, Daniel Sanabria wrote:
>> Hi,
>>
>> One of our servers went trough an OS upgrade (from fedora20 to
>> fedora21) and althou some of the arrays seem to be auto-detected one
>> of them seem to be missing.
>
> You may have had some device names reordered. Building a config that
> relies on the names is common but unwise.
>
> With such a thin report, there's not much to go on. Please run lsdrv
> [1] and paste its output in a reply.
>
> Then add the contents of /proc/mdstat, the relevant-looking parts of
> dmesg, and your mdadm.conf file.
>
> We may need more later, but this will permit intelligent follow-up
> questions.
>
> Phil
>
> [1] https://github.com/pturmel/lsdrv
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: missing arrays after OS upgrade
2015-03-25 11:49 ` Daniel Sanabria
@ 2015-03-25 12:15 ` Phil Turmel
2015-03-27 9:40 ` Daniel Sanabria
0 siblings, 1 reply; 5+ messages in thread
From: Phil Turmel @ 2015-03-25 12:15 UTC (permalink / raw)
To: Daniel Sanabria; +Cc: linux-raid
Hi Daniel,
{Convention on kernel.org is to trim quotes, then interleave replies or
bottom-post.}
On 03/25/2015 07:49 AM, Daniel Sanabria wrote:
> Thank you very much Phil,
>
> Below the output of lsdrv followed by /proc/mdstat and mdadm.conf
> (will clean up dmesg a bit before attaching it here):
When you do, turn off line wrap. I forgot to suggest that.
> PCI [ahci] 07:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
> ├scsi 0:x:x:x [Empty]
> └scsi 1:x:x:x [Empty]
> PCI [ata_piix] 00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
> ├scsi 2:0:0:0 ATA WDC WD5000AAKS-0 {WD-WMAWF0085724}
> │└sda 465.76g [8:0] Partitioned (dos)
> │ ├sda1 199.00m [8:1] ext4 {4e51f903-37ca-4479-9197-fac7b2280557}
> │ │└Mounted as /dev/sda1 @ /boot
> │ ├sda2 29.30g [8:2] MD raid10,near2 (0/2) (w/ sdc1) in_sync {9af006ca-8845-bbd3-bfe7-8010bc810f04}
> │ │└md126 29.30g [9:126] MD v0.90 raid10,near2 (2) clean, 64k Chunk {9af006ca:8845bbd3:bfe78010:bc810f04}
> │ │ │ PV LVM2_member 28.03g used, 1.26g free {cE4ePh-RWO8-Wgdy-YPOY-ehyC-KI6u-io1cyH}
> │ │ └VG vg_bigblackbox 29.29g 1.26g free {VWfuwI-5v2q-w8qf-FEbc-BdGW-3mKX-pZd7hR}
> │ │ ├dm-6 7.81g [253:6] LV LogVol_opt ext4 {b08d7f5e-f15f-4241-804e-edccecab6003}
> │ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_opt @ /opt
> │ │ ├dm-0 9.77g [253:0] LV LogVol_root ext4 {4dabd6b0-b1a3-464d-8ed7-0aab93fab6c3}
> │ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_root @ /
> │ │ ├dm-8 1.95g [253:8] LV LogVol_tmp ext4 {f6b46363-170b-4038-83bd-2c5f9f6a1973}
> │ │ │└Mounted as /dev/mapper/vg_bigblackbox-LogVol_tmp @ /tmp
> │ │ └dm-4 8.50g [253:4] LV LogVol_var ext4 {ab165c61-3d62-4c55-8639-6c2c2bf4b021}
> │ │ └Mounted as /dev/mapper/vg_bigblackbox-LogVol_var @ /var
> │ ├sda3 244.14g [8:3] MD raid5 (3) inactive {2cff15d1-e411-447b-fd5d-472103e44022}
> │ ├sda4 1.00k [8:4] Partitioned (dos)
> │ ├sda5 30.00g [8:5] MD raid0 (0/3) (w/ sdb5,sdc5) in_sync 'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
> │ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
> │ │ │ PV LVM2_member 86.00g used, 3.99g free {VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
> │ │ └VG libvirt_lvm 89.99g 3.99g free {t8GQck-f2Eu-iD2V-fnJQ-kBm6-QyKw-dR31PB}
> │ │ ├dm-9 8.00g [253:9] LV builder Partitioned (dos)
> │ │ ├dm-10 8.00g [253:10] LV builder2 Partitioned (dos)
> │ │ ├dm-11 8.00g [253:11] LV builder3 Partitioned (dos)
> │ │ ├dm-13 8.00g [253:13] LV builder5.3 Partitioned (dos)
> │ │ ├dm-12 8.00g [253:12] LV builder5.6 Partitioned (dos)
> │ │ ├dm-5 8.00g [253:5] LV centos_updt Partitioned (dos)
> │ │ ├dm-7 8.00g [253:7] LV cms Partitioned (dos)
> │ │ └dm-2 30.00g [253:2] LV win7 Partitioned (dos)
> │ └sda6 3.39g [8:6] Empty/Unknown
> ├scsi 2:0:1:0 ATA WDC WD5000AAKS-0 {WD-WCASY7694185}
> │└sdb 465.76g [8:16] Partitioned (dos)
> │ ├sdb2 244.14g [8:18] MD raid5 (3) inactive {2cff15d1-e411-447b-fd5d-472103e44022}
> │ ├sdb3 7.81g [8:19] swap {9194f492-881a-4fc3-ac09-ca4e1cc2985a}
> │ ├sdb4 1.00k [8:20] Partitioned (dos)
> │ ├sdb5 30.00g [8:21] MD raid0 (1/3) (w/ sda5,sdc5) in_sync 'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
> │ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
> │ │ PV LVM2_member 86.00g used, 3.99g free {VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
> │ └sdb6 3.39g [8:22] Empty/Unknown
> ├scsi 3:0:0:0 ATA WDC WD5000AAKS-0 {WD-WCASZ0505379}
> │└sdc 465.76g [8:32] Partitioned (dos)
> │ ├sdc1 29.30g [8:33] MD raid10,near2 (1/2) (w/ sda2) in_sync {9af006ca-8845-bbd3-bfe7-8010bc810f04}
> │ │└md126 29.30g [9:126] MD v0.90 raid10,near2 (2) clean, 64k Chunk {9af006ca:8845bbd3:bfe78010:bc810f04}
> │ │ PV LVM2_member 28.03g used, 1.26g free {cE4ePh-RWO8-Wgdy-YPOY-ehyC-KI6u-io1cyH}
> │ ├sdc2 244.14g [8:34] MD raid5 (3) inactive {2cff15d1-e411-447b-fd5d-472103e44022}
> │ ├sdc3 1.00k [8:35] Partitioned (dos)
> │ ├sdc5 30.00g [8:37] MD raid0 (2/3) (w/ sda5,sdb5) in_sync 'reading.homeunix.com:3' {acd5374f-7262-8c93-6a90-6c4b5f675ce5}
> │ │└md124 90.00g [9:124] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {acd5374f:72628c93:6a906c4b:5f675ce5}
> │ │ PV LVM2_member 86.00g used, 3.99g free {VmsWRd-8qHt-bauf-lvAn-FC97-KyH5-gk89ox}
> │ └sdc6 3.39g [8:38] Empty/Unknown
> └scsi 3:0:1:0 ATA WDC WD30EZRX-00D {WD-WCC4N1294906}
> └sdd 2.73t [8:48] Partitioned (gpt)
> ├sdd1 2.00t [8:49] MD raid5 (0/3) (w/ sde1,sdf1) in_sync 'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
> │└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk {f2372cb9:d3816fd6:ce86d826:882ec82e}
> │ │ PV LVM2_member 3.50t used, 511.75g free {NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
> │ └VG vg_media 4.00t 511.75g free {cPGpZK-OdZ6-sW71-8Rtf-x23f-BgEU-WGEmid}
> │ └dm-1 3.50t [253:1] LV lv_media ext4 {ef90c386-76e6-4843-a427-88412948d49f}
> └sdd2 500.00g [8:50] MD raid0 (0/3) (w/ sde2,sdf2) in_sync 'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
> └md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
> │ PV LVM2_member 512.00g used, 987.62g free {70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
> └VG vg_virt_dir 1.46t 987.62g free {SQXqhD-j5dR-Xsdh-NBoR-YMqk-YwfF-hyf9ur}
> └dm-3 512.00g [253:3] LV lv_virt_dir1 ext4 {1929e452-ae83-4766-bf0e-8575a7d1a3c8}
> PCI [ata_piix] 00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
> ├scsi 4:0:0:0 ATA WDC WD30EZRX-00D {WD-WCC4NCWT13RF}
> │└sde 2.73t [8:64] Partitioned (gpt)
> │ ├sde1 2.00t [8:65] MD raid5 (1/3) (w/ sdd1,sdf1) in_sync 'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
> │ │└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk {f2372cb9:d3816fd6:ce86d826:882ec82e}
> │ │ PV LVM2_member 3.50t used, 511.75g free {NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
> │ └sde2 500.00g [8:66] MD raid0 (1/3) (w/ sdd2,sdf2) in_sync 'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
> │ └md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
> │ PV LVM2_member 512.00g used, 987.62g free {70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
> └scsi 5:0:0:0 ATA WDC WD30EZRX-00D {WD-WCC4NPRDD6D7}
> └sdf 2.73t [8:80] Partitioned (gpt)
> ├sdf1 2.00t [8:81] MD raid5 (2/3) (w/ sdd1,sde1) in_sync 'lamachine:128' {f2372cb9-d381-6fd6-ce86-d826882ec82e}
> │└md127 4.00t [9:127] MD v1.2 raid5 (3) read-auto, 512k Chunk {f2372cb9:d3816fd6:ce86d826:882ec82e}
> │ PV LVM2_member 3.50t used, 511.75g free {NrF3vV-nS1f-wtjY-SfZk-xwUE-YbSB-TWWdLu}
> └sdf2 500.00g [8:82] MD raid0 (2/3) (w/ sdd2,sde2) in_sync 'lamachine:129' {895dae98-d1a4-96de-4f59-0b8bcb8ac12a}
> └md125 1.46t [9:125] MD v1.2 raid0 (3) clean, 512k Chunk, None (None) None {895dae98:d1a496de:4f590b8b:cb8ac12a}
> PV LVM2_member 512.00g used, 987.62g free {70aHF7-aTfj-X2y6-qYXF-szQu-QBFW-q4UlfG}
> PCI [pata_jmicron] 07:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
> ├scsi 6:x:x:x [Empty]
> └scsi 7:x:x:x [Empty]
>
> [root@localhost ~]# cat /proc/mdstat
> Personalities : [raid10] [raid0] [raid6] [raid5] [raid4]
> md124 : active raid0 sda5[0] sdb5[1] sdc5[2]
> 94367232 blocks super 1.2 512k chunks
>
> md125 : active raid0 sdf2[2] sdd2[0] sde2[1]
> 1572470784 blocks super 1.2 512k chunks
>
> md127 : active (auto-read-only) raid5 sdf1[3] sde1[1] sdd1[0]
> 4294705152 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
> bitmap: 0/16 pages [0KB], 65536KB chunk
>
> md126 : active raid10 sda2[0] sdc1[1]
> 30719936 blocks 2 near-copies [2/2] [UU]
>
> unused devices: <none>
> [root@localhost ~]# cat /etc/mdadm.conf
> # mdadm.conf written out by anaconda
> MAILADDR root
> AUTO +imsm +1.x -all
> ARRAY /dev/md/126 level=raid10 num-devices=2 UUID=9af006ca:8845bbd3:bfe78010:bc810f04
Ok. Your array didn't assemble because mdadm.conf said not to. The
AUTO clause is excluding unidentified v0.90 metadata. The UUID
....:bc810f04 was called out explicitly, so it assembled.
You should be safe to just assemble the array normally:
mdadm -A /dev/md2 /dev/sd{a3,b2,c2}
Then you need to create a new mdadm.conf. I suggest you use "AUTO -all"
and explicitly list all of your arrays. You only need the device name
and the UUID on each ARRAY line. You can run "mdadm -Es
>>..../mdadm.conf" to add live arrays to the file, then trim out the
unnecessary details.
When mdadm.conf has your arrays, with the names you want them to keep,
update your initramfs. (Command varies by distro.)
Phil
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: missing arrays after OS upgrade
2015-03-25 12:15 ` Phil Turmel
@ 2015-03-27 9:40 ` Daniel Sanabria
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Sanabria @ 2015-03-27 9:40 UTC (permalink / raw)
To: Phil Turmel; +Cc: linux-raid
Thanks Phil,
The array is now up and running following your advice.
Thanks again,
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-27 9:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-24 22:48 missing arrays after OS upgrade Daniel Sanabria
2015-03-25 0:03 ` Phil Turmel
2015-03-25 11:49 ` Daniel Sanabria
2015-03-25 12:15 ` Phil Turmel
2015-03-27 9:40 ` Daniel Sanabria
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.