[Bug 803737] Re: mdadm doesn't start array with external bitmap
Andrey
803737 at bugs.launchpad.net
Fri Jul 1 12:55:36 UTC 2011
seems like rootfs is not yet available during raid assembly.
any ideas?
--
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/803737
Title:
mdadm doesn't start array with external bitmap
Status in mdadm - Tool for managing linux software RAID arrays.:
New
Status in “mdadm” package in Ubuntu:
New
Bug description:
hi, all!
i've just created a raid5 array with mdadm:
root at nas:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdf1[5] sde1[3] sdd1[2] sdc1[1] sdb1[0]
7814047744 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
bitmap: 0/466 pages [0KB], 2048KB chunk, file: /var/md0_wr_intent
unused devices: <none>
root at nas:~# mdadm --detail --scan
ARRAY /dev/md/0 metadata=1.2 bitmap=/var/md0_wr_intent name=nas:0 UUID=6b03bf85:5d6c5d4e:782f3370:ae7fbb89
root at nas:~# mdadm --detail --scan >> /etc/mdadm/mdadm.conf
root at nas:~# update-initramfs -k all -u
but after reboot i get te following:
root at nas:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdf1[5](S) sde1[3](S) sdd1[2](S) sdc1[1](S) sdb1[0](S)
9767562680 blocks super 1.2
unused devices: <none>
if i issue mdadm --stop /dev/md0 and mdadm --assemble --scan, it
assembles as desired!
root at nas:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdb1[0] sdf1[5] sde1[3] sdd1[2] sdc1[1]
7814047744 blocks super 1.2 level 5, 512k chunk, algorithm 2 [5/5] [UUUUU]
bitmap: 0/466 pages [0KB], 2048KB chunk, file: /var/md0_wr_intent
unused devices: <none>
and if i remove bitmap= option from mdadm.conf, array starts normally on boot.
array also starts okay with auto detection (if i remove ARRAY line from mdadm.conf), but with internal bitmap
/var is located on rootfs, not a separate partition
root at nas:~# lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
root at nas:~# apt-cache policy mdadm
mdadm:
Installed: 3.1.4-1+8efb9d1ubuntu4.1
Candidate: 3.1.4-1+8efb9d1ubuntu4.1
Version table:
*** 3.1.4-1+8efb9d1ubuntu4.1 0
500 http://ru.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
100 /var/lib/dpkg/status
3.1.4-1+8efb9d1ubuntu4 0
500 http://ru.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
any glue how to set external bitmap without breaking things?
Thanks in advance!
To manage notifications about this bug go to:
https://bugs.launchpad.net/mdadm/+bug/803737/+subscriptions
More information about the foundations-bugs
mailing list