mdadm-last-resort@.service runs when array is active
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Debian) |
Fix Released
|
Unknown
|
|||
mdadm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Artful |
Confirmed
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
In testing, a raid5 array is started and mounted, but at some point the <email address hidden> is triggered and unmounts the raid device.
This is fixed upstream with:
https:/
1. ubuntu@ubuntu:~$ lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
2. ubuntu@ubuntu:~$ apt-cache policy mdadm
mdadm:
Installed: 4.0-2
Candidate: 4.0-2
Version table:
*** 4.0-2 500
500 http://
100 /var/lib/
3. /dev/md0 stays mounted after boot
4. /dev/md0 is unmounted from the system due to <email address hidden> running
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: mdadm 4.0-2 [modified: lib/systemd/
ProcVersionSign
Uname: Linux 4.13.0-36-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Tue Mar 6 16:03:25 2018
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MDadmExamine.
MDadmExamine.
MDadmExamine.
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcMDstat:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdc[1] sdb[0] sda[3]
10477568 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
unused devices: <none>
SourcePackage: mdadm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
etc.blkid.tab: Error: [Errno 2] No such file or directory: '/etc/blkid.tab'
mdadm.conf:
ARRAY /dev/md0 metadata=1.2 spares=1 name=ubuntu:0 UUID=aefcb03c:
MAILADDR root
Related branches
- Scott Moser (community): Approve
-
Diff: 77 lines (+55/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/mdadm-last-resort-use-condition-path-exists.patch (+46/-0)
debian/patches/series (+1/-0)
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser (community): Needs Fixing
-
Diff: 12 lines (+1/-0)1 file modifiedtests/vmtests/test_mdadm_iscsi.py (+1/-0)
Changed in mdadm (Ubuntu Bionic): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in mdadm (Ubuntu Artful): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mdadm (Debian): | |
status: | Unknown → New |
Changed in mdadm (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package mdadm - 4.0-2ubuntu1
---------------
mdadm (4.0-2ubuntu1) bionic; urgency=medium
* Cherry-pick upstream patch to ensure mdadm-last-resort services patches/ mdadm-last- resort- use-condition- path-exists. patch
only runs when it is needed LP: #1753786
- debian/
-- Ryan Harper <email address hidden> Wed, 07 Mar 2018 01:43:16 -0600