Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Workspace AIX
Created by Guest
Created on Aug 28, 2018

Make chdev aware of third party volume managers using disk devices.

Recently we've had a major incident in one of our biggest customers involving Oracle ASM disks that are virtualized using dual VIOS and vscsi. In one of the VIOS, PVIDs were assigned on disks already in use by Oracle ASM running in a client LPAR. This did overwrite ASM administrative information becoming these disks unusable by ASM. This PVID assignation also affected client Lpars running RedHat. On these virtual machines the information regarding the disk partitioning was overwritten.
The situation was fixed running some oracle procedures to recreate the administative information and reinstalling the RedHat virtual Machines.
Investigating the behaviour of some lvm commands we found that If and administrator issues the command mkvg using a disk that has been assigned to ASM mkvg figures out that that disk is in use by a third party volume manager and it fails explaining the issue.
On the other hand a command like "chdev -a pv=yes" would record the PVID, overwritting any administrative info existing on the disk and making it unusable for some other volume manager that was using that disk.
If a disk is in use by a third party volume manager it would be an interesting enhancement that chdev command (or other command that issues similar functions) would present a warning pointing that you are about to change a disk probably belonging to a third party volume manager or asking for confirmation or request some "force" flag to procede.

Idea priority High
  • Guest
    Reply
    |
    Sep 17, 2018

    The lkdev command has been provided to address the issue described in this RFE. This approach is preferable to attempting to update the AIX disk configuration code to recognize every possible 3rd party volume manager that could have written data to the disk.

    AIX lkdev Command:

    The AIX lkdev command should be used by the system administrator when a disk is assigned to Oracle to lock the disk device to prevent the device from inadvertently being altered by a system administrator at a later time. The lkdev command locks the specified device so that any attempt to modify the device attributes (chdev, chpath) or remove the device or one of its paths (rmdev, rmpath) will be denied. This is intended to get the attention of the administrator and warn that the device is already being used. The ???-d" option of the lkdev command can be used to remove the lock if the disk is no long being used by Oracle. The lspv command with the ???-u" option indicates if the disk device is locked. The example section of this note shows how to use lkdev and the related lspv output.

  • Guest
    Reply
    |
    Sep 4, 2018

    We added a command lkdev for third party volume management, which locks a device and any attempt to modify device characteristics fails. There are articles published in google.
    https://orasg.wordpress.com/2015/10/04/managing-raw-disks-in-aix-to-use-with-oracle-asm/