[Bug 943397] Re: cannot re-add a briefly disconnected disk to a RAID1 set
Clint Byrum
clint at fewbar.com
Wed Feb 29 16:53:25 UTC 2012
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/943397
Title:
cannot re-add a briefly disconnected disk to a RAID1 set
Status in “mdadm” package in Ubuntu:
New
Bug description:
While performing the RAID 1 tests for beta1 candidates:
http://testcases.qa.ubuntu.com/Install/ServerRAID1
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 at p-b1-32:~$ sudo mdadm --examine /dev/vdb1
/dev/vdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 9595b615:a4ab22b6:f400061f:da929b66
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:9ebed3bb:ea008191:65b60cf5
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 at p-b1-32:~$ sudo mdadm --examine /dev/vda1
/dev/vda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 9595b615:a4ab22b6:f400061f:da929b66
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:79bdac7b:635987fe:0f80e387
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
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
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=/boot/vmlinuz-3.2.0-17-generic-pae root=UUID=26ca1d0e-4569-49f5-bb18-5eefb72fccbf ro
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:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/943397/+subscriptions
More information about the foundations-bugs
mailing list