reaid problem at reboot
am 21.06.2011 15:14:34 von wil_c_will
Hi,
before we start, please note that im not a pro at mdadm or lvm, and don=
t now the full terminology neither the full how it works.
1 week ago, 1 of my raid6 went wrong. it didnt have any superblock anym=
ore. I know all the drives that belongs to that raid but=20
i=A0
dont know the right order of the drives. I tried a python script with=20
assemble and permutation all combination possible. it then checks
the
header and do a e2fsck -n to check errors. Everytime i run the script =
i
get several and different results on each run. Some say that
the=20
order of the drives doesnt matter, i agree but withotuh superblock its=20
another story. I got another raid6 which is fine and on top of those=20
2
raid6, there is a lvm. if you have any question or output you want to=20
see, please tell me and i will provide further informations as soon as =
i
can
if you dont understand me, i apologize, im trying to be better at engli=
sh everyday.
Thanks
William
sudo cat /dev/.mdadm/map
md0 1.2 85c93553:f5707fc9:b777b1e6:a0427190 /dev/md0
md1 1.2 32d61f75:647daf4b:c1ee26ec:bc926504 /dev/md1
=A0 cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [r=
aid4] [raid10]
md0 : active raid6 sdd1[5] sda1[4] sdi1[3] sdh1[2] sdj1[1] sdc1[0]
=A0 7809854976 blocks super 1.2 level 6, 128k chunk, algori=
thm 2 [6/6] [UUUUUU]
md1 : active raid6 sdk1[0] sdg1[7] sde1[6] sdf1[5] sdm1[8] sdb1[1]
=A0 7809855488 blocks super 1.2 level 6, 128k chunk, algori=
thm 2 [6/6] [UUUUUU]
=A0 bitmap: 0/15 pages [0KB], 65536KB chunk
=A0 mount -r /mnt/data0
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vgRAID6=
0-data0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail=A0 or so
cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks=
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=3Droot group=3Ddisk mode=3D0660 auto=3Dyes
# automatically tag new arrays as belonging to the local system
HOMEHOST
# instruct the monitoring daemon where to send mail alerts
MAILADDR jeromepoulin@gmail.com
# definitions of existing MD arrays
#ARRAY /dev/md/0 metadata=3D1.2 UUID=3Dd2349636:b4a0cb67:2af3246a:c7d72=
c9c name=3DBILLSSHACK:0
ARRAY /dev/md1 UUID=3Db52df561:301f043c:b5a7b1ab:9d934878
spares=3D1
#ARRAY /dev/md/3 metadata=3D1.2 UUID=3D751fd632:4baf7d64:ec26eec1:04659=
2bc name=3Dbillsshack:3
#ARRAY /dev/md/2 metadata=3D1.2 UUID=3Dcf2450e4:bc7a9cea:cb5ccda9:6f3ec=
87c name=3Dbillsshack:2
# This file was auto-generated on Wed, 15 Jun 2011 08:57:49 -0400
# by mkconf $Id$
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: reaid problem at reboot
am 21.06.2011 22:18:18 von Phil Turmel
Hi William,
On 06/21/2011 09:14 AM, william L'Heureux wrote:
> Hi,
>
> before we start, please note that im not a pro at mdadm or lvm, and dont now the full terminology neither the full how it works.
That's OK. We'll help as we can.
> 1 week ago, 1 of my raid6 went wrong. it didnt have any superblock anymore. I know all the drives that belongs to that raid but
> i
> dont know the right order of the drives. I tried a python script with
> assemble and permutation all combination possible. it then checks
> the
> header and do a e2fsck -n to check errors. Everytime i run the script i
> get several and different results on each run. Some say that
> the
> order of the drives doesnt matter, i agree but withotuh superblock its
> another story. I got another raid6 which is fine and on top of those
> 2
> raid6, there is a lvm. if you have any question or output you want to
> see, please tell me and i will provide further informations as soon as i
> can
> if you dont understand me, i apologize, im trying to be better at english everyday.
First, an overview of what working: Please show the output of "lsdrv".
http://github.com/pturmel/lsdrv
Then, some more detail: Please show "mdadm --detail /dev/md0 /dev/md1" and "mdadm --examine /dev/sd[abcdefghijkm]1"
Finally, please show "cat /etc/lvm/backup/*"
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
RE: reaid problem at reboot
am 21.06.2011 22:39:09 von wil_c_will
> Date: Tue, 21 Jun 2011 16:18:18 -0400
> From: philip@turmel.org
> To: wil_c_will@hotmail.com
> CC: linux-raid@vger.kernel.org
> Subject: Re: reaid problem at reboot
>=20
> Hi William,
>=20
> On 06/21/2011 09:14 AM, william L'Heureux wrote:
> > Hi,
> >=20
> > before we start, please note that im not a pro at mdadm or lvm, and=
dont now the full terminology neither the full how it works.
>=20
> That's OK. We'll help as we can.
>=20
> > 1 week ago, 1 of my raid6 went wrong. it didnt have any superblock =
anymore. I know all the drives that belongs to that raid but=20
> > i=20
> > dont know the right order of the drives. I tried a python script w=
ith=20
> > assemble and permutation all combination possible. it then checks
> > the
> > header and do a e2fsck -n to check errors. Everytime i run the scr=
ipt i
> > get several and different results on each run. Some say that
> > the=20
> > order of the drives doesnt matter, i agree but withotuh superblock =
its=20
> > another story. I got another raid6 which is fine and on top of thos=
e=20
> > 2
> > raid6, there is a lvm. if you have any question or output you want=
to=20
> > see, please tell me and i will provide further informations as soon=
as i
> > can
> > if you dont understand me, i apologize, im trying to be better at e=
nglish everyday.
>=20
> First, an overview of what working: Please show the output of "lsdrv=
".
>=20
> http://github.com/pturmel/lsdrv
>=20
> Then, some more detail: Please show "mdadm --detail /dev/md0 /dev/md=
1" and "mdadm --examine /dev/sd[abcdefghijkm]1"
>=20
> Finally, please show "cat /etc/lvm/backup/*"
>=20
> 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
sorry about lsdvr but im getting an error:=20
=A0./lsdrv
=A0 File "./lsdrv", line 26
=A0 def __init__(self, **entries):
=A0 ^
IndentationError: expected an indented block
=A0mdadm --detail /dev/md0 /dev/md1
/dev/md0:
=A0 Version : 1.2
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Array Size : 7809854976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 1952463744 (1862.01 GiB 1999.32 GB)
Raid Devices : 6
=A0 Total Devices : 6
=A0 Persistence : Superblock is persistent
=A0 Update Time : Tue Jun 21 11:23:46 2011
=A0 State : clean
=A0Active Devices : 6
Working Devices : 6
=A0Failed Devices : 0
=A0 Spare Devices : 0
Layout : left-symmetric
Chunk Size : 128K
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
UUID : 3bcf45ef:da3ede81:09a8d663:5b5883=
2d
Events : 0
=A0 Number Major Minor RaidDevice State
0 8 =A0 1 =A0=
0 =A0 active sync /dev/sda1
1 8 33 =
=A0 1 =A0 active sync /dev/sdc1
2 8 49 =
=A0 2 =A0 active sync /dev/sdd1
3 8 =A0 113 =
=A0 3 =A0 active sync /dev/sdh1
4 8 =A0 129 =
=A0 4 =A0 active sync /dev/sdi1
5 8 =A0 145 =
=A0 5 =A0 active sync /dev/sdj1
/dev/md1:
=A0 Version : 1.2
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Array Size : 7809855488 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 1952463872 (1862.01 GiB 1999.32 GB)
Raid Devices : 6
=A0 Total Devices : 6
=A0 Persistence : Superblock is persistent
=A0 Intent Bitmap : Internal
=A0 Update Time : Tue Jun 14 20:58:11 2011
=A0 State : active
=A0Active Devices : 6
Working Devices : 6
=A0Failed Devices : 0
=A0 Spare Devices : 0
Layout : left-symmetric
Chunk Size : 128K
Name : billsshack:3
UUID : 751fd632:4baf7d64:ec26eec1:046592=
bc
Events : 235082
=A0 Number Major Minor RaidDevice State
0 8 =A0 161 =
=A0 0 =A0 active sync /dev/sdk1
1 8 17 =
=A0 1 =A0 active sync /dev/sdb1
8 8 =A0 193 =
=A0 2 =A0 active sync /dev/sdm1
5 8 81 =
=A0 3 =A0 active sync /dev/sdf1
6 8 65 =
=A0 4 =A0 active sync /dev/sde1
7 8 97 =
=A0 5 =A0 active sync /dev/sdg1
mdadm --examine /dev/sd[abcdefghijkm]1
/dev/sda1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : b6569293:759c2fbe:d52f346f:2ea85306
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 9d90c200 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 0
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdb1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 0b6a5d24:bff1c401:259c054b:ca7ccc7f
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : bed09424 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 1
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdc1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 298ee23a:4968978c:0557d189:1c45ff55
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 7d918966 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 1
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdd1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 2b8ef61c:d3d59200:659d4367:573a992d
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 88ad328d - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 2
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sde1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 1de7b73d:73ff1f80:c0903159:87fc8287
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 6c689348 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 4
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdf1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 3247b37b:aa741693:0d58ccb6:b814a5d1
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 65174812 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 3
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdg1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 8483b8f7:8c3302c6:9403a3e9:3c3a094c
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : c1431453 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 5
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdh1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 1abe5069:570c484e:2199572d:cd0d641f
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : da9b6833 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 3
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdi1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 083fa0cc:798c09bb:febe5adf:f99eb7b8
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : f603204f - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 4
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdj1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : b91a18a4:8aba8cf8:bf046c8f:f683cf16
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 192754d0 - correct
Events : 2
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 5
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdk1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 77b91aac:68eed1cc:e2404d60:f5962abc
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 63409f22 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 0
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdm1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 9b5a6d24:38202032:c40fc666:1f2570d7
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 629fcf29 - correct
Events : 235082
Layout : left-symmetric
Chunk Size : 128K
Device Role : Active device 2
Array State : AAAAAA ('A' == active, '.' == missing)
=A0cat /etc/lvm/backup/*
# Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40:0=
2 2011
contents =3D "Text Format Volume Group"
version =3D 1
description =3D "Created *after* executing 'vgcfgbackup'"
creation_host =3D "BILLSSHACK" =A0 # Linux BILLSSHACK 2.6.35-28-ge=
neric-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
creation_time =3D 1305985202 =A0 # Sat May 21 09:40:02 2011
vgDeb {
=A0 id =3D "a6nM6t-LPKY-gMdi-9YP4-t2tv-Hqjv-aMgmEa"
=A0 seqno =3D 10
=A0 status =3D ["RESIZEABLE", "READ", "WRITE"]
=A0 flags =3D []
=A0 extent_size =3D 8192 =
=A0 # 4 Megabytes
=A0 max_lv =3D 0
=A0 max_pv =3D 0
=A0 physical_volumes {
=A0 pv0 {
=A0 i=
d =3D "0ecAby-vT4R-IHpt-5kEK-v1W0-u6AL-bUcFDG"
=A0 d=
evice =3D "/dev/sdl2" =A0 # Hint only
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 77883120 # 37.1376 Gigabytes
=A0 p=
e_start =3D 384
=A0 p=
e_count =3D 9507 # 37.1367 Gigabytes
=A0 }
=A0 }
=A0 logical_volumes {
=A0 swap {
=A0 i=
d =3D "ywPLVh-84xx-UvPV-fUaI-PPgU-ZiTw-j6rs07"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 512 =A0 # 2 Gigabytes
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=
=A0 stripes =3D [
=
=A0 "pv0", 0
=
=A0 ]
=A0 }
=A0 }
=A0 root {
=A0 i=
d =3D "x0wMox-eWu2-EmDh-V0Ix-47Zl-iqVc-fTYjVB"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 2560 # 10 Gigabytes
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=
=A0 stripes =3D [
=
=A0 "pv0", 512
=
=A0 ]
=A0 }
=A0 }
=A0 rootu {
=A0 i=
d =3D "IFNTXp-4DBN-jjtc-PrCE-Mxs5-68FH-vY5QWK"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 2560 # 10 Gigabytes
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=
=A0 stripes =3D [
=
=A0 "pv0", 5632
=
=A0 ]
=A0 }
=A0 }
=A0 }
}
# Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40:0=
2 2011
contents =3D "Text Format Volume Group"
version =3D 1
description =3D "Created *after* executing 'vgcfgbackup'"
creation_host =3D "BILLSSHACK" =A0 # Linux BILLSSHACK 2.6.35-28-ge=
neric-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
creation_time =3D 1305985202 =A0 # Sat May 21 09:40:02 2011
vgRAID60 {
=A0 id =3D "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
=A0 seqno =3D 58
=A0 status =3D ["RESIZEABLE", "READ", "WRITE"]
=A0 flags =3D []
=A0 extent_size =3D 8192 =
=A0 # 4 Megabytes
=A0 max_lv =3D 0
=A0 max_pv =3D 0
=A0 physical_volumes {
=A0 pv0 {
=A0 i=
d =3D "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfVW"
=A0 d=
evice =3D "/dev/md0" # Hint only
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 15619710464=A0 # 7.27349 Terabytes
=A0 p=
e_start =3D 512
=A0 p=
e_count =3D 1906702 =A0 # 7.27349 Terabytes
=A0 }
=A0 pv1 {
=A0 i=
d =3D "XRg0sr-C21F-4v2f-9FzZ-JSQr-JZe2-Tbexqf"
=A0 d=
evice =3D "/dev/md1" # Hint only
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 15619710464=A0 # 7.27349 Terabytes
=A0 p=
e_start =3D 512
=A0 p=
e_count =3D 1906702 =A0 # 7.27349 Terabytes
=A0 }
=A0 }
=A0 logical_volumes {
=A0 data0 {
=A0 i=
d =3D "Odw7bi-10cB-8SSX-Y4BL-wqs6-4qWT-3AHaYL"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 3670016=A0 # 14 Terabytes
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 2
=
=A0 stripe_size =3D 128 # 64 Kiloby=
tes
=
=A0 stripes =3D [
=
=A0 "pv0", 0,
=
=A0 "pv1", 0
=
=A0 ]
=A0 }
=A0 }
=A0 }
}
Again, i am not a raid pro. those commands i can understand, if anywher=
e i make a mistake about a mdadm concept, please tell me.
Nevertheless, thanks for you help
William
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: reaid problem at reboot
am 21.06.2011 22:50:47 von wil_c_will
----------------------------------------
> Date: Tue, 21 Jun 2011 16:18:18 -0400
> From: philip@turmel.org
> To: wil_c_will@hotmail.com
> CC: linux-raid@vger.kernel.org
> Subject: Re: reaid problem at reboot
>
> Hi William,
>
> On 06/21/2011 09:14 AM, william L'Heureux wrote:
> > Hi,
> >
> > before we start, please note that im not a pro at mdadm or lvm, and=
dont now the full terminology neither the full how it works.
>
> That's OK. We'll help as we can.
>
> > 1 week ago, 1 of my raid6 went wrong. it didnt have any superblock =
anymore. I know all the drives that belongs to that raid but
> > i
> > dont know the right order of the drives. I tried a python script wi=
th
> > assemble and permutation all combination possible. it then checks
> > the
> > header and do a e2fsck -n to check errors. Everytime i run the scri=
pt i
> > get several and different results on each run. Some say that
> > the
> > order of the drives doesnt matter, i agree but withotuh superblock =
its
> > another story. I got another raid6 which is fine and on top of thos=
e
> > 2
> > raid6, there is a lvm. if you have any question or output you want =
to
> > see, please tell me and i will provide further informations as soon=
as i
> > can
> > if you dont understand me, i apologize, im trying to be better at e=
nglish everyday.
>
> First, an overview of what working: Please show the output of "lsdrv"=
>
> http://github.com/pturmel/lsdrv
>
> Then, some more detail: Please show "mdadm --detail /dev/md0 /dev/md1=
" and "mdadm --examine /dev/sd[abcdefghijkm]1"
>
> Finally, please show "cat /etc/lvm/backup/*"
>
> 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
> Date: Tue, 21 Jun 2011 16:18:18 -0400
> From: philip@turmel.org
> To: wil_c_will@hotmail.com
> CC: linux-raid@vger.kernel.org
> Subject: Re: reaid problem at reboot
>=20
> Hi William,
>=20
> On 06/21/2011 09:14 AM, william L'Heureux wrote:
> > Hi,
> >=20
> > before we start, please note that im not a pro at mdadm or lvm, and=
dont now the full terminology neither the full how it works.
>=20
> That's OK. We'll help as we can.
>=20
> > 1 week ago, 1 of my raid6 went wrong. it didnt have any superblock =
anymore. I know all the drives that belongs to that raid but=20
> > i=20
> > dont know the right order of the drives. I tried a python script w=
ith=20
> > assemble and permutation all combination possible. it then checks
> > the
> > header and do a e2fsck -n to check errors. Everytime i run the scr=
ipt i
> > get several and different results on each run. Some say that
> > the=20
> > order of the drives doesnt matter, i agree but withotuh superblock =
its=20
> > another story. I got another raid6 which is fine and on top of thos=
e=20
> > 2
> > raid6, there is a lvm. if you have any question or output you want=
to=20
> > see, please tell me and i will provide further informations as soon=
as i
> > can
> > if you dont understand me, i apologize, im trying to be better at e=
nglish everyday.
>=20
> First, an overview of what working: Please show the output of "lsdrv=
".
>=20
> http://github.com/pturmel/lsdrv
>=20
> Then, some more detail: Please show "mdadm --detail /dev/md0 /dev/md=
1" and "mdadm --examine /dev/sd[abcdefghijkm]1"
>=20
> Finally, please show "cat /etc/lvm/backup/*"
>=20
> 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
=20
/lsdrv
PCI [sata_mv] 02:01.0 SCSI storage controller: Marvell Technology Group=
Ltd. MV8 =
8SX6081 8-port SATA II PCI-X Controller (rev =
09)
ââscsi 0:0:0:0 ATA Hitachi HDS72202 {JK1171YAGA977S}
=E2 ââsda: [8:0] Partitioned (gpt) 1.82t
=E2 ââsda1: [8:1] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0' {=
3bcf45ef-da3e-d =
e81-09a8-d6635b58832d}
=E2 ââsda2: [8:2] Empty/Unknown 1.00g
ââscsi 1:0:0:0 ATA WL2000GSA1672 {WOL240094387}
=E2 ââsdb: [8:16] Partitioned (gpt) 1.82t
=E2 ââsdb1: [8:17] MD raid6 (6) 1.82t inactive 'billsshack:3' =
{751fd632-4baf- =
7d64-ec26-eec1046592bc}
=E2 ââsdb2: [8:18] Empty/Unknown 1.00g
ââscsi 2:x:x:x [Empty]
ââscsi 3:x:x:x [Empty]
ââscsi 4:0:0:0 ATA WL2000GSA1672 {WOL240094356}
=E2 ââsdc: [8:32] Partitioned (gpt) 1.82t
=E2 ââsdc1: [8:33] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0' =
{3bcf45ef-da3e- =
de81-09a8-d6635b58832d}
=E2 ââsdc2: [8:34] Empty/Unknown 1.00g
ââscsi 5:0:0:0 ATA WL2000GSA3272C {WOL240146377}
=E2 ââsdd: [8:48] Partitioned (gpt) 1.82t
=E2 ââsdd1: [8:49] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0' =
{3bcf45ef-da3e- =
de81-09a8-d6635b58832d}
=E2 ââsdd2: [8:50] Empty/Unknown 1.00g
ââscsi 6:x:x:x [Empty]
ââscsi 7:x:x:x [Empty]
PCI [sata_mv] 03:02.0 SCSI storage controller: Marvell Technology Group=
Ltd. MV8 =
8SX6081 8-port SATA II PCI-X Controller (rev =
09)
ââscsi 8:0:0:0 ATA WL2000GSA3272 {WOL240102099}
=E2 ââsde: [8:64] Partitioned (gpt) 1.82t
=E2 ââsde1: [8:65] MD raid6 (6) 1.82t inactive 'billsshack:3' =
{751fd632-4baf- =
7d64-ec26-eec1046592bc}
=E2 ââsde2: [8:66] Empty/Unknown 1.00g
ââscsi 9:x:x:x [Empty]
ââscsi 10:0:0:0 ATA Hitachi HDS72202 {JK1171YAGDDUGS}
=E2 ââsdf: [8:80] Partitioned (gpt) 1.82t
=E2 ââsdf1: [8:81] MD raid6 (6) 1.82t inactive 'billsshack:3' =
{751fd632-4baf- =
7d64-ec26-eec1046592bc}
=E2 ââsdf2: [8:82] Empty/Unknown 1.00g
ââscsi 11:0:0:0 ATA ST32000542AS {6XW1B8WP}
=E2 ââsdg: [8:96] Partitioned (gpt) 1.82t
=E2 ââsdg1: [8:97] MD raid6 (6) 1.82t inactive 'billsshack:3' =
{751fd632-4baf- =
7d64-ec26-eec1046592bc}
=E2 ââsdg2: [8:98] Empty/Unknown 1.00g
ââscsi 12:0:0:0 ATA WL2000GSA3272 {WOL240102098}
=E2 ââsdh: [8:112] Partitioned (gpt) 1.82t
=E2 ââsdh1: [8:113] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0'=
{3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
=E2 ââsdh2: [8:114] Empty/Unknown 1.00g
ââscsi 13:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3323665}
=E2 ââsdi: [8:128] Partitioned (gpt) 1.82t
=E2 ââsdi1: [8:129] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0'=
{3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
=E2 ââsdi2: [8:130] Empty/Unknown 1.00g
ââscsi 14:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3356471}
=E2 ââsdj: [8:144] Partitioned (gpt) 1.82t
=E2 ââsdj1: [8:145] MD raid6 (6) 1.82t inactive 'BILLSSHACK:0'=
{3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
=E2 ââsdj2: [8:146] Empty/Unknown 1.00g
ââscsi 15:x:x:x [Empty]
PCI [ahci] 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (IC=
H9R/DO/DH =
) 6 port SATA AHCI Controller (rev 02)
ââscsi 16:x:x:x [Empty]
ââscsi 17:x:x:x [Empty]
ââscsi 18:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3286477}
=E2 ââsdk: [8:160] Partitioned (gpt) 1.82t
=E2 ââsdk1: [8:161] MD raid6 (6) 1.82t inactive 'billsshack:3'=
{751fd632-4baf =
-7d64-ec26-eec1046592bc}
=E2 ââsdk2: [8:162] Empty/Unknown 1.00g
ââscsi 19:0:0:0 ATA WDC WD400BD-60LT {WD-WMAME1857443}
=E2 ââsdl: [8:176] Partitioned (dos) 37.27g
=E2 ââsdl1: [8:177] Partitioned (dos) 133.32m {617e6b03-6cc1-4=
974-8acc-19a742 =
cd06f4}
=E2 =E2 ââMounted as /dev/sdl1 @ /boot
=E2 ââsdl2: [8:178] PV LVM2_member 22.00g/37.14g VG vgDeb 37.1=
4g {0ecAby-vT4R =
-IHpt-5kEK-v1W0-u6AL-bUcFDG}
=E2 ââVolume Group vgDeb (sdl2) 15.14g free {a6nM6t-LPKY-g=
Mdi-9YP4-t2tv-H =
qjv-aMgmEa}
=E2 ââdm-1: [251:1] LV 'root' (reiserfs) 10.00g {f497b9b=
d-e24f-4d20-9f6 =
b-282b6493f341}
=E2 =E2 ââMounted as /dev/mapper/vgDeb-root @ /mnt/debi=
an
=E2 ââdm-2: [251:2] LV 'rootu' (reiserfs) 10.00g {bc0f35=
0c-4af7-4192-b1 =
ea-4528101db28e}
=E2 =E2 ââMounted as /dev/mapper/vgDeb-rootu @ /
=E2 ââdm-0: [251:0] LV 'swap' (swap) 2.00g {13264e60-a1d=
1-4bf3-af9f-edd =
948212a63}
ââscsi 20:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3271728}
=E2 ââsdm: [8:192] MD raid6 (4) 1.82t inactive {b52df561-301f-043=
c-b5a7-b1ab9d93 =
4878}
=E2 ââsdm1: [8:193] MD raid6 (6) 1.82t inactive 'billsshack:3'=
{751fd632-4baf =
-7d64-ec26-eec1046592bc}
=E2 ââsdm2: [8:194] MD raid6 (6) 1.00g inactive 'billsshack:2'=
{cf2450e4-bc7a =
-9cea-cb5c-cda96f3ec87c}
ââscsi 21:x:x:x [Empty]
Other Block Devices
ââram0: [1:0] Empty/Unknown 64.00m
ââram1: [1:1] Empty/Unknown 64.00m
ââram2: [1:2] Empty/Unknown 64.00m
ââram3: [1:3] Empty/Unknown 64.00m
ââram4: [1:4] Empty/Unknown 64.00m
ââram5: [1:5] Empty/Unknown 64.00m
ââram6: [1:6] Empty/Unknown 64.00m
ââram7: [1:7] Empty/Unknown 64.00m
ââram8: [1:8] Empty/Unknown 64.00m
ââram9: [1:9] Empty/Unknown 64.00m
ââram10: [1:10] Empty/Unknown 64.00m
ââram11: [1:11] Empty/Unknown 64.00m
ââram12: [1:12] Empty/Unknown 64.00m
ââram13: [1:13] Empty/Unknown 64.00m
ââram14: [1:14] Empty/Unknown 64.00m
ââram15: [1:15] Empty/Unknown 64.00m
=A0mdadm --detail /dev/md0 /dev/md1
/dev/md0:
=A0 Version : 1.2
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Array Size : 7809854976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 1952463744 (1862.01 GiB 1999.32 GB)
Raid Devices : 6
=A0 Total Devices : 6
=A0 Persistence : Superblock is persistent
=20
=A0 Update Time : Tue Jun 21 11:23:46 2011
=A0 State : clean
=A0Active Devices : 6
Working Devices : 6
=A0Failed Devices : 0
=A0 Spare Devices : 0
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
UUID : 3bcf45ef:da3ede81:09a8d663:5b5883=
2d
Events : 0
=20
=A0 Number Major Minor RaidDevice State
0 8 =A0 1 =A0=
0 =A0 active sync /dev/sda1
1 8 33 =
=A0 1 =A0 active sync /dev/sdc1
2 8 49 =
=A0 2 =A0 active sync /dev/sdd1
3 8 =A0 113 =
=A0 3 =A0 active sync /dev/sdh1
4 8 =A0 129 =
=A0 4 =A0 active sync /dev/sdi1
5 8 =A0 145 =
=A0 5 =A0 active sync /dev/sdj1
/dev/md1:
=A0 Version : 1.2
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Array Size : 7809855488 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 1952463872 (1862.01 GiB 1999.32 GB)
Raid Devices : 6
=A0 Total Devices : 6
=A0 Persistence : Superblock is persistent
=20
=A0 Intent Bitmap : Internal
=20
=A0 Update Time : Tue Jun 14 20:58:11 2011
=A0 State : active
=A0Active Devices : 6
Working Devices : 6
=A0Failed Devices : 0
=A0 Spare Devices : 0
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Name : billsshack:3
UUID : 751fd632:4baf7d64:ec26eec1:046592=
bc
Events : 235082
=20
=A0 Number Major Minor RaidDevice State
0 8 =A0 161 =
=A0 0 =A0 active sync /dev/sdk1
1 8 17 =
=A0 1 =A0 active sync /dev/sdb1
8 8 =A0 193 =
=A0 2 =A0 active sync /dev/sdm1
5 8 81 =
=A0 3 =A0 active sync /dev/sdf1
6 8 65 =
=A0 4 =A0 active sync /dev/sde1
7 8 97 =
=A0 5 =A0 active sync /dev/sdg1
=20
=20
=20
=20
mdadm --examine /dev/sd[abcdefghijkm]1
/dev/sda1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : b6569293:759c2fbe:d52f346f:2ea85306
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 9d90c200 - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 0
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdb1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 0b6a5d24:bff1c401:259c054b:ca7ccc7f
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : bed09424 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 1
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdc1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 298ee23a:4968978c:0557d189:1c45ff55
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 7d918966 - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 1
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdd1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 2b8ef61c:d3d59200:659d4367:573a992d
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 88ad328d - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 2
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sde1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 1de7b73d:73ff1f80:c0903159:87fc8287
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 6c689348 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 4
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdf1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 3247b37b:aa741693:0d58ccb6:b814a5d1
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 65174812 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 3
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdg1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 8483b8f7:8c3302c6:9403a3e9:3c3a094c
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : c1431453 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 5
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdh1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 1abe5069:570c484e:2199572d:cd0d641f
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : da9b6833 - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 3
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdi1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 083fa0cc:798c09bb:febe5adf:f99eb7b8
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : f603204f - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 4
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdj1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x0
Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
Name : BILLSSHACK:0=A0 (local to host BI=
LLSSHACK)
=A0 Creation Time : Tue Jun 21 11:23:46 2011
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : b91a18a4:8aba8cf8:bf046c8f:f683cf16
=20
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 192754d0 - correct
Events : 2
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 5
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdk1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 77b91aac:68eed1cc:e2404d60:f5962abc
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 63409f22 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 0
Array State : AAAAAA ('A' == active, '.' == missing)
/dev/sdm1:
=A0 Magic : a92b4efc
=A0 Version : 1.2
=A0 Feature Map : 0x1
Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
Name : billsshack:3
=A0 Creation Time : Tue Jun 15 09:59:08 2010
Raid Level : raid6
Raid Devices : 6
=20
=A0Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
=A0 Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
=A0 Data Offset : 2048 sectors
Super Offset : 8 sectors
=A0 State : clean
=A0 Device UUID : 9b5a6d24:38202032:c40fc666:1f2570d7
=20
Internal Bitmap : 2 sectors from superblock
=A0 Update Time : Tue Jun 21 16:35:23 2011
Checksum : 629fcf29 - correct
Events : 235082
=20
Layout : left-symmetric
Chunk Size : 128K
=20
Device Role : Active device 2
Array State : AAAAAA ('A' == active, '.' == missing)
=20
=20
=20
=A0cat /etc/lvm/backup/*
# Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40:0=
2 2011
=20
contents =3D "Text Format Volume Group"
version =3D 1
=20
description =3D "Created *after* executing 'vgcfgbackup'"
=20
creation_host =3D "BILLSSHACK" =A0 # Linux BILLSSHACK 2.6.35-28-ge=
neric-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
creation_time =3D 1305985202 =A0 # Sat May 21 09:40:02 2011
=20
vgDeb {
=A0 id =3D "a6nM6t-LPKY-gMdi-9YP4-t2tv-Hqjv-aMgmEa"
=A0 seqno =3D 10
=A0 status =3D ["RESIZEABLE", "READ", "WRITE"]
=A0 flags =3D []
=A0 extent_size =3D 8192 =
=A0 # 4 Megabytes
=A0 max_lv =3D 0
=A0 max_pv =3D 0
=20
=A0 physical_volumes {
=20
=A0 pv0 {
=A0 i=
d =3D "0ecAby-vT4R-IHpt-5kEK-v1W0-u6AL-bUcFDG"
=A0 d=
evice =3D "/dev/sdl2" =A0 # Hint only
=20
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 77883120 # 37.1376 Gigabytes
=A0 p=
e_start =3D 384
=A0 p=
e_count =3D 9507 # 37.1367 Gigabytes
=A0 }
=A0 }
=20
=A0 logical_volumes {
=20
=A0 swap {
=A0 i=
d =3D "ywPLVh-84xx-UvPV-fUaI-PPgU-ZiTw-j6rs07"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=20
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 512 =A0 # 2 Gigabytes
=20
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=20
=
=A0 stripes =3D [
=
=A0 "pv0", 0
=
=A0 ]
=A0 }
=A0 }
=20
=A0 root {
=A0 i=
d =3D "x0wMox-eWu2-EmDh-V0Ix-47Zl-iqVc-fTYjVB"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=20
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 2560 # 10 Gigabytes
=20
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=20
=
=A0 stripes =3D [
=
=A0 "pv0", 512
=
=A0 ]
=A0 }
=A0 }
=20
=A0 rootu {
=A0 i=
d =3D "IFNTXp-4DBN-jjtc-PrCE-Mxs5-68FH-vY5QWK"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=20
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 2560 # 10 Gigabytes
=20
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 1 =A0 # linear
=20
=
=A0 stripes =3D [
=
=A0 "pv0", 5632
=
=A0 ]
=A0 }
=A0 }
=A0 }
}
# Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40:0=
2 2011
=20
contents =3D "Text Format Volume Group"
version =3D 1
=20
description =3D "Created *after* executing 'vgcfgbackup'"
=20
creation_host =3D "BILLSSHACK" =A0 # Linux BILLSSHACK 2.6.35-28-ge=
neric-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
creation_time =3D 1305985202 =A0 # Sat May 21 09:40:02 2011
=20
vgRAID60 {
=A0 id =3D "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
=A0 seqno =3D 58
=A0 status =3D ["RESIZEABLE", "READ", "WRITE"]
=A0 flags =3D []
=A0 extent_size =3D 8192 =
=A0 # 4 Megabytes
=A0 max_lv =3D 0
=A0 max_pv =3D 0
=20
=A0 physical_volumes {
=20
=A0 pv0 {
=A0 i=
d =3D "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfVW"
=A0 d=
evice =3D "/dev/md0" # Hint only
=20
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 15619710464=A0 # 7.27349 Terabytes
=A0 p=
e_start =3D 512
=A0 p=
e_count =3D 1906702 =A0 # 7.27349 Terabytes
=A0 }
=20
=A0 pv1 {
=A0 i=
d =3D "XRg0sr-C21F-4v2f-9FzZ-JSQr-JZe2-Tbexqf"
=A0 d=
evice =3D "/dev/md1" # Hint only
=20
=A0 s=
tatus =3D ["ALLOCATABLE"]
=A0 f=
lags =3D []
=A0 d=
ev_size =3D 15619710464=A0 # 7.27349 Terabytes
=A0 p=
e_start =3D 512
=A0 p=
e_count =3D 1906702 =A0 # 7.27349 Terabytes
=A0 }
=A0 }
=20
=A0 logical_volumes {
=20
=A0 data0 {
=A0 i=
d =3D "Odw7bi-10cB-8SSX-Y4BL-wqs6-4qWT-3AHaYL"
=A0 s=
tatus =3D ["READ", "WRITE", "VISIBLE"]
=A0 f=
lags =3D []
=A0 s=
egment_count =3D 1
=20
=A0 s=
egment1 {
=
=A0 start_extent =3D 0
=
=A0 extent_count =3D 3670016=A0 # 14 Terabytes
=20
=
=A0 type =3D "striped"
=
=A0 stripe_count =3D 2
=
=A0 stripe_size =3D 128 # 64 Kiloby=
tes
=20
=
=A0 stripes =3D [
=
=A0 "pv0", 0,
=
=A0 "pv1", 0
=
=A0 ]
=A0 }
=A0 }
=A0 }
}
=20
=20
Again, i am not a raid pro. those commands i can understand, if anywher=
e i make a mistake about a mdadm concept, please tell me.
=20
Nevertheless, thanks for you help
=20
William
=20
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: reaid problem at reboot
am 21.06.2011 23:58:22 von Phil Turmel
Hi William,
On 06/21/2011 04:50 PM, william L'Heureux wrote:
>=20
> ./lsdrv
> PCI [sata_mv] 02:01.0 SCSI storage controller: Marvell Technology Gro=
up Ltd. MV8 =
8SX6081 8-port SATA II PCI-X Controller (re=
v 09)
> ââscsi 0:0:0:0 ATA Hitachi HDS72202 {JK1171YAGA977S}
> â ââsda: [8:0] Partitioned (gpt) 1.82t
> â ââsda1: [8:1] MD raid6 (6) 1.82t inactive 'BILL=
SSHACK:0' {3bcf45ef-da3e-d =
e81-09a8-d6635b58832d}
> â ââsda2: [8:2] Empty/Unknown 1.00g
> ââscsi 1:0:0:0 ATA WL2000GSA1672 {WOL240094387}
> â ââsdb: [8:16] Partitioned (gpt) 1.82t
> â ââsdb1: [8:17] MD raid6 (6) 1.82t inactive 'bil=
lsshack:3' {751fd632-4baf- =
7d64-ec26-eec1046592bc}
> â ââsdb2: [8:18] Empty/Unknown 1.00g
> ââscsi 2:x:x:x [Empty]
> ââscsi 3:x:x:x [Empty]
> ââscsi 4:0:0:0 ATA WL2000GSA1672 {WOL240094356}
> â ââsdc: [8:32] Partitioned (gpt) 1.82t
> â ââsdc1: [8:33] MD raid6 (6) 1.82t inactive 'BIL=
LSSHACK:0' {3bcf45ef-da3e- =
de81-09a8-d6635b58832d}
> â ââsdc2: [8:34] Empty/Unknown 1.00g
> ââscsi 5:0:0:0 ATA WL2000GSA3272C {WOL240146377}
> â ââsdd: [8:48] Partitioned (gpt) 1.82t
> â ââsdd1: [8:49] MD raid6 (6) 1.82t inactive 'BIL=
LSSHACK:0' {3bcf45ef-da3e- =
de81-09a8-d6635b58832d}
> â ââsdd2: [8:50] Empty/Unknown 1.00g
> ââscsi 6:x:x:x [Empty]
> ââscsi 7:x:x:x [Empty]
> PCI [sata_mv] 03:02.0 SCSI storage controller: Marvell Technology Gro=
up Ltd. MV8 =
8SX6081 8-port SATA II PCI-X Controller (re=
v 09)
> ââscsi 8:0:0:0 ATA WL2000GSA3272 {WOL240102099}
> â ââsde: [8:64] Partitioned (gpt) 1.82t
> â ââsde1: [8:65] MD raid6 (6) 1.82t inactive 'bil=
lsshack:3' {751fd632-4baf- =
7d64-ec26-eec1046592bc}
> â ââsde2: [8:66] Empty/Unknown 1.00g
> ââscsi 9:x:x:x [Empty]
> ââscsi 10:0:0:0 ATA Hitachi HDS72202 {JK1171YAGDDUGS}
> â ââsdf: [8:80] Partitioned (gpt) 1.82t
> â ââsdf1: [8:81] MD raid6 (6) 1.82t inactive 'bil=
lsshack:3' {751fd632-4baf- =
7d64-ec26-eec1046592bc}
> â ââsdf2: [8:82] Empty/Unknown 1.00g
> ââscsi 11:0:0:0 ATA ST32000542AS {6XW1B8WP}
> â ââsdg: [8:96] Partitioned (gpt) 1.82t
> â ââsdg1: [8:97] MD raid6 (6) 1.82t inactive 'bil=
lsshack:3' {751fd632-4baf- =
7d64-ec26-eec1046592bc}
> â ââsdg2: [8:98] Empty/Unknown 1.00g
> ââscsi 12:0:0:0 ATA WL2000GSA3272 {WOL240102098}
> â ââsdh: [8:112] Partitioned (gpt) 1.82t
> â ââsdh1: [8:113] MD raid6 (6) 1.82t inactive 'BI=
LLSSHACK:0' {3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
> â ââsdh2: [8:114] Empty/Unknown 1.00g
> ââscsi 13:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3323665}
> â ââsdi: [8:128] Partitioned (gpt) 1.82t
> â ââsdi1: [8:129] MD raid6 (6) 1.82t inactive 'BI=
LLSSHACK:0' {3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
> â ââsdi2: [8:130] Empty/Unknown 1.00g
> ââscsi 14:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3356471}
> â ââsdj: [8:144] Partitioned (gpt) 1.82t
> â ââsdj1: [8:145] MD raid6 (6) 1.82t inactive 'BI=
LLSSHACK:0' {3bcf45ef-da3e =
-de81-09a8-d6635b58832d}
> â ââsdj2: [8:146] Empty/Unknown 1.00g
> ââscsi 15:x:x:x [Empty]
> PCI [ahci] 00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (=
ICH9R/DO/DH =
) 6 port SATA AHCI Controller (rev 02)
> ââscsi 16:x:x:x [Empty]
> ââscsi 17:x:x:x [Empty]
> ââscsi 18:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3286477}
> â ââsdk: [8:160] Partitioned (gpt) 1.82t
> â ââsdk1: [8:161] MD raid6 (6) 1.82t inactive 'bi=
llsshack:3' {751fd632-4baf =
-7d64-ec26-eec1046592bc}
> â ââsdk2: [8:162] Empty/Unknown 1.00g
> ââscsi 19:0:0:0 ATA WDC WD400BD-60LT {WD-WMAME1857443}
> â ââsdl: [8:176] Partitioned (dos) 37.27g
> â ââsdl1: [8:177] Partitioned (dos) 133.32m {617e=
6b03-6cc1-4974-8acc-19a742 =
cd06f4}
> â â ââMounted as /dev/sdl1 @ /boot
> â ââsdl2: [8:178] PV LVM2_member 22.00g/37.14g VG=
vgDeb 37.14g {0ecAby-vT4R =
-IHpt-5kEK-v1W0-u6AL-bUcFDG}
> â ââVolume Group vgDeb (sdl2) 15.14g free {a6=
nM6t-LPKY-gMdi-9YP4-t2tv-H =
qjv-aMgmEa}
> â ââdm-1: [251:1] LV 'root' (reiserfs) 10.0=
0g {f497b9bd-e24f-4d20-9f6 =
b-282b6493f341}
> â â ââMounted as /dev/mapper/vgDeb-ro=
ot @ /mnt/debian
> â ââdm-2: [251:2] LV 'rootu' (reiserfs) 10.=
00g {bc0f350c-4af7-4192-b1 =
ea-4528101db28e}
> â â ââMounted as /dev/mapper/vgDeb-ro=
otu @ /
> â ââdm-0: [251:0] LV 'swap' (swap) 2.00g {1=
3264e60-a1d1-4bf3-af9f-edd =
948212a63}
> ââscsi 20:0:0:0 ATA WDC WD20EADS-00S {WD-WCAVY3271728}
> â ââsdm: [8:192] MD raid6 (4) 1.82t inactive {b52df5=
61-301f-043c-b5a7-b1ab9d93 =
4878}
> â ââsdm1: [8:193] MD raid6 (6) 1.82t inactive 'bi=
llsshack:3' {751fd632-4baf =
-7d64-ec26-eec1046592bc}
> â ââsdm2: [8:194] MD raid6 (6) 1.00g inactive 'bi=
llsshack:2' {cf2450e4-bc7a =
-9cea-cb5c-cda96f3ec87c}
> ââscsi 21:x:x:x [Empty]
> Other Block Devices
> ââram0: [1:0] Empty/Unknown 64.00m
> ââram1: [1:1] Empty/Unknown 64.00m
> ââram2: [1:2] Empty/Unknown 64.00m
> ââram3: [1:3] Empty/Unknown 64.00m
> ââram4: [1:4] Empty/Unknown 64.00m
> ââram5: [1:5] Empty/Unknown 64.00m
> ââram6: [1:6] Empty/Unknown 64.00m
> ââram7: [1:7] Empty/Unknown 64.00m
> ââram8: [1:8] Empty/Unknown 64.00m
> ââram9: [1:9] Empty/Unknown 64.00m
> ââram10: [1:10] Empty/Unknown 64.00m
> ââram11: [1:11] Empty/Unknown 64.00m
> ââram12: [1:12] Empty/Unknown 64.00m
> ââram13: [1:13] Empty/Unknown 64.00m
> ââram14: [1:14] Empty/Unknown 64.00m
> ââram15: [1:15] Empty/Unknown 64.00m
OK. We know the basic layout. (I think I'm going to have to give up t=
he fancy line-drawing characters. Very few emails get them right...)
> mdadm --detail /dev/md0 /dev/md1
> /dev/md0:
> Version : 1.2
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Array Size : 7809854976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 1952463744 (1862.01 GiB 1999.32 GB)
> Raid Devices : 6
> Total Devices : 6
> Persistence : Superblock is persistent
> =20
> Update Time : Tue Jun 21 11:23:46 2011
> State : clean
> Active Devices : 6
> Working Devices : 6
> Failed Devices : 0
> Spare Devices : 0
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Events : 0
> =20
> Number Major Minor RaidDevice State
> 0 8 1 0 active sync /dev/sda1
> 1 8 33 1 active sync /dev/sdc1
> 2 8 49 2 active sync /dev/sdd1
> 3 8 113 3 active sync /dev/sdh1
> 4 8 129 4 active sync /dev/sdi1
> 5 8 145 5 active sync /dev/sdj1
> /dev/md1:
> Version : 1.2
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Array Size : 7809855488 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 1952463872 (1862.01 GiB 1999.32 GB)
> Raid Devices : 6
> Total Devices : 6
> Persistence : Superblock is persistent
> =20
> Intent Bitmap : Internal
> =20
> Update Time : Tue Jun 14 20:58:11 2011
> State : active
> Active Devices : 6
> Working Devices : 6
> Failed Devices : 0
> Spare Devices : 0
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Name : billsshack:3
> UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Events : 235082
> =20
> Number Major Minor RaidDevice State
> 0 8 161 0 active sync /dev/sdk1
> 1 8 17 1 active sync /dev/sdb1
> 8 8 193 2 active sync /dev/sdm1
> 5 8 81 3 active sync /dev/sdf1
> 6 8 65 4 active sync /dev/sde1
> 7 8 97 5 active sync /dev/sdg1
It is not immediately clear from this, or from your first email, which =
of your two raid6 arrays is messed up.
> mdadm --examine /dev/sd[abcdefghijkm]1
> /dev/sda1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : b6569293:759c2fbe:d52f346f:2ea85306
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 9d90c200 - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 0
> Array State : AAAAAA ('A' == active, '.' == missing)
2048 sectors offset. This is important.
> /dev/sdb1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 0b6a5d24:bff1c401:259c054b:ca7ccc7f
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : bed09424 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 1
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdc1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 298ee23a:4968978c:0557d189:1c45ff55
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 7d918966 - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 1
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdd1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 2b8ef61c:d3d59200:659d4367:573a992d
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 88ad328d - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 2
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sde1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 1de7b73d:73ff1f80:c0903159:87fc8287
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 6c689348 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 4
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdf1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 3247b37b:aa741693:0d58ccb6:b814a5d1
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 65174812 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 3
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdg1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 8483b8f7:8c3302c6:9403a3e9:3c3a094c
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : c1431453 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 5
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdh1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 1abe5069:570c484e:2199572d:cd0d641f
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : da9b6833 - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 3
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdi1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 083fa0cc:798c09bb:febe5adf:f99eb7b8
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : f603204f - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 4
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdj1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x0
> Array UUID : 3bcf45ef:da3ede81:09a8d663:5b58832d
> Name : BILLSSHACK:0 (local to host BILLSSHACK)
> Creation Time : Tue Jun 21 11:23:46 2011
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619709952 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927488 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : b91a18a4:8aba8cf8:bf046c8f:f683cf16
> =20
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 192754d0 - correct
> Events : 2
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 5
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdk1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 77b91aac:68eed1cc:e2404d60:f5962abc
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 63409f22 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 0
> Array State : AAAAAA ('A' == active, '.' == missing)
> /dev/sdm1:
> Magic : a92b4efc
> Version : 1.2
> Feature Map : 0x1
> Array UUID : 751fd632:4baf7d64:ec26eec1:046592bc
> Name : billsshack:3
> Creation Time : Tue Jun 15 09:59:08 2010
> Raid Level : raid6
> Raid Devices : 6
> =20
> Avail Dev Size : 3904927887 (1862.01 GiB 1999.32 GB)
> Array Size : 15619710976 (7448.06 GiB 7997.29 GB)
> Used Dev Size : 3904927744 (1862.01 GiB 1999.32 GB)
> Data Offset : 2048 sectors
> Super Offset : 8 sectors
> State : clean
> Device UUID : 9b5a6d24:38202032:c40fc666:1f2570d7
> =20
> Internal Bitmap : 2 sectors from superblock
> Update Time : Tue Jun 21 16:35:23 2011
> Checksum : 629fcf29 - correct
> Events : 235082
> =20
> Layout : left-symmetric
> Chunk Size : 128K
> =20
> Device Role : Active device 2
> Array State : AAAAAA ('A' == active, '.' == missing)
They all have a 2048 sector offset. This is good. It means your good =
array and your bad array were both created with a fairly recent copy of=
mdadm.
> cat /etc/lvm/backup/*
> # Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40=
:02 2011
> =20
> contents =3D "Text Format Volume Group"
> version =3D 1
> =20
> description =3D "Created *after* executing 'vgcfgbackup'"
> =20
> creation_host =3D "BILLSSHACK" # Linux BILLSSHACK 2.6.35-28-generi=
c-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
> creation_time =3D 1305985202 # Sat May 21 09:40:02 2011
> =20
> vgDeb {
> id =3D "a6nM6t-LPKY-gMdi-9YP4-t2tv-Hqjv-aMgmEa"
> seqno =3D 10
> status =3D ["RESIZEABLE", "READ", "WRITE"]
> flags =3D []
> extent_size =3D 8192 # 4 Megabytes
> max_lv =3D 0
> max_pv =3D 0
> =20
> physical_volumes {
> =20
> pv0 {
> id =3D "0ecAby-vT4R-IHpt-5kEK-v1W0-u6AL-bUcFD=
G"
> device =3D "/dev/sdl2" # Hint only
> =20
> status =3D ["ALLOCATABLE"]
> flags =3D []
> dev_size =3D 77883120 # 37.1376 Gigabytes
> pe_start =3D 384
> pe_count =3D 9507 # 37.1367 Gigabytes
> }
> }
> =20
> logical_volumes {
> =20
> swap {
> id =3D "ywPLVh-84xx-UvPV-fUaI-PPgU-ZiTw-j6rs0=
7"
> status =3D ["READ", "WRITE", "VISIBLE"]
> flags =3D []
> segment_count =3D 1
> =20
> segment1 {
> start_extent =3D 0
> extent_count =3D 512 # 2 Gigabyt=
es
> =20
> type =3D "striped"
> stripe_count =3D 1 # linear
> =20
> stripes =3D [
> "pv0", 0
> ]
> }
> }
> =20
> root {
> id =3D "x0wMox-eWu2-EmDh-V0Ix-47Zl-iqVc-fTYjV=
B"
> status =3D ["READ", "WRITE", "VISIBLE"]
> flags =3D []
> segment_count =3D 1
> =20
> segment1 {
> start_extent =3D 0
> extent_count =3D 2560 # 10 Gigaby=
tes
> =20
> type =3D "striped"
> stripe_count =3D 1 # linear
> =20
> stripes =3D [
> "pv0", 512
> ]
> }
> }
> =20
> rootu {
> id =3D "IFNTXp-4DBN-jjtc-PrCE-Mxs5-68FH-vY5QW=
K"
> status =3D ["READ", "WRITE", "VISIBLE"]
> flags =3D []
> segment_count =3D 1
> =20
> segment1 {
> start_extent =3D 0
> extent_count =3D 2560 # 10 Gigaby=
tes
> =20
> type =3D "striped"
> stripe_count =3D 1 # linear
> =20
> stripes =3D [
> "pv0", 5632
> ]
> }
> }
> }
> }
We won't need the above. That's your system group.
> # Generated by LVM2 version 2.02.66(2) (2010-05-20): Sat May 21 09:40=
:02 2011
> =20
> contents =3D "Text Format Volume Group"
> version =3D 1
> =20
> description =3D "Created *after* executing 'vgcfgbackup'"
> =20
> creation_host =3D "BILLSSHACK" # Linux BILLSSHACK 2.6.35-28-generi=
c-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC 2011 i686
> creation_time =3D 1305985202 # Sat May 21 09:40:02 2011
> =20
> vgRAID60 {
> id =3D "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
> seqno =3D 58
> status =3D ["RESIZEABLE", "READ", "WRITE"]
> flags =3D []
> extent_size =3D 8192 # 4 Megabytes
> max_lv =3D 0
> max_pv =3D 0
> =20
> physical_volumes {
> =20
> pv0 {
> id =3D "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfV=
W"
> device =3D "/dev/md0" # Hint only
> =20
> status =3D ["ALLOCATABLE"]
> flags =3D []
> dev_size =3D 15619710464 # 7.27349 Terabytes
> pe_start =3D 512
> pe_count =3D 1906702 # 7.27349 Terabytes
> }
> =20
> pv1 {
> id =3D "XRg0sr-C21F-4v2f-9FzZ-JSQr-JZe2-Tbexq=
f"
> device =3D "/dev/md1" # Hint only
> =20
> status =3D ["ALLOCATABLE"]
> flags =3D []
> dev_size =3D 15619710464 # 7.27349 Terabytes
> pe_start =3D 512
> pe_count =3D 1906702 # 7.27349 Terabytes
> }
> }
We can go hunting for these ids. They'll certainly show up on the firs=
t disk in each raid. They might also show up in the 5th disk in each r=
aid, if by chance the other data chunks in the stripe are zeros. Pleas=
e show:
for x in /dev/sd[abcdefghijkm] ; do echo "**** $x ****" ; dd if=3D$x sk=
ip=3D2056 count=3D2 2>/dev/null |strings ; done
> logical_volumes {
> =20
> data0 {
> id =3D "Odw7bi-10cB-8SSX-Y4BL-wqs6-4qWT-3AHaY=
L"
> status =3D ["READ", "WRITE", "VISIBLE"]
> flags =3D []
> segment_count =3D 1
> =20
> segment1 {
> start_extent =3D 0
> extent_count =3D 3670016 # 14 Teraby=
tes
> =20
> type =3D "striped"
> stripe_count =3D 2
> stripe_size =3D 128 # 64 Kiloby=
tes
> =20
> stripes =3D [
> "pv0", 0,
> "pv1", 0
> ]
> }
> }
> }
> }
Hmmm. Striped LVM on top of raid6. Trying to get better performance? =
With this striping, getting the data back requires 100% success. You =
won't get half of your data. You might get all of it, or you might get=
none of it.
> Again, i am not a raid pro. those commands i can understand, if anywh=
ere i make a mistake about a mdadm concept, please tell me.
> =20
> Nevertheless, thanks for you help
You are welcome.
Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: reaid problem at reboot
am 22.06.2011 03:00:49 von wil_c_will
for x in /dev/sd[abcdefghijkm] ; do echo "**** $ =
=
=
=
=A0 x ****" ; dd if=3D$x skip=3D2056 count=3D2 2>/dev=
/null |strings ; done
**** /dev/sda ****
-BILLSSHACK:0
/4o.
**** /dev/sdb ****
billsshack:3
**** /dev/sdc ****
-BILLSSHACK:0
**** /dev/sdd ****
-BILLSSHACK:0
CgW:
**** /dev/sde ****
billsshack:3
**** /dev/sdf ****
billsshack:3
**** /dev/sdg ****
billsshack:3
<: =A0 L
**** /dev/sdh ****
-BILLSSHACK:0
**** /dev/sdi ****
-BILLSSHACK:0
**** /dev/sdj ****
-BILLSSHACK:0
**** /dev/sdk ****
billsshack:3
**** /dev/sdm ****
billsshack:3
Zm$8=A0 2
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: reaid problem at reboot
am 22.06.2011 03:34:46 von Phil Turmel
Hi William,
On 06/21/2011 09:00 PM, william L'Heureux wrote:
>
> for x in /dev/sd[abcdefghijkm] ; do echo "**** $x ****" ; dd if=$x skip=2056 count=2 2>/dev/null |strings ; done
> **** /dev/sda ****
> -BILLSSHACK:0
> /4o.
> **** /dev/sdb ****
> billsshack:3
> **** /dev/sdc ****
> -BILLSSHACK:0
> **** /dev/sdd ****
> -BILLSSHACK:0
> CgW:
> **** /dev/sde ****
> billsshack:3
> **** /dev/sdf ****
> billsshack:3
> **** /dev/sdg ****
> billsshack:3
> <: L
> **** /dev/sdh ****
> -BILLSSHACK:0
> **** /dev/sdi ****
> -BILLSSHACK:0
> **** /dev/sdj ****
> -BILLSSHACK:0
> **** /dev/sdk ****
> billsshack:3
> **** /dev/sdm ****
> billsshack:3
> Zm$8 2
Hmmm. Not what I expected. Ah! Missing "1". Try both of these instead:
for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=$x skip=2056 count=2 2>/dev/null |strings ; done
for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=$x skip=2048 count=1 2>/dev/null |hexdump -C ; done
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
RE: reaid problem at reboot
am 22.06.2011 03:50:46 von wil_c_will
for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=3D$x s=
kip=3D2056 count=3D2 2>/dev/null |strings ; done
**** /dev/sda1 ****
**** /dev/sdb1 ****
=A0LVM2 x[5A%r0N*>
vgRAID60 {
id =3D "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
seqno =3D 19
status =3D ["RESIZEABLE", "READ", "WRITE"]
flags =3D []
extent_size =3D 8192
max_lv =3D 0
max_pv =3D 0
physical_volumes {
pv0 {
id =3D "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfVW"
device =3D "/dev/md1"
status =3D ["ALLOCATABLE"]
flags =3D []
dev_size =3D 7799999488
pe_start =3D 512
pe_count =3D 952148
pv1 {
id =3D "BzZcan-uC9b-MQne-caBo-tYp3-9xkA-NnGuBE"
device =3D "/dev/md2"
status =3D ["ALLOCATABLE"]
flags =3D []
dev_size =3D 7799999488
pe_start =3D 512
pe_count =3D 952148
**** /dev/sdc1 ****
**** /dev/sdd1 ****
!HV]3$xK
M1N+>
vgRQID6=A0 {
*=3D "RUodpI-jXin-D<
s-fC3R-$hjA=3DhQ4l-41dAaJ"
seqnoV
ctates =3D0["RESIZEABLE", "RE7
", 2WRIDE"]
jags =3D []
extent_
ze - 81)2
mqx_lv =3D 0
max_pv =3D F
phisicql_v
6wmes {
pv0 {
&"V5s1yI=3DXD3T-FXlB-VDYd-tUfo-eI#
-hXAfVW2
defice =3D "/dev/md1"
atuc =3D K"AL\
@ATABLE"]
flags =3D
duv_syze -V2814057984
pe_sta
= %12
`e_c
zjt =3D 953864
pv6[{
it =3D 2BzZs
n-uC9b-MQne-caBo-
Np3-)xkA=3DNnGeUA"
device =3D "/dev
stqtus0E"["ALLOCATABLE"]
ags0=3D [M
pize =3D 7814057984Z
e_sdart0=3D 5!q
pe_count =3D 95386
**** /dev/sde1 ****
**** /dev/sdf1 ****
**** /dev/sdg1 ****
=A0LV]2 xK
A%r0N*>
vgRQID6=A0 {
/=3D "RUodpI-jXin-Dz
s-fC3R-$hjA=3DhQ4l-41dAaJ"
seqnoV
stadus - ["RESIZEABLE", "R3
D",0"WRYTE"M
flags =3D []
extent)
ize0=3D 8!92
y_lv =3D 0
max_pv =3D.
pxysisal_f
mumes {
pv0 {
=A0"V%c1yY-XD#D-FXlB-VDYd-tUfo-e?
C-hHQfVG"
duvice =3D "/dev/md1"
tates =3D0["A\LOCATABLE"]
flags K
tev_cize0=3D 7799999488
pe_st
t =3D0512
pe_sount =3D 952148
yd =3D0"BzJcan-uC9b-MQne-caBo[
Yp3=3D9xkQ-NnW
device =3D "/de
md22
sdatuc =3D ["ALLOCATABLE"]|
lagc =3D K]
duv_size =3D 779999948N
pe_ctard =3D %12
pe_count =3D 9521B
**** /dev/sdh1 ****
**** /dev/sdi1 ****
"RiodpI-jXin-
dAaJ"
seqn
a82j
SIfEABLE", "R
extent
max_pv =3D
pv0 {
B-jDYd-tUfo-e
/dev/md1"
ABpE"]
flags
40 =A0 7984
pe_st
53864
C9^-MQne-caBo
deJice =3D "/de
q82B
ALpOCATABLE"]
=A0781405798
7m!_
_cSunt =3D 9538
**** /dev/sdj1 ****
=A0LVM2 x[5A%r0N*>
vgRAID60 {
id =3D "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
seqno =3D 2
status =3D ["RESIZEABLE", "READ", "WRITE"]
flags =3D []
extent_size =3D 8192
max_lv =3D 0
max_pv =3D 0
physical_volumes {
pv0 {
id =3D "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfVW"
device =3D "/dev/md1"
status =3D ["ALLOCATABLE"]
flags =3D []
dev_size =3D 7814057984
pe_start =3D 512
pe_count =3D 953864
pv1 {
id =3D "BzZcan-uC9b-MQne-caBo-tYp3-9xkA-NnGuBE"
device =3D "/dev/md2"
status =3D ["ALLOCATABLE"]
flags =3D []
dev_size =3D 7814057984
pe_start =3D 512
pe_count =3D 953864
**** /dev/sdk1 ****
"RiodpI-jXin-
dAaJ"
seqn
[81Y
ESuZEABLE", "
=3D []
exten
max_pv
pv0 {
VDYd-tUfo-
"/dev/md1"
TA~LE"]
flags
99488
pe_s
952148
b-MQne-caB
6 pS
dYvice =3D "/d
"ApLOCATABLE"
_<$a
=3D 77999994
e__ount =3D 952
**** /dev/sdm1 ****
for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=3D$x s=
kip=3D2048 count=3D1 2>/dev/null |hexdump -C ; done
**** /dev/sda1 ****
00000000=A0 00 00 c0 0f 10 00 c0 0f=A0 20 00 c0 0f e0 02 00 20=A0 |....=
... ...... |
00000010=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 92 26=A0 |....=
........ .&|
00000020=A0 01 00 c0 0f 11 00 c0 0f=A0 20 02 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000030=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 df 10=A0 |....=
........ ..|
00000040=A0 02 00 c0 0f 12 00 c0 0f=A0 20 04 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000050=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 b1 b1=A0 |....=
........ ..|
00000060=A0 03 00 c0 0f 13 00 c0 0f=A0 20 06 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000070=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 6a 11=A0 |....=
........ j.|
00000080=A0 04 00 c0 0f 14 00 c0 0f=A0 20 08 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000090=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 6e b3=A0 |....=
........ n.|
000000a0=A0 05 00 c0 0f 15 00 c0 0f=A0 20 0a c0 0f 00 00 00 20=A0 |....=
... ...... |
000000b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 b5 13=A0 |....=
........ ..|
000000c0=A0 06 00 c0 0f 16 00 c0 0f=A0 20 0c c0 0f 00 00 00 20=A0 |....=
... ...... |
000000d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 db b2=A0 |....=
........ ..|
000000e0=A0 07 00 c0 0f 17 00 c0 0f=A0 20 0e c0 0f 00 00 00 20=A0 |....=
... ...... |
000000f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 00 12=A0 |....=
........ ..|
00000100=A0 08 00 c0 0f 18 00 c0 0f=A0 20 10 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000110=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 d0 b6=A0 |....=
........ ..|
00000120=A0 09 00 c0 0f 19 00 c0 0f=A0 20 12 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000130=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 0b 16=A0 |....=
........ ..|
00000140=A0 0a 00 c0 0f 1a 00 c0 0f=A0 20 14 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000150=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 65 b7=A0 |....=
........ e.|
00000160=A0 0b 00 c0 0f 1b 00 c0 0f=A0 20 16 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000170=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 be 17=A0 |....=
........ ..|
00000180=A0 0c 00 c0 0f 1c 00 c0 0f=A0 20 18 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000190=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 ba b5=A0 |....=
........ ..|
000001a0=A0 0d 00 c0 0f 1d 00 c0 0f=A0 20 1a c0 0f 00 00 00 20=A0 |....=
... ...... |
000001b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 61 15=A0 |....=
........ a.|
000001c0=A0 0e 00 c0 0f 1e 00 c0 0f=A0 20 1c c0 0f 00 00 00 20=A0 |....=
... ...... |
000001d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 0f b4=A0 |....=
........ ..|
000001e0=A0 0f 00 c0 0f 1f 00 c0 0f=A0 20 1e c0 0f 00 00 00 20=A0 |....=
... ...... |
000001f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 d4 14=A0 |....=
........ ..|
00000200
**** /dev/sdb1 ****
00000000=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 00 00=A0 |....=
...........|
*
00000200
**** /dev/sdc1 ****
00000000=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 00 00=A0 |....=
...........|
*
00000200
**** /dev/sdd1 ****
00000000=A0 00 00 c0 0f 10 00 c0 0f=A0 20 00 c0 0f e0 02 00 20=A0 |....=
... ...... |
00000010=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 92 26=A0 |....=
........ .&|
00000020=A0 01 00 c0 0f 11 00 c0 0f=A0 20 02 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000030=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 df 10=A0 |....=
........ ..|
00000040=A0 02 00 c0 0f 12 00 c0 0f=A0 20 04 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000050=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 b1 b1=A0 |....=
........ ..|
00000060=A0 03 00 c0 0f 13 00 c0 0f=A0 20 06 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000070=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 6a 11=A0 |....=
........ j.|
00000080=A0 04 00 c0 0f 14 00 c0 0f=A0 20 08 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000090=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 6e b3=A0 |....=
........ n.|
000000a0=A0 05 00 c0 0f 15 00 c0 0f=A0 20 0a c0 0f 00 00 00 20=A0 |....=
... ...... |
000000b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 b5 13=A0 |....=
........ ..|
000000c0=A0 06 00 c0 0f 16 00 c0 0f=A0 20 0c c0 0f 00 00 00 20=A0 |....=
... ...... |
000000d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 db b2=A0 |....=
........ ..|
000000e0=A0 07 00 c0 0f 17 00 c0 0f=A0 20 0e c0 0f 00 00 00 20=A0 |....=
... ...... |
000000f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 00 12=A0 |....=
........ ..|
00000100=A0 08 00 c0 0f 18 00 c0 0f=A0 20 10 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000110=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 d0 b6=A0 |....=
........ ..|
00000120=A0 09 00 c0 0f 19 00 c0 0f=A0 20 12 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000130=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 0b 16=A0 |....=
........ ..|
00000140=A0 0a 00 c0 0f 1a 00 c0 0f=A0 20 14 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000150=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 65 b7=A0 |....=
........ e.|
00000160=A0 0b 00 c0 0f 1b 00 c0 0f=A0 20 16 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000170=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 be 17=A0 |....=
........ ..|
00000180=A0 0c 00 c0 0f 1c 00 c0 0f=A0 20 18 c0 0f 00 00 00 20=A0 |....=
... ...... |
00000190=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 ba b5=A0 |....=
........ ..|
000001a0=A0 0d 00 c0 0f 1d 00 c0 0f=A0 20 1a c0 0f 00 00 00 20=A0 |....=
... ...... |
000001b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 61 15=A0 |....=
........ a.|
000001c0=A0 0e 00 c0 0f 1e 00 c0 0f=A0 20 1c c0 0f 00 00 00 20=A0 |....=
... ...... |
000001d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 0f b4=A0 |....=
........ ..|
000001e0=A0 0f 00 c0 0f 1f 00 c0 0f=A0 20 1e c0 0f 00 00 00 20=A0 |....=
... ...... |
000001f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 d4 14=A0 |....=
........ ..|
00000200
**** /dev/sde1 ****
00000000=A0 00 00 c0 13 10 00 c0 13=A0 20 00 c0 13 e0 04 00 20=A0 |....=
... ...... |
00000010=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 e0 f7=A0 |....=
........ ..|
00000020=A0 01 00 c0 13 11 00 c0 13=A0 20 02 c0 13 00 00 00 20=A0 |....=
... ...... |
00000030=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 4e 60=A0 |....=
........ N`|
00000040=A0 02 00 c0 13 12 00 c0 13=A0 20 04 c0 13 1f 04 00 20=A0 |....=
... ...... |
00000050=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 55 d2=A0 |....=
........ U.|
00000060=A0 03 00 c0 13 13 00 c0 13=A0 20 06 c0 13 50 00 00 20=A0 |....=
... ...P.. |
00000070=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 ea 70=A0 |....=
........ .p|
00000080=A0 04 00 c0 13 14 00 c0 13=A0 20 08 c0 13 00 00 00 20=A0 |....=
... ...... |
00000090=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 ff c3=A0 |....=
........ ..|
000000a0=A0 05 00 c0 13 15 00 c0 13=A0 20 0a c0 13 00 00 00 20=A0 |....=
... ...... |
000000b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 24 63=A0 |....=
........ $c|
000000c0=A0 06 00 c0 13 16 00 c0 13=A0 20 0c c0 13 00 00 00 20=A0 |....=
... ...... |
000000d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 4a c2=A0 |....=
........ J.|
000000e0=A0 07 00 c0 13 17 00 c0 13=A0 20 0e c0 13 7f 00 00 20=A0 |....=
... ...... |
000000f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 b8 ae=A0 |....=
........ ..|
00000100=A0 08 00 c0 13 18 00 c0 13=A0 20 10 c0 13 00 00 00 20=A0 |....=
... ...... |
00000110=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 41 c6=A0 |....=
........ A.|
00000120=A0 09 00 c0 13 19 00 c0 13=A0 20 12 c0 13 00 00 00 20=A0 |....=
... ...... |
00000130=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 9a 66=A0 |....=
........ .f|
00000140=A0 0a 00 c0 13 1a 00 c0 13=A0 20 14 c0 13 00 00 00 20=A0 |....=
... ...... |
00000150=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 f4 c7=A0 |....=
........ ..|
00000160=A0 0b 00 c0 13 1b 00 c0 13=A0 20 16 c0 13 00 00 00 20=A0 |....=
... ...... |
00000170=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 2f 67=A0 |....=
........ /g|
00000180=A0 0c 00 c0 13 1c 00 c0 13=A0 20 18 c0 13 00 00 00 20=A0 |....=
... ...... |
00000190=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 2b c5=A0 |....=
........ +.|
000001a0=A0 0d 00 c0 13 1d 00 c0 13=A0 20 1a c0 13 00 00 00 20=A0 |....=
... ...... |
000001b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 f0 65=A0 |....=
........ .e|
000001c0=A0 0e 00 c0 13 1e 00 c0 13=A0 20 1c c0 13 00 00 00 20=A0 |....=
... ...... |
000001d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 9e c4=A0 |....=
........ ..|
000001e0=A0 0f 00 c0 13 1f 00 c0 13=A0 20 1e c0 13 00 00 00 20=A0 |....=
... ...... |
000001f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 45 64=A0 |....=
........ Ed|
00000200
**** /dev/sdf1 ****
00000000=A0 00 00 c0 03 10 00 c0 03=A0 20 00 c0 03 0c 08 00 20=A0 |....=
... ...... |
00000010=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 a7 fc=A0 |....=
........ ..|
00000020=A0 01 00 c0 03 11 00 c0 03=A0 20 02 c0 03 00 00 00 20=A0 |....=
... ...... |
00000030=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 38 cd=A0 |....=
........ 8.|
00000040=A0 02 00 c0 03 12 00 c0 03=A0 20 04 c0 03 00 00 00 20=A0 |....=
... ...... |
00000050=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 56 6c=A0 |....=
........ Vl|
00000060=A0 03 00 c0 03 13 00 c0 03=A0 20 06 c0 03 00 00 00 20=A0 |....=
... ...... |
00000070=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 8d cc=A0 |....=
........ ..|
00000080=A0 04 00 c0 03 14 00 c0 03=A0 20 08 c0 03 00 00 00 20=A0 |....=
... ...... |
00000090=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 89 6e=A0 |....=
........ .n|
000000a0=A0 05 00 c0 03 15 00 c0 03=A0 20 0a c0 03 00 00 00 20=A0 |....=
... ...... |
000000b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 52 ce=A0 |....=
........ R.|
000000c0=A0 06 00 c0 03 16 00 c0 03=A0 20 0c c0 03 00 00 00 20=A0 |....=
... ...... |
000000d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 3c 6f=A0 |....=
........
000000e0=A0 07 00 c0 03 17 00 c0 03=A0 20 0e c0 03 00 00 00 20=A0 |....=
... ...... |
000000f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 e7 cf=A0 |....=
........ ..|
00000100=A0 08 00 c0 03 18 00 c0 03=A0 20 10 c0 03 00 00 00 20=A0 |....=
... ...... |
00000110=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 37 6b=A0 |....=
........ 7k|
00000120=A0 09 00 c0 03 19 00 c0 03=A0 20 12 c0 03 00 00 00 20=A0 |....=
... ...... |
00000130=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 ec cb=A0 |....=
........ ..|
00000140=A0 0a 00 c0 03 1a 00 c0 03=A0 20 14 c0 03 00 00 00 20=A0 |....=
... ...... |
00000150=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 82 6a=A0 |....=
........ .j|
00000160=A0 0b 00 c0 03 1b 00 c0 03=A0 20 16 c0 03 00 00 00 20=A0 |....=
... ...... |
00000170=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 59 ca=A0 |....=
........ Y.|
00000180=A0 0c 00 c0 03 1c 00 c0 03=A0 20 18 c0 03 00 00 00 20=A0 |....=
... ...... |
00000190=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 5d 68=A0 |....=
........ ]h|
000001a0=A0 0d 00 c0 03 1d 00 c0 03=A0 20 1a c0 03 00 00 00 20=A0 |....=
... ...... |
000001b0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 86 c8=A0 |....=
........ ..|
000001c0=A0 0e 00 c0 03 1e 00 c0 03=A0 20 1c c0 03 00 00 00 20=A0 |....=
... ...... |
000001d0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 e8 69=A0 |....=
........ .i|
000001e0=A0 0f 00 c0 03 1f 00 c0 03=A0 20 1e c0 03 00 00 00 20=A0 |....=
... ...... |
000001f0=A0 00 00 05 00 00 00 00 00=A0 00 00 00 00 00 20 33 c9=A0 |....=
........ 3.|
00000200
**** /dev/sdg1 ****
00000000=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 ec 0c 00 00=A0 |....=
...........|
00000010=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 47 0b=A0 |....=
.........G.|
00000020=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000030=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000040=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 1f 04 00 00=A0 |....=
...........|
00000050=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 03 be=A0 |....=
...........|
00000060=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 50 00 00 00=A0 |....=
.......P...|
00000070=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 67 bc=A0 |....=
.........g.|
00000080=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000090=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000000a0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
000000b0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000000c0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
000000d0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000000e0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 7f 00 00 00=A0 |....=
...........|
000000f0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 5f 61=A0 |....=
........._a|
00000100=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000110=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000120=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000130=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000140=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000150=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000160=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000170=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000180=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
00000190=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000001a0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
000001b0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000001c0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
000001d0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
000001e0=A0 00 00 00 10 00 00 00 10=A0 00 00 00 10 00 00 00 00=A0 |....=
...........|
000001f0=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 76 ad=A0 |....=
.........v.|
00000200
**** /dev/sdh1 ****
00000000=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 00 00=A0 |....=
...........|
*
00000200
**** /dev/sdi1 ****
00000000=A0 00 00 4e 78 80 00 4e 78=A0 1d 00 4e 78 53 10 00 1d=A0 |..Nx=
.Nx..NxS...|
00000010=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d e4 2d=A0 |..(.=
..........-|
00000020=A0 08 00 4e 78 88 00 4e 78=A0 1d 10 4e 78 00 00 00 1d=A0 |..Nx=
.Nx..Nx....|
00000030=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d b6 80=A0 |..(.=
...........|
00000040=A0 10 00 4e 78 90 00 4e 78=A0 1d 20 4e 78 00 00 00 1d=A0 |..Nx=
.Nx. Nx....|
00000050=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d e1 e1=A0 |..(.=
...........|
00000060=A0 18 00 4e 78 98 00 4e 78=A0 1d 30 4e 78 00 00 00 1d=A0 |..Nx=
.Nx.0Nx....|
00000070=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 77 88=A0 |..(.=
.........w.|
00000080=A0 20 00 4e 78 a0 00 4e 78=A0 1d 40 4e 78 00 00 00 1d=A0 | .Nx=
.Nx.@Nx....|
00000090=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 57 f1=A0 |..(.=
.........W.|
000000a0=A0 28 00 4e 78 a8 00 4e 78=A0 1d 50 4e 78 00 00 00 1d=A0 |(.Nx=
.Nx.PNx....|
000000b0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d c1 98=A0 |..(.=
...........|
000000c0=A0 30 00 4e 78 b0 00 4e 78=A0 1d 60 4e 78 00 00 00 1d=A0 |0.Nx=
.Nx.`Nx....|
000000d0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 96 f9=A0 |..(.=
...........|
000000e0=A0 38 00 4e 78 b8 00 4e 78=A0 1d 70 4e 78 00 00 00 1d=A0 |8.Nx=
.Nx.pNx....|
000000f0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 00 90=A0 |..(.=
...........|
00000100=A0 40 00 4e 78 c0 00 4e 78=A0 1d 80 4e 78 00 00 00 1d=A0 |@.Nx=
.Nx..Nx....|
00000110=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d ce d9=A0 |..(.=
...........|
00000120=A0 48 00 4e 78 c8 00 4e 78=A0 1d 90 4e 78 00 00 00 1d=A0 |H.Nx=
.Nx..Nx....|
00000130=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 58 b0=A0 |..(.=
.........X.|
00000140=A0 50 00 4e 78 d0 00 4e 78=A0 1d a0 4e 78 00 00 00 1d=A0 |P.Nx=
.Nx..Nx....|
00000150=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 0f d1=A0 |..(.=
...........|
00000160=A0 58 00 4e 78 d8 00 4e 78=A0 1d b0 4e 78 00 00 00 1d=A0 |X.Nx=
.Nx..Nx....|
00000170=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 99 b8=A0 |..(.=
...........|
00000180=A0 60 00 4e 78 e0 00 4e 78=A0 1d c0 4e 78 00 00 00 1d=A0 |`.Nx=
.Nx..Nx....|
00000190=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d b9 c1=A0 |..(.=
...........|
000001a0=A0 68 00 4e 78 e8 00 4e 78=A0 1d d0 4e 78 00 00 00 1d=A0 |h.Nx=
.Nx..Nx....|
000001b0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 2f a8=A0 |..(.=
........./.|
000001c0=A0 70 00 4e 78 f0 00 4e 78=A0 1d e0 4e 78 00 00 00 1d=A0 |p.Nx=
.Nx..Nx....|
000001d0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d 78 c9=A0 |..(.=
.........x.|
000001e0=A0 78 00 4e 78 f8 00 4e 78=A0 1d f0 4e 78 00 00 00 1d=A0 |x.Nx=
.Nx..Nx....|
000001f0=A0 00 00 28 00 00 00 00 00=A0 00 00 00 00 00 1d ee a0=A0 |..(.=
...........|
00000200
**** /dev/sdj1 ****
00000000=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 00 00=A0 |....=
...........|
*
00000200
**** /dev/sdk1 ****
00000000=A0 00 00 69 94 c0 00 69 94=A0 9d 00 69 94 63 00 00 9d=A0 |..i.=
.i...i.c...|
00000010=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d f5 3c=A0 |..<.=
..........<|
00000020=A0 0c 00 69 94 cc 00 69 94=A0 9d 18 69 94 00 00 00 9d=A0 |..i.=
.i...i.....|
00000030=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d aa 34=A0 |..<.=
..........4|
00000040=A0 18 00 69 94 d8 00 69 94=A0 9d 30 69 94 f8 20 00 9d=A0 |..i.=
.i..0i.. ..|
00000050=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d d7 73=A0 |..<.=
..........s|
00000060=A0 14 00 69 94 d4 00 69 94=A0 9d 28 69 94 ba 00 00 9d=A0 |..i.=
.i..(i.....|
00000070=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 0d b0=A0 |..<.=
...........|
00000080=A0 30 00 69 94 f0 00 69 94=A0 9d 60 69 94 00 00 00 9d=A0 |0.i.=
.i..`i.....|
00000090=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d b5 f3=A0 |..<.=
...........|
000000a0=A0 3c 00 69 94 fc 00 69 94=A0 9d 78 69 94 00 00 00 9d=A0 |<.i.=
.i..xi.....|
000000b0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 68 20=A0 |..<.=
.........h |
000000c0=A0 28 00 69 94 e8 00 69 94=A0 9d 50 69 94 00 00 00 9d=A0 |(.i.=
.i..Pi.....|
000000d0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 9a ff=A0 |..<.=
...........|
000000e0=A0 24 00 69 94 e4 00 69 94=A0 9d 48 69 94 df 00 00 9d=A0 |$.i.=
.i..Hi.....|
000000f0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 12 02=A0 |..<.=
...........|
00000100=A0 60 00 69 94 a0 00 69 94=A0 9d c0 69 94 00 00 00 9d=A0 |`.i.=
.i...i.....|
00000110=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d ee cf=A0 |..<.=
...........|
00000120=A0 6c 00 69 94 ac 00 69 94=A0 9d d8 69 94 00 00 00 9d=A0 |l.i.=
.i...i.....|
00000130=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 33 1c=A0 |..<.=
.........3.|
00000140=A0 78 00 69 94 b8 00 69 94=A0 9d f0 69 94 00 00 00 9d=A0 |x.i.=
.i...i.....|
00000150=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d c1 c3=A0 |..<.=
...........|
00000160=A0 74 00 69 94 b4 00 69 94=A0 9d e8 69 94 00 00 00 9d=A0 |t.i.=
.i...i.....|
00000170=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 1c 10=A0 |..<.=
...........|
00000180=A0 50 00 69 94 90 00 69 94=A0 9d a0 69 94 00 00 00 9d=A0 |P.i.=
.i...i.....|
00000190=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 2c db=A0 |..<.=
.........,.|
000001a0=A0 5c 00 69 94 9c 00 69 94=A0 9d b8 69 94 00 00 00 9d=A0 |\.i.=
.i...i.....|
000001b0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d f1 08=A0 |..<.=
...........|
000001c0=A0 48 00 69 94 88 00 69 94=A0 9d 90 69 94 00 00 00 9d=A0 |H.i.=
.i...i.....|
000001d0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d 03 d7=A0 |..<.=
...........|
000001e0=A0 44 00 69 94 84 00 69 94=A0 9d 88 69 94 00 00 00 9d=A0 |D.i.=
.i...i.....|
000001f0=A0 00 00 3c 00 00 00 00 00=A0 00 00 00 00 00 9d de 04=A0 |..<.=
...........|
00000200
**** /dev/sdm1 ****
00000000=A0 00 00 00 00 00 00 00 00=A0 00 00 00 00 00 00 00 00=A0 |....=
...........|
*
00000200
btw, /dev/md1 is fine 100%
=A0
the drives for /dev/md0 --> 'a', 'c', 'd', 'h', 'i', 'j'=20
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: reaid problem at reboot
am 22.06.2011 04:30:25 von Phil Turmel
Hi William,
Progress!
On 06/21/2011 09:50 PM, william L'Heureux wrote:
> for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=$x skip=2056 count=2 2>/dev/null |strings ; done
> **** /dev/sda1 ****
> **** /dev/sdb1 ****
[...]
> **** /dev/sdc1 ****
> **** /dev/sdd1 ****
> !HV]3$xK
> M1N+>
> vgRQID6 {
> *= "RUodpI-jXin-D<
> s-fC3R-$hjA=hQ4l-41dAaJ"
> seqnoV
> ctates =0["RESIZEABLE", "RE7
> ", 2WRIDE"]
> jags = []
> extent_
> ze - 81)2
> mqx_lv = 0
> max_pv = F
> phisicql_v
> 6wmes {
> pv0 {
> &"V5s1yI=XD3T-FXlB-VDYd-tUfo-eI#
> -hXAfVW2
> defice = "/dev/md1"
> atuc = K"AL\
> @ATABLE"]
> flags =
> duv_syze -V2814057984
> pe_sta
> = %12
> `e_c
> zjt = 953864
> pv6[{
> it = 2BzZs
> n-uC9b-MQne-caBo-
> Np3-)xkA=NnGeUA"
> device = "/dev
> stqtus0E"["ALLOCATABLE"]
> ags0= [M
> pize = 7814057984Z
> e_sdart0= 5!q
> pe_count = 95386
> **** /dev/sde1 ****
> **** /dev/sdf1 ****
> **** /dev/sdg1 ****
[...]
> **** /dev/sdh1 ****
> **** /dev/sdi1 ****
> "RiodpI-jXin-
> dAaJ"
> seqn
> a82j
> SIfEABLE", "R
> extent
> max_pv =
> pv0 {
> B-jDYd-tUfo-e
> /dev/md1"
> ABpE"]
> flags
> 40 7984
> pe_st
> 53864
> C9^-MQne-caBo
> deJice = "/de
> q82B
> ALpOCATABLE"]
> 781405798
> 7m!_
> _cSunt = 9538
> **** /dev/sdj1 ****
> LVM2 x[5A%r0N*>
> vgRAID60 {
> id = "RUodpI-jXin-DEjs-fS3R-4hjA-hQ4l-41dAaJ"
> seqno = 2
> status = ["RESIZEABLE", "READ", "WRITE"]
> flags = []
> extent_size = 8192
> max_lv = 0
> max_pv = 0
> physical_volumes {
> pv0 {
> id = "V5c1yI-XD3D-FXlB-VDYd-tUfo-eIUC-hXQfVW"
> device = "/dev/md1"
> status = ["ALLOCATABLE"]
> flags = []
> dev_size = 7814057984
> pe_start = 512
> pe_count = 953864
> pv1 {
> id = "BzZcan-uC9b-MQne-caBo-tYp3-9xkA-NnGuBE"
> device = "/dev/md2"
> status = ["ALLOCATABLE"]
> flags = []
> dev_size = 7814057984
> pe_start = 512
> pe_count = 953864
> **** /dev/sdk1 ****
[...]
> **** /dev/sdm1 ****
>
>
> for x in /dev/sd[abcdefghijkm]1 ; do echo "**** $x ****" ; dd if=$x skip=2048 count=1 2>/dev/null |hexdump -C ; done
> **** /dev/sda1 ****
[...] (These weren't helpful, after all.)
> btw, /dev/md1 is fine 100%
Good. That simplifies the rest.
> the drives for /dev/md0 --> 'a', 'c', 'd', 'h', 'i', 'j'
Based on the above, 'j' is almost certainly the first disk in md0, and I suspect 'i' is the 'P' parity drive, and 'd' is the 'Q' parity drive.
Stop LVM, and stop md0, then re-create (re-assembly won't fix this):
mdadm --create --assume-clean /dev/md0 --raid-devices=6 --level=6 --chunk=128 /dev/sd{j,a,c,h,i,d}1
(You must not use the [] syntax here..., and "--assume-clean" is vital.)
restart LVM, then "fsck -n" to test.
If not yet good, shuffle 'a', 'c', & 'h'.
If still not good, swap 'i' & 'd', then try the combinations of 'a', 'c', and 'h' again.
Please let us know what combination, if any, works. Absolutely do *not* attempt to mount until "fsck -n" reports no problems, or not many problems.
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
RE: reaid problem at reboot
am 22.06.2011 05:34:21 von wil_c_will
/dev/sdj1 cant be first, its /dev/sda1.
My friend made a python script. take a look.
cat rebuild.py
#!/usr/bin/env python
#=A0 /dev/sdj1 /dev/sdc1 /dev/sda1 /dev/sdd1 /dev/sdh1 /dev/sdi1
import os;
import time;
from itertools import permutations;
#aLetters =3D ( 'a', 'c', 'd', 'h', 'i', 'j' );
aLetters =3D ( 'j', 'c', 'h' );
j =3D [];
for i in permutations(aLetters):
=A0 if i[0:3] == j[0:3]: continue;
=A0 j =3D i;
=A0 time.sleep(0.1);
=A0 os.system("vgchange -an vgRAID60 2>/dev/null >/de=
v/null");
=A0 os.system("mdadm -S /dev/md127 2>/dev/null >/dev/=
null");
=A0 os.system("mdadm -S /dev/md126 2>/dev/null >/dev/=
null");
=A0 os.system("mdadm -S /dev/md0 2>/dev/null >/dev/nu=
ll");
=A0 (hStdin, hStdout) =3D os.popen4("mdadm --create /=
dev/md0 --level=3D6 --raid-devices=3D6 --assume-clean --chunk=3D128 /de=
v/sda1 /dev/sd%s1 /dev/sd%s1 /dev/sd%s1 missing missing" % (i[0:3]));
=A0 hStdin.write("y\n");
=A0 hStdin.close();
=A0 hStdout.close();
=A0 time.sleep(0.5);
=A0 (hStdin, hStdout) =3D os.popen4("pvck /dev/md0");
=A0 sOutput =3D hStdout.read();
=A0 hStdin.close();
=A0 hStdout.close();
=A0 print("/dev/sdj1 /dev/sd%s1 /dev/sd%s1 /dev/sd%s1=
missing missing" % (i[0:3]));
=A0 fRAID =3D open("/dev/md0", 'r');
=A0 try:
=A0 fRAID.seek(4608);
=A0 sLVM =3D fRAID.read(128);
=A0 fRAID.close();
=A0 except:
=A0 fRAID.close();
=A0 continue;
=A0 print(sLVM);
=A0 if sOutput.find("Found label") !=3D -1:
=A0 os.system("/bin/bash");
# os.system("vgchange -ay vgR=
AID60 2>/dev/null >/dev/null");
# os.system("vgmknodes");
# iExit =3D os.system("e2fsck=
-n /dev/vgRAID60/data0");
# if iExit == 0:
# =A0=A 0 pri=
nt("/dev/sd%s1 /dev/sd%s1 /dev/sd%s1 /dev/sd%s1 missing missing" % (i))=
;
i can see the data with the combinatin below, but there is a lot of err=
ors, sounds like a rebuild was started(beghining of the disk) then was =
canceled
we made a snapshot, run a e2fsck on it and im still(not now, gotta slee=
p) add 1 missing or 2. after the e2fsck i mount the snap, look at the d=
ata, check corruption, rince and repeat with another combination of mis=
sing and not. i rate the ones with less corruption
the only e2fsck working is with --->>> a,j,c,h,i,d
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: reaid problem at reboot
am 22.06.2011 05:53:37 von Phil Turmel
On 06/21/2011 11:34 PM, william L'Heureux wrote:
>
> /dev/sdj1 cant be first, its /dev/sda1.
'j' had the lvm metadata in the right spot. It was first. If it's not now, then your partial rebuild scrambled it. I don't think I have any more expertise to offer at this point.
> My friend made a python script. take a look.
>
> cat rebuild.py
[...]
Nice to automate the search, especially with many combinations.
> i can see the data with the combinatin below, but there is a lot of errors, sounds like a rebuild was started(beghining of the disk) then was canceled
That hurts.
> we made a snapshot, run a e2fsck on it and im still(not now, gotta sleep) add 1 missing or 2. after the e2fsck i mount the snap, look at the data, check corruption, rince and repeat with another combination of missing and not. i rate the ones with less corruption
>
> the only e2fsck working is with --->>> a,j,c,h,i,d
Good luck.
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