[Bug 1570123] [NEW] partman-auto-raid fails when there is an 'inactive' raid
Shashank Sahni
shredder12 at gmail.com
Wed Apr 13 22:33:33 UTC 2016
Public bug reported:
The logic that partman-auto-raid uses in raid-autocfg to fetch the
current RAID device number(if any), greps for 'active' in /proc/mdstat.
In scenarios where an inactive raid exists due to one of the disks(being
reused), this greps the entire inactive raid string. As a result,
instead of returning the mdraid device number, it fetches the string
"md127 : inactive sdj[2](s)" and tries to append it to "/dev/md" and
fails creating the requested RAID device.
** Affects: partman-auto-raid (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto-raid in Ubuntu.
https://bugs.launchpad.net/bugs/1570123
Title:
partman-auto-raid fails when there is an 'inactive' raid
Status in partman-auto-raid package in Ubuntu:
New
Bug description:
The logic that partman-auto-raid uses in raid-autocfg to fetch the
current RAID device number(if any), greps for 'active' in
/proc/mdstat. In scenarios where an inactive raid exists due to one of
the disks(being reused), this greps the entire inactive raid string.
As a result, instead of returning the mdraid device number, it fetches
the string "md127 : inactive sdj[2](s)" and tries to append it to
"/dev/md" and fails creating the requested RAID device.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto-raid/+bug/1570123/+subscriptions
More information about the foundations-bugs
mailing list