[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Changed in: lvm2 (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/341928 Title: Consistently reproducible "device or resource busy" error on partitioning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/341928/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Bug watch added: Debian Bug tracker #569290 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569290 ** Also affects: lvm2 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569290 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/341928 Title: Consistently reproducible "device or resource busy" error on partitioning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/341928/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
This bug was fixed in the package lvm2 - 2.02.39-0ubuntu9 --- lvm2 (2.02.39-0ubuntu9) jaunty; urgency=low * debian/patches/avoid-dev-block.patch: Prefer any other device name over names in /dev/block/ (LP: #341928). -- Colin WatsonWed, 08 Apr 2009 14:19:32 +0100 ** Changed in: lvm2 (Ubuntu Jaunty) Status: In Progress => Fix Released -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Changed in: lvm2 (Ubuntu Jaunty) Status: Triaged => In Progress -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
I wouldn't expect there to be a blkid.tab in the installer anyway. /etc/lvm/cache/.cache lists the /dev/block/ names, but removing it doesn't change the output. The problem here is actually that lvm2 itself does a full scan of /dev, and has logic to decide which device names it prefers when they have the same major and minor numbers. This doesn't cause a problem for /dev/sda1 and the like because one of its rules is that it prefers device names containing fewer slashes; but /dev/cciss/c0d0p1 and /dev/block/104:1 are just as good in its book. Ideally we'd be able to fix this in lvm.conf, but the only way to do that at the moment, devices/preferred_names, would involve trying to list all the possible names we might want to prefer to /dev/block/, which I don't think will fly. (devices/filter doesn't work because that would cause LVM to decide that /dev/block/ is the right name and then ignore such devices entirely.) I'll just patch _compare_paths in lib/device/dev-cache.c directly. -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
There doesn't seem to be an /etc/blkid.tab file, and find / -name "blkid.tab" returns nothing. -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
Re: [Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
On Wed, 2009-03-18 at 18:08 +, Colin Watson wrote: > 17:51 fader: thanks. One hopefully last question: what does 'pvs > --noheadings --nosuffix -o pv_name' say? > 17:51 it's failing because it thinks there is no PV on > /dev/cciss/c0d0 > 17:52 ~ # pvs --noheadings --nosuffix -o pv_name > 17:52/dev/block/104:6 > Err, *blink* NOTHING should be resolving to those /dev/block names. Can you attach the /etc/blkid.tab file? Scott -- Scott James Remnant sc...@canonical.com -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
17:51 fader: thanks. One hopefully last question: what does 'pvs --noheadings --nosuffix -o pv_name' say? 17:51 it's failing because it thinks there is no PV on /dev/cciss/c0d0 17:52 ~ # pvs --noheadings --nosuffix -o pv_name 17:52/dev/block/104:6 I think it would be easiest to get LVM to output more useful device names here. If this turns out not to be possible then I'll reassign the bug to partman-lvm. ** Changed in: lvm2 (Ubuntu) Sourcepackagename: debian-installer => lvm2 Assignee: (unassigned) => Colin Watson (cjwatson) Status: New => Triaged -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
partman after adding 'set -x' to /lib/partman/lib/lvm-remove.sh ** Attachment added: "partman" http://launchpadlibrarian.net/24054327/partman -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
syslog after adding 'set -x' to /lib/partman/lib/lvm-remove.sh ** Attachment added: "syslog" http://launchpadlibrarian.net/24054320/syslog -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
Most recent logs ** Attachment added: "syslog" http://launchpadlibrarian.net/24046600/syslog -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
Reproduced again; new logfiles ** Attachment added: "partman" http://launchpadlibrarian.net/24046480/partman -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Attachment added: "partman" http://launchpadlibrarian.net/24046607/partman -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
Output of dmsetup ls: ~ # dmsetup ls PPA-berkelium--diskcow (252, 3) PPA-berkelium--swap (252, 0) PPA-berkelium--swapcow (252, 1) PPA-berkelium--disk (252, 2) ~ # -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Attachment added: "syslog" http://launchpadlibrarian.net/24046499/syslog -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Attachment added: "syslog" http://launchpadlibrarian.net/24018711/syslog -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
This is still reliably repeatable on at least one machine using the Jaunty Server image from 17 March 2009. The machine is 'berkelium' in the enablement testing environment, an HP Proliant DL360 G5. Attached are syslog and partman from the installer. I'm pretty consistently able to reproduce this -- I just got it twice in a row. It can be reproduced here, or for reference here's what I'm doing: 1. Start with a system partitioned to use LVM. 2. Perform an install attempting to repartition the LVM space as a single normal partition. 3. Observe the behavior described above. I'm not sure if the steps above are specifically related to reproducing this bug, but merely describing what we're doing when we see it. ** Attachment added: "partman" http://launchpadlibrarian.net/24018708/partman -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Changed in: debian-installer (Ubuntu) Sourcepackagename: ubiquity => debian-installer Importance: Undecided => High -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Attachment added: "syslog" http://launchpadlibrarian.net/23787946/syslog -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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
[Bug 341928] Re: Consistently reproducible "device or resource busy" error on partitioning
** Attachment added: "partman" http://launchpadlibrarian.net/23787950/partman ** Description changed: Upon partitioning during install, I receive the following message: Error informing the kernel about modifications to partition /dev/cciss/c0d0p1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/cciss/c0d0p1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting. I can reliably reproduce this about 75% of the time. I believe it is so reproducible as this machine is being reimaged with a different partitioning scheme each time before I run the installer. I will attach syslog and partman and can reproduce this as necessary to get additional information. These logs are from an HP Proliant DL320s - G1 but it is occurring on multiple different machines. + G1 with the Jaunty server amd64 image from March 10 2009 but it is + occurring on multiple different machines and disc images. Per cjwatson I am creating a new bug rather than attaching this to an existing similar bug. -- Consistently reproducible "device or resource busy" error on partitioning https://bugs.launchpad.net/bugs/341928 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