bug-fdisk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-fdisk] Issue when using GNU-fdisk


From: Sowmya Parvathi
Subject: [bug-fdisk] Issue when using GNU-fdisk
Date: Thu, 12 Feb 2015 14:56:32 +0530

Hi All,

I am using gnu-fdisk in my machine and i am seeing many "Device error or Resource busy error".

I am trying to create partition in a multipath disk, though partition will be created i see many errors:

Please have a look:

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.

--------------------------------------------------------------------------------------------------------------------

Please let me know for more information.

Thanks and Regards,
Sowmya




reply via email to

[Prev in Thread] Current Thread [Next in Thread]