Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Unknown
-
Resolution: Unresolved
-
Affects Version/s: 0.10.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:
Ubuntu 11.04
Description
(really this is a bug in mdadm i think):
root@monitoring-prod-i-e980049f:~# mdadm --detail --scan
ARRAY /dev/md/0 metadata=1.2 name=monitoring-prod-i-e980049f:0 UUID=645523eb:c90aad2a:bf22135c:bcd0c5ad
root@monitoring-prod-i-e980049f:~# mount |grep md
/dev/md0 on /srv type ext4 (rw,user_xattr,acl)
root@monitoring-prod-i-e980049f:~# cat /proc/mdstat |grep md
md0 : active raid1 xvdf[1] xvdg[0]
Now, note the additional / in the output from scan.
Given:
mdadm "/dev/md0" do devices ["/dev/xvdf","/dev/xvdg"] action [:create, :assemble ] level ebs["level"] || 1 chunk 64 end mount "/srv" do device "/dev/md0" fstype "ext4" options "rw,user_xattr,acl" action [:mount,:enable] end
results in:
---- Begin output of yes | mdadm --create /dev/md0 --chunk=64 --level 1 --raid-devices 2 /dev/xvdg /dev/xvdf ----
STDOUT:
STDERR: mdadm: device /dev/xvdg not suitable for any style of array
---- End output of yes | mdadm --create /dev/md0 --chunk=64 --level 1 --raid-devices 2 /dev/xvdg /dev/xvdf ----
Changing out "/dev/md0" for "/dev/md/0" results in:
---- Begin output of mount -t ext4 -o rw,user_xattr,acl /dev/md/0 /srv ---- STDOUT: STDERR: mount: /dev/md0 already mounted or /srv busy mount: according to mtab, /dev/md0 is already mounted on /srv ---- End output of mount -t ext4 -o rw,user_xattr,acl /dev/md/0 /srv ----
Activity
Bryan McLellan [Opscode]
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Component/s | Providers [ 10005 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | jira [ 13914 ] | New OSS [ 17584 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 17584 ] | OSS: Product Management [ 25209 ] |
Specifying write-intent bitmaps should clear up this issue. We basically need to add '-b internal' to action_create.
-Miah