[Bug 442735] Re: dmraid eats mdadm-managed raid in upgrading from 9.04 to 9.10
Bug Watch Updater
442735 at bugs.launchpad.net
Thu Aug 11 09:52:20 UTC 2011
** Changed in: dmraid (Debian)
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/442735
Title:
dmraid eats mdadm-managed raid in upgrading from 9.04 to 9.10
Status in dmraid:
Invalid
Status in “dmraid” package in Ubuntu:
Invalid
Status in “mdadm” package in Ubuntu:
Invalid
Status in “dmraid” package in Debian:
Fix Released
Bug description:
Binary package hint: mdadm
After rebooting into my newly upgraded 9.10 beta and rebooting a
second time my raid was lost. Apperantly dmraid is loaded before
mdadm-managed raid, thereby locking /dev/sda1 and others from the
raid signature and thereby preventing mdadm from assembling the raid.
This leads to massive data loss as dmraid also will erase the
superblock/partition table on the devices.
In my case the solution is to forcibly remove dmraid and reboot.
After that you have to manually kill mountall in a single setup
because mountaill will fail and go into a spin where it constantly and
incessantly respawns fsck.ext3 (which fails and tells you to restart
it without -p or -y )
On top of this the terminal is garbled forcing you to swap to another
one. ( seems like a curses based prompt for interaction is overwritten
turning the whole thing into garbage)
once mountall is killed and all fsck-jobs pruned, you can re-create the partition tables on the lost disk, and set the type to Linux Raid Autodetect.
Then you can once again do mdadm --assemble /dev/md0 /dev/sd[a-c]1
and wait for 24+ hours.
Then you can fsck and hope that Ubuntu won't eat your raid again.
This is -clearly- suboptimal, caused me a lot of grief and panic.
On top of that the ubuntu-bug tool for mdadm doesn't stop to ask you
for a password but happily tries to run mdadm -E on devices without
permission to read them, generating what appears to be a bogus report.
ProblemType: Bug
Architecture: amd64
Date: Mon Oct 5 03:53:24 2009
DistroRelease: Ubuntu 9.10
MDadmExamine.dev.sda: Error: command ['/sbin/mdadm', '-E', '/dev/sda'] failed with exit code 1: mdadm: cannot open /dev/sda: Permission denied
MDadmExamine.dev.sda1: Error: command ['/sbin/mdadm', '-E', '/dev/sda1'] failed with exit code 1: mdadm: cannot open /dev/sda1: Permission denied
MDadmExamine.dev.sdb: Error: command ['/sbin/mdadm', '-E', '/dev/sdb'] failed with exit code 1: mdadm: cannot open /dev/sdb: Permission denied
MDadmExamine.dev.sdb1: Error: command ['/sbin/mdadm', '-E', '/dev/sdb1'] failed with exit code 1: mdadm: cannot open /dev/sdb1: Permission denied
MDadmExamine.dev.sdc: Error: command ['/sbin/mdadm', '-E', '/dev/sdc'] failed with exit code 1: mdadm: cannot open /dev/sdc: Permission denied
MDadmExamine.dev.sdc1: Error: command ['/sbin/mdadm', '-E', '/dev/sdc1'] failed with exit code 1: mdadm: cannot open /dev/sdc1: Permission denied
MDadmExamine.dev.sdd: Error: command ['/sbin/mdadm', '-E', '/dev/sdd'] failed with exit code 1: mdadm: cannot open /dev/sdd: Permission denied
MDadmExamine.dev.sdd1: Error: command ['/sbin/mdadm', '-E', '/dev/sdd1'] failed with exit code 1: mdadm: cannot open /dev/sdd1: Permission denied
MDadmExamine.dev.sdd2: Error: command ['/sbin/mdadm', '-E', '/dev/sdd2'] failed with exit code 1: mdadm: cannot open /dev/sdd2: Permission denied
MDadmExamine.dev.sdd3: Error: command ['/sbin/mdadm', '-E', '/dev/sdd3'] failed with exit code 1: mdadm: cannot open /dev/sdd3: Permission denied
MDadmExamine.dev.sdd4: Error: command ['/sbin/mdadm', '-E', '/dev/sdd4'] failed with exit code 1: mdadm: cannot open /dev/sdd4: Permission denied
MDadmExamine.dev.sdd5: Error: command ['/sbin/mdadm', '-E', '/dev/sdd5'] failed with exit code 1: mdadm: cannot open /dev/sdd5: Permission denied
MDadmExamine.dev.sdd6: Error: command ['/sbin/mdadm', '-E', '/dev/sdd6'] failed with exit code 1: mdadm: cannot open /dev/sdd6: Permission denied
MachineType: Gigabyte Technology Co., Ltd. P35-DS4
NonfreeKernelModules: nvidia
Package: mdadm 2.6.7.1-1ubuntu13
ProcCmdLine: root=UUID=79dc13f4-cbae-42ee-bb76-a110e8a381d7 ro quiet splash
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
SourcePackage: mdadm
Uname: Linux 2.6.31-11-generic x86_64
dmi.bios.date: 07/21/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F13
dmi.board.name: P35-DS4
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF13:bd07/21/2008:svnGigabyteTechnologyCo.,Ltd.:pnP35-DS4:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnP35-DS4:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: P35-DS4
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dmraid/+bug/442735/+subscriptions
More information about the foundations-bugs
mailing list