Boot with degraded RAID5 still fails on Ubuntu 16.04 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce (VirtualBox is fine for testing):
1. Get a server with 4 disks
2. Start Ubuntu server install
3. Partition all disks with msdos partition tables and create one big partition starting at 1 MB on each disk.
4. Create mdadm RAID5 block device from these partitions
5. Create LVM volume group on RAID5
6. Create LVM volume on the group
7. Create root file system on the LVM volume
8. Install system on the root file system
9. Boot the system (works fine despite all the files inside RAID5 because grub is smart enough)
10. Run sudo dpkg-reconfigure grub-pc and install grub on all physical disks (sd*)
11. Shutdown the system
12. Disconnect the first hard drive
13. Boot the system
Expected results:
System boots with degraded RAID
Actual results:
Initrd scripts hang during boot (grub boots okay).
Caused by incorrect fix in https:/
$ apt-cache policy mdadm
mdadm:
Installed: 3.3-2ubuntu7.2
Candidate: 3.3-2ubuntu7.2
Version table:
*** 3.3-2ubuntu7.2 500
500 http://
100 /var/lib/
3.3-2ubuntu7 500
500 http://
Note that this bug is fixed mdadm version 3.4 but Ubuntu Xenial still has version 3.3. Installing mdadm package from Ubuntu 16.10 fixes the problem.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mdadm 3.3-2ubuntu7.2
ProcVersionSign
Uname: Linux 4.8.0-53-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Wed Jun 28 11:25:03 2017
InstallationDate: Installed on 2015-02-23 (855 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MDadmExamine.
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
ProcMDstat:
Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid0 sdd[3] sdc[2] sda[0] sdb[1]
781443840 blocks super 1.2 64k chunks
unused devices: <none>
SourcePackage: mdadm
UpgradeStatus: Upgraded to xenial on 2016-06-10 (383 days ago)
dmi.bios.date: 02/04/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1101
dmi.board.
dmi.board.name: P8H77-M PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
Note that this bug report was created on another desktop Ubuntu install. The block devices on this computer do not match the bug report.