-
Committer:
Ryan Harper
-
Date:
2016-11-29 19:35:50 UTC
-
mfrom:
(430.1.3 trunk.lp1641661)
-
Revision ID:
ryan.harper@canonical.com-20161129193550-u7j19exkrh9hs3uo
block: fix partition kname for raid devices
mdadm RAID1 supports partitioning of the md device and utilizes
the 'p' char to name partitions: md0p1, md0p2 etc.
- Fix by adding 'md' to curtin/block:partition_kname
- Update block unittest to test/check md names
- Introduce a new vmtest to exercise partitioning RAID1 disks
(test_mdadm_bcache.py:TestMirrorbootPartitions)