Public bug reported:
I'm not entirely sure where the culprit is... but the behaviour is entirely unacceptable. Background: Fixing a RAID5 system that has had a disk go bad/out of sync. It wasn't booting, there was some filesystem corruption. All five drives were partitioned into two partitions, and RAID set up over both: md0 = /dev/sd?1 and md1 = /dev/sd?2 (All partitions were marked linux-raid-autodetect in the partition table type field) Made a bootable USB (10.04 Desktop edition, usb-creator) so I could swap out the CD drive for a big HDD and dump a quick backup onto it. (System has only 6 SATA ports and 5 were taken by the array). Booted. Launched terminal. Installed mdadm via aptitude. Fired up Firefox for reference. Tried to assemble the array. (mdadm --assemble /dev/md1 /dev/sd?2) Got "device or resource is busy" error on /dev/sde2 from mdadm. Ran "fuser" to see what was using it. Turns out it was the kernel, for swap. !!! RAGE !!! ((Then swapoff -a and frantic recovery attempts since one drive was already bad. :( We'll see if I get an okay backup off this or not.)) I have NO idea why linux decided to do this. Will update with more info as I get it. Random additional thoughts: - the contents of the raid: md0 = boot; md1 = LVM group with root (XFS) and swap volumes. - maybe a UUID collision? once I'm done dumping files I'll look at that sort of thing. - It was rather difficult to avoid profanity in typing up this bug report. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: linux-image-2.6.32-23-generic 2.6.32-23.37 Regression: No Reproducible: No ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-generic x86_64 NonfreeKernelModules: fglrx AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21. Architecture: amd64 ArecordDevices: **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: dan 1990 F.... pulseaudio /dev/snd/pcmC0D0p: dan 1990 F...m pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Intel'/'HDA Intel at 0xfc220000 irq 17' Mixer name : 'Conexant CX20561 (Hermosa)' Components : 'HDA:14f15051,17aa2100,00100000 HDA:14f12c06,17aa2122,00100000' Controls : 14 Simple ctrls : 7 Card29.Amixer.info: Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01' Mixer name : 'ThinkPad EC 7VHT12WW-1.01' Components : '' Controls : 1 Simple ctrls : 1 Card29.Amixer.values: Simple mixer control 'Console',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Sun Jul 18 15:43:01 2010 EcryptfsInUse: Yes Frequency: This has only happened once. HibernationDevice: RESUME=UUID=2e67e80f-9fe0-4bb3-93fc-7b8a545e747d MachineType: LENOVO 2081CTO PccardctlIdent: Socket 0: no product info available PccardctlStatus: Socket 0: no card ProcCmdLine: root=UUID=6f5a17ec-eb58-42ce-b69b-f99e8c5b7473 ro quiet splash crashkernel=384M-2G:64M,2G-:128M ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash RelatedPackageVersions: linux-firmware 1.34.1 SourcePackage: linux WpaSupplicantLog: dmi.bios.date: 04/22/2009 dmi.bios.vendor: LENOVO dmi.bios.version: 6FET66WW (2.16 ) dmi.board.name: 2081CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6FET66WW(2.16):bd04/22/2009:svnLENOVO:pn2081CTO:pvrThinkPadT500:rvnLENOVO:rn2081CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2081CTO dmi.product.version: ThinkPad T500 dmi.sys.vendor: LENOVO ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lucid needs-upstream-testing -- 10.04 LiveCD (USB-ified with usb-creator) decided to use an existing HDD partition for swap. https://bugs.launchpad.net/bugs/607006 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs