Public bug reported:
===== Description =====
I am trying to create partitions on a multipath disk, during which i get
"device-mapper: create ioctl on mpath5p2 failed: Device or resource busy"
error,
but partition will be created in spite of this error.
# fdisk /dev/mapper/mpath5
GNU Fdisk 1.3.0a
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Using /dev/mapper/mpath5
Command (m for help): n
Partition type
e extended
p primary partition (1-4)
p
First cylinder (default 0cyl):
Last cylinder or +size or +sizeMB or +sizeKB (default 0cyl):
Command (m for help): w
Information: Don't forget to update /etc/fstab, if necessary.
Writing all changes to /dev/mapper/mpath5.
device-mapper: create ioctl on mpath5p1 failed: Device or resource busy
device-mapper: create ioctl on mpath5p2 failed: Device or resource busy
device-mapper: create ioctl on mpath5p1 failed: Device or resource busy
device-mapper: create ioctl on mpath5p2 failed: Device or resource busy
--------------------------------------------------------------------------------------------------------------------
# fdisk -l /dev/mapper/mpath5
GNU Fdisk 1.3.0a
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Disk /dev/mapper/mpath5: 34 GB, 34356994560 bytes
255 heads, 63 sectors/track, 4177 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/mpath5p2 1 1 0 83 Linux
Warning: Partition 2 does not end on cylinder boundary.
/dev/mapper/mpath5p1 1 13 104391 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
-----------------------------------------------------------------------------------
# uname -a
Linux pole2lp1 3.18.0-12-generic #13-Ubuntu SMP Thu Jan 29 13:44:26 UTC 2015
ppc64le ppc64le ppc64le GNU/Linux
** Affects: ubuntu
Importance: Undecided
Status: New
** Tags: architecture-ppc64le bugnameltc-121565 severity-medium
targetmilestone-inin---
** Tags added: architecture-ppc64le bugnameltc-121565 severity-medium
targetmilestone-inin---
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1420624
Title:
ISST-LTE: Ubuntu 15.04: Device or resource busy error on creating new
partition on multipath disk
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1420624/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs