[Bug 607006] [NEW] 10.04 LiveCD (USB-ified with usb-creator) decided to use an existing HDD partition for swap.
607006 at bugs.launchpad.net
Sun Jul 18 21:46:36 UTC 2010
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
!!! 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.
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-23-generic 2.6.32-23.37
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 184.108.40.206+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevice #0: subdevice #0
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
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
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
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Date: Sun Jul 18 15:43:01 2010
Frequency: This has only happened once.
MachineType: LENOVO 2081CTO
no product info available
ProcCmdLine: root=UUID=6f5a17ec-eb58-42ce-b69b-f99e8c5b7473 ro quiet splash crashkernel=384M-2G:64M,2G-:128M
RelatedPackageVersions: linux-firmware 1.34.1
dmi.bios.version: 6FET66WW (2.16 )
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.version: Not Available
dmi.product.version: ThinkPad T500
** Affects: linux (Ubuntu)
** 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.
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs