* imsm identification problem. mdadm 3.3
@ 2013-10-03 2:23 Wakko Warner
2013-10-08 18:23 ` Martin Wilck
0 siblings, 1 reply; 3+ messages in thread
From: Wakko Warner @ 2013-10-03 2:23 UTC (permalink / raw)
To: linux-raid
Please keep me in CC.
I compiled v3.3 to see if the problem was still there. It is. The problem.
I setup an imsm array with 2 volumes. a 200mb raid10 volume, and a raid5 on
the remaining space. This was done from the bios.
mdadm detected the array and volumes ok, but the names are wrong. the 200mb
was named EFI and the other was named ani.
/dev/md127 is the imsm container.
126 is the volume ani. (This is about 7tb. disks are 3tb each and
still initializing)
125 is the volume EFI.
According to --examine /dev/md127,
[EFI] UUID is ad256dcf:38ff8fed:8c27647e:24f61d81
[ani] UUID is 9fe3c18a:0e9e2d4f:613456ca:b9989dcc
However --detail --export /dev/md125 shows the name as ani with UUID
ad256dcf:38ff8fed:8c27647e:24f61d81 and --detail --export /dev/md126 shows
the name EFI with UUID 9fe3c18a:0e9e2d4f:613456ca:b9989dcc.
I did manually bring these up using mdadm 3.2.5-5 (Debian). I don't remember
the exact commands off the top of my head, but they should be in my history if
needed.
Here's some output of various commands using mdadm 3.3:
# ./mdadm --detail --export /dev/md126
MD_LEVEL=raid5
MD_DEVICES=4
MD_CONTAINER=/dev/md127
MD_MEMBER=1
MD_UUID=9fe3c18a:0e9e2d4f:613456ca:b9989dcc
MD_DEVNAME=EFI
MD_DEVICE_sda_ROLE=0
MD_DEVICE_sda_DEV=/dev/sda
MD_DEVICE_sdb_ROLE=1
MD_DEVICE_sdb_DEV=/dev/sdb
MD_DEVICE_sdc_ROLE=2
MD_DEVICE_sdc_DEV=/dev/sdc
MD_DEVICE_sdd_ROLE=3
MD_DEVICE_sdd_DEV=/dev/sdd
# ./mdadm --detail --export /dev/md125
MD_LEVEL=raid10
MD_DEVICES=4
MD_CONTAINER=/dev/md127
MD_MEMBER=0
MD_UUID=ad256dcf:38ff8fed:8c27647e:24f61d81
MD_DEVNAME=ani
MD_DEVICE_sda_ROLE=0
MD_DEVICE_sda_DEV=/dev/sda
MD_DEVICE_sdb_ROLE=1
MD_DEVICE_sdb_DEV=/dev/sdb
MD_DEVICE_sdc_ROLE=2
MD_DEVICE_sdc_DEV=/dev/sdc
MD_DEVICE_sdd_ROLE=3
MD_DEVICE_sdd_DEV=/dev/sdd
# ./mdadm --detail --export /dev/md127
MD_LEVEL=container
MD_DEVICES=4
MD_METADATA=imsm
MD_UUID=201ddcce:1db6911a:255409fa:5d10b453
MD_DEVICE_sda_ROLE=spare
MD_DEVICE_sda_DEV=/dev/sda
MD_DEVICE_sdb_ROLE=spare
MD_DEVICE_sdb_DEV=/dev/sdb
MD_DEVICE_sdc_ROLE=spare
MD_DEVICE_sdc_DEV=/dev/sdc
MD_DEVICE_sdd_ROLE=spare
MD_DEVICE_sdd_DEV=/dev/sdd
# ./mdadm --examine /dev/md127
/dev/md127:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : a644757f
Family : a644757f
Generation : 00000041
Attributes : All supported
UUID : 201ddcce:1db6911a:255409fa:5d10b453
Checksum : b634b595 correct
MPB Sectors : 2
Disks : 4
RAID Devices : 2
Disk01 Serial : 9XK0FE2B
State : active
Id : 00000001
Usable Size : 5860526862 (2794.52 GiB 3000.59 GB)
[EFI]:
UUID : ad256dcf:38ff8fed:8c27647e:24f61d81
RAID Level : 10
Members : 4
Slots : [UUUU]
Failed disk : none
This Slot : 1
Array Size : 417792 (204.03 MiB 213.91 MB)
Per Dev Size : 209160 (102.15 MiB 107.09 MB)
Sector Offset : 0
Num Stripes : 816
Chunk Size : 64 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
[ani]:
UUID : 9fe3c18a:0e9e2d4f:613456ca:b9989dcc
RAID Level : 5 <-- 5
Members : 4 <-- 4
Slots : [UUUU] <-- [UUUU]
Failed disk : none
This Slot : 1
Array Size : 16701927424 (7964.10 GiB 8551.39 GB)
Per Dev Size : 5567309576 (2654.70 GiB 2850.46 GB)
Sector Offset : 213256
Num Stripes : 21747302
Chunk Size : 128 KiB <-- 128 KiB
Reserved : 0
Migrate State : initialize
Map State : normal <-- uninitialized
Checkpoint : 505646 (1024)
Dirty State : clean
Disk00 Serial : 9XK0FBJA
State : active
Id : 00000000
Usable Size : 5860526862 (2794.52 GiB 3000.59 GB)
Disk02 Serial : 9XK0DQLC
State : active
Id : 00000002
Usable Size : 5860526862 (2794.52 GiB 3000.59 GB)
Disk03 Serial : 9XK0FFYD
State : active
Id : 00000003
Usable Size : 5860526862 (2794.52 GiB 3000.59 GB)
#
--
Microsoft has beaten Volkswagen's world record. Volkswagen only created 22
million bugs.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imsm identification problem. mdadm 3.3
2013-10-03 2:23 imsm identification problem. mdadm 3.3 Wakko Warner
@ 2013-10-08 18:23 ` Martin Wilck
2013-10-08 21:28 ` Wakko Warner
0 siblings, 1 reply; 3+ messages in thread
From: Martin Wilck @ 2013-10-08 18:23 UTC (permalink / raw)
To: Wakko Warner; +Cc: linux-raid
On 10/03/2013 04:23 AM, Wakko Warner wrote:
> Please keep me in CC.
>
> I compiled v3.3 to see if the problem was still there. It is. The problem.
> I setup an imsm array with 2 volumes. a 200mb raid10 volume, and a raid5 on
> the remaining space. This was done from the bios.
>
> mdadm detected the array and volumes ok, but the names are wrong. the 200mb
> was named EFI and the other was named ani.
>
> /dev/md127 is the imsm container.
> 126 is the volume ani. (This is about 7tb. disks are 3tb each and
> still initializing)
> 125 is the volume EFI.
>
> According to --examine /dev/md127,
> [EFI] UUID is ad256dcf:38ff8fed:8c27647e:24f61d81
> [ani] UUID is 9fe3c18a:0e9e2d4f:613456ca:b9989dcc
>
> However --detail --export /dev/md125 shows the name as ani with UUID
> ad256dcf:38ff8fed:8c27647e:24f61d81 and --detail --export /dev/md126 shows
> the name EFI with UUID 9fe3c18a:0e9e2d4f:613456ca:b9989dcc.
>
> I did manually bring these up using mdadm 3.2.5-5 (Debian). I don't remember
> the exact commands off the top of my head, but they should be in my history if
> needed.
Do I understand correctly, this is the situation after bringing up the
array with mdadm 3.2.5, you are just looking at the state of affairs
with mdadm 3.3? If yes, I wouldn't expect any difference between the
output of mdadm 3.3 and 3.2.5. Both just reflect the current state of md
in the kernel (MD_DEVNAME is just the device name the array has under
/dev/md).
In order to see if your problem is fixed with mdadm 3.3, you must
assemble the array with 3.3 (and mdmon from 3.3 should be used as well).
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: imsm identification problem. mdadm 3.3
2013-10-08 18:23 ` Martin Wilck
@ 2013-10-08 21:28 ` Wakko Warner
0 siblings, 0 replies; 3+ messages in thread
From: Wakko Warner @ 2013-10-08 21:28 UTC (permalink / raw)
To: Martin Wilck; +Cc: linux-raid
Please keep me in CC.
Martin Wilck wrote:
> On 10/03/2013 04:23 AM, Wakko Warner wrote:
> >
> > I compiled v3.3 to see if the problem was still there. It is. The problem.
> > I setup an imsm array with 2 volumes. a 200mb raid10 volume, and a raid5 on
> > the remaining space. This was done from the bios.
> >
> > mdadm detected the array and volumes ok, but the names are wrong. the 200mb
> > was named EFI and the other was named ani.
> >
> > /dev/md127 is the imsm container.
> > 126 is the volume ani. (This is about 7tb. disks are 3tb each and
> > still initializing)
> > 125 is the volume EFI.
> >
> > According to --examine /dev/md127,
> > [EFI] UUID is ad256dcf:38ff8fed:8c27647e:24f61d81
> > [ani] UUID is 9fe3c18a:0e9e2d4f:613456ca:b9989dcc
> >
> > However --detail --export /dev/md125 shows the name as ani with UUID
> > ad256dcf:38ff8fed:8c27647e:24f61d81 and --detail --export /dev/md126 shows
> > the name EFI with UUID 9fe3c18a:0e9e2d4f:613456ca:b9989dcc.
> >
> > I did manually bring these up using mdadm 3.2.5-5 (Debian). I don't remember
> > the exact commands off the top of my head, but they should be in my history if
> > needed.
>
> Do I understand correctly, this is the situation after bringing up the
> array with mdadm 3.2.5, you are just looking at the state of affairs
> with mdadm 3.3? If yes, I wouldn't expect any difference between the
> output of mdadm 3.3 and 3.2.5. Both just reflect the current state of md
> in the kernel (MD_DEVNAME is just the device name the array has under
> /dev/md).
Ok, I wasn't sure. I believe I did assemble with 3.2.5 but not with 3.3.
This was a set of test disks. I'm not concerned with any data.
When I boot this system (mdadm has not been setup to start arrays on this
system, or atleast it shouldn't be), what is the best way to assemble the
imsm arrays?
did an mdadm -Es >> /etc/mdadm/mdadm.conf and attempted to mdadm -As (which
didn't assemble anything). I think that was with 3.2.5 as well.
If there is anything special that needs to go into mdadm.conf, please let me
know.
> In order to see if your problem is fixed with mdadm 3.3, you must
> assemble the array with 3.3 (and mdmon from 3.3 should be used as well).
mdmon should be disabled on the system I'm testing with.
--
Microsoft has beaten Volkswagen's world record. Volkswagen only created 22
million bugs.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-08 21:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 2:23 imsm identification problem. mdadm 3.3 Wakko Warner
2013-10-08 18:23 ` Martin Wilck
2013-10-08 21:28 ` Wakko Warner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).