Changed the SATA ports of two disks in RAID10 and raid disappeared

Changed the SATA ports of two disks in RAID10 and raid disappeared

am 19.09.2011 15:32:08 von Piotr Legiecki

Hi

I have RAID10 with 4 disks. Two of them are connected to 3ware PCIe 4
ports SATA controler and the other two on the motherboard SATA ports. I
wanted to reconnect those two disks connected to motherboard to 3ware card.

So I have turned of the computer, changed the ports, started the
computer and... something went wrong. The system (is located on other
set of disks) started to boot but stopped at some point with
(initramfs) prompt.

So i have changed back the cables to their original position booted once
again and the system booted ok, but that RAID10 raid is no longer visible.
cat /proc/mdstat shows no sing of md4 (that is my RAID10).

> bez:~# mdadm --examine /dev/sde1
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> /dev/sde1:
> Magic : a92b4efc
> Version : 00.90.00
> UUID : 68ba9941:99b06d2b:a6d85817:73d86525
> Creation Time : Mon Aug 22 14:08:36 2011
> Raid Level : raid10
> Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
> Array Size : 1953519872 (1863.02 GiB 2000.40 GB)
> Raid Devices : 4
> Total Devices : 4
> Preferred Minor : 4
>
> Update Time : Mon Sep 19 14:41:24 2011
> State : clean
> Active Devices : 4
> Working Devices : 4
> Failed Devices : 0
> Spare Devices : 0
> Checksum : 9d49c129 - correct
> Events : 10
>
> Layout : near=2, far=1
> Chunk Size : 64K
>
> Number Major Minor RaidDevice State
> this 2 8 65 2 active sync /dev/sde1
>
> 0 0 8 1 0 active sync /dev/sda1
> 1 1 8 17 1 active sync /dev/sdb1
> 2 2 8 65 2 active sync /dev/sde1
> 3 3 8 81 3 active sync /dev/sdf1

Well, it looks OK. So why there is no md4?

> bez:~# mdadm --detail --scan
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> mdadm: metadata format 00.90 unknown, ignored.
> ARRAY /dev/md1 level=raid1 num-devices=2 metadata=00.90 UUID=8217ec09:15447b4d:65b570e2:d0c384e4
> ARRAY /dev/md0 level=raid1 num-devices=2 metadata=00.90 UUID=6cc5fe40:770f86cb:65b570e2:d0c384e4
> ARRAY /dev/md2 level=raid1 num-devices=2 metadata=00.90 UUID=925a0a99:c6f209cb:f9cbbe93:e229c843
> ARRAY /dev/md3 level=raid1 num-devices=2 metadata=00.90 UUID=f2108b92:c3e6b4ae:f9cbbe93:e229c843

So two questions are important now.
1. How to run this array (safely) again on old ports
2. How to change the ports to new ones? In a proper way.

The other thing bothers me o bit. Why there is
mdadm: metadata format 00.90 unknown, ignored. warnig? AFAIR it was
almost from the beggining of my md arrays on this computer.

> bez:~# uname -a
> Linux bez 2.6.26-2-686-bigmem #1 SMP Thu Nov 25 01:59:22 UTC 2010 i686 GNU/Linux

Regards
Piotr
--
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

Re: Changed the SATA ports of two disks in RAID10 and raid disappeared

am 22.09.2011 08:14:48 von Piotr Legiecki

Piotr Legiecki pisze:
> Hi
>
> I have RAID10 with 4 disks. Two of them are connected to 3ware PCIe 4
> ports SATA controler and the other two on the motherboard SATA ports. I
> wanted to reconnect those two disks connected to motherboard to 3ware card.
>
....

>
> So two questions are important now.
> 1. How to run this array (safely) again on old ports

Well, that was easy, I have just assembled the array again.

> 2. How to change the ports to new ones? In a proper way.

Hm, no answer here... still I don't want to repeat my errors.

>
> The other thing bothers me o bit. Why there is
> mdadm: metadata format 00.90 unknown, ignored. warnig? AFAIR it was
> almost from the beggining of my md arrays on this computer.

Solution?

P.
--
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

Re: Changed the SATA ports of two disks in RAID10 and raiddisappeared

am 22.09.2011 08:40:06 von NeilBrown

--Sig_/HObfh=jJ/XJ/_8tctnJy_mq
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 22 Sep 2011 08:14:48 +0200 Piotr Legiecki wrot=
e:

> Piotr Legiecki pisze:
> > Hi
> >=20
> > I have RAID10 with 4 disks. Two of them are connected to 3ware PCIe 4=20
> > ports SATA controler and the other two on the motherboard SATA ports. I=
=20
> > wanted to reconnect those two disks connected to motherboard to 3ware c=
ard.
> >=20
> ...
>=20
> >=20
> > So two questions are important now.
> > 1. How to run this array (safely) again on old ports
>=20
> Well, that was easy, I have just assembled the array again.
>=20
> > 2. How to change the ports to new ones? In a proper way.
>=20
> Hm, no answer here... still I don't want to repeat my errors.

Find out why the new ports make the devices look slightly smaller and
un-break them.


>=20
> >=20
> > The other thing bothers me o bit. Why there is
> > mdadm: metadata format 00.90 unknown, ignored. warnig? AFAIR it was=20
> > almost from the beggining of my md arrays on this computer.
>=20
> Solution?

Somewhere in /etc/mdadm.conf you have "00.90" where you really want "0.90".
More recent versions of mdadm are more forgiving.

NeilBrown


>=20
> P.
> --
> 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


--Sig_/HObfh=jJ/XJ/_8tctnJy_mq
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iD8DBQFOethGG5fc6gV+Wb0RAlnQAKDXb4HlQwkvT86BZ76sgxZfRH3GfACg 0gVV
laY06+9qBmvKZYSekSeU2/M=
=8sRk
-----END PGP SIGNATURE-----

--Sig_/HObfh=jJ/XJ/_8tctnJy_mq--
--
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

Re: Changed the SATA ports of two disks in RAID10 and raid disappeared

am 22.09.2011 15:35:40 von Piotr Legiecki

NeilBrown pisze:

>>> 2. How to change the ports to new ones? In a proper way.
>> Hm, no answer here... still I don't want to repeat my errors.
>
> Find out why the new ports make the devices look slightly smaller and
> un-break them.

Uh, how could I know that?
One pair (Westerndigital) is already connected to the Adaptec card, and
the second pair (seagate) to the motherboard. So what could be done to
make Adaptec friendly to my Seagate pair of disks connected to it?

>>> The other thing bothers me o bit. Why there is
>>> mdadm: metadata format 00.90 unknown, ignored. warnig? AFAIR it was
>>> almost from the beggining of my md arrays on this computer.
>> Solution?
>
> Somewhere in /etc/mdadm.conf you have "00.90" where you really want
"0.90".
> More recent versions of mdadm are more forgiving.

Done. Working.

Thanx


P.
--
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