Bug 167440 - fdisk on /dev/mapper/xxxx entries gives error when re-reading modified partition table
fdisk on /dev/mapper/xxxx entries gives error when re-reading modified partit...
Status: CLOSED DUPLICATE of bug 160277
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: device-mapper-multipath (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alasdair Kergon
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-02 13:35 EDT by Stoo Davies
Modified: 2010-01-11 21:21 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-03 18:17:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stoo Davies 2005-09-02 13:35:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050715 Firefox/1.0.5

Description of problem:
I am doing some initial testing on RHES4-U2 beta release, in particular I'm testing dm-multipath/multipath-tools with a 3PAR storage array.
 
When trying to partition the /dev/mapper/xxxxx devices fdisk gives the following error...
 
-----------------------------------------------------------------
Command (m for help): w
The partition table has been altered!
 
Calling ioctl() to re-read partition table.
 
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
-----------------------------------------------------------------

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
Setup a multipathed device with the multipath command
Run fdisk on the created disk device
Save out partition table


Actual Results:  Table was not re-read

Expected Results:  Table should of been re-read and used by the kernel

Additional info:
Comment 1 Alasdair Kergon 2005-10-03 18:17:19 EDT
The kernel can't use the partition tables on these devices.

Instead we run 'kpartx' to set them up from userspace using device-mapper.

*** This bug has been marked as a duplicate of 160277 ***

Note You need to log in before you can comment on or make changes to this bug.