cannot re-add a briefly disconnected disk to a RAID1 set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
While performing the RAID 1 tests for beta1 candidates:
http://
I was unable to complete the first step where mdadm --add is used.
$ sudo mdadm --add /dev/md0 /dev/vdb1
mdadm: /dev/vdb1 reports being an active member for /dev/md0, but a --re-add fails.
mdadm: not performing --add as that would convert /dev/vdb1 in to a spare.
mdadm: To make this a spare, use "mdadm --zero-superblock /dev/vdb1" first.
$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 vdb5[1] vda5[0]
96244 blocks super 1.2 [2/2] [UU]
md2 : active raid1 vda6[0]
425972 blocks super 1.2 [2/1] [U_]
md0 : active raid1 vda1[0]
1569780 blocks super 1.2 [2/1] [U_]
ubuntu@p-b1-32:~$ sudo mdadm --examine /dev/vdb1
/dev/vdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 9595b615:
Name : p-b1-32:0 (local to host p-b1-32)
Creation Time : Tue Feb 28 15:29:49 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 3139584 (1533.26 MiB 1607.47 MB)
Array Size : 3139560 (1533.25 MiB 1607.45 MB)
Used Dev Size : 3139560 (1533.25 MiB 1607.45 MB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : c2fa7f2d:
Update Time : Tue Feb 28 16:37:57 2012
Checksum : 7458a521 - correct
Events : 21
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing)
ubuntu@p-b1-32:~$ sudo mdadm --examine /dev/vda1
/dev/vda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 9595b615:
Name : p-b1-32:0 (local to host p-b1-32)
Creation Time : Tue Feb 28 15:29:49 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 3139584 (1533.26 MiB 1607.47 MB)
Array Size : 3139560 (1533.25 MiB 1607.45 MB)
Used Dev Size : 3139560 (1533.25 MiB 1607.45 MB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 2c994b1e:
Update Time : Tue Feb 28 17:11:58 2012
Checksum : 24d76cfe - correct
Events : 145
Device Role : Active device 0
Array State : A. ('A' == active, '.' == missing)
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mdadm 3.2.3-2ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-17-
ApportVersion: 1.93-0ubuntu2
Architecture: i386
Date: Wed Feb 29 08:47:37 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta i386 (20120228.1)
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: mdadm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/943397
http://