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 Future consideration
Workspace IBM i
Created by Guest
Created on Dec 2, 2021

Add capability to see who is using a NFS mount

I have a sandbox lpar (GDI) exporting a directory for testing this issue.
EXPORTFS OPTIONS('-I -O') DIR('/tmp')
strNFSSVR SERVER(*ALL)

I have another lpar mounting over this
md '/gdi'
md '/gdi/tmp'
MOUNT TYPE(*NFS) MFS('gdi:/tmp') MNTOVRDIR('/gdi/tmp')
OPTIONS('rw,suid,retry=5,rsize=32768,wsize=32768,timeo=20,retrans=5,
acregmin=30,acregmax=60,acdirmin=30,acdirmax=60,soft,async,
sec=sys,vers=3:2,nocache')
Then I use it with:
edtf '/gdi/tmp/test.txt'

From another session I am trying to see if I can tell who is using that mount.

The following returns nothing:
SELECT * FROM TABLE(QSYS2.IFS_OBJECT_LOCK_INFO(PATH_NAME => '/gdi/tmp'));

The following returns data, but I may not know the exact file they are working on:
SELECT * FROM TABLE(QSYS2.IFS_OBJECT_LOCK_INFO(PATH_NAME => '/gdi/tmp/test.txt'));

This doesn't return a hit:
SELECT * FROM QSYS2.NETSTAT_INFO
WHERE REMOTE_ADDRESS = '10.10.6.144';
unless I start some other communication to that lpar.

The old Navigator (http://gdisys:2001) has this:
https://www.ibm.com/docs/en/i/7.4?topic=i-working-dynamically-mounted-file-systems
But the new Navigator (http://gdisys:2002/Navigator) does not so I'm guessing there's currently no sql service for this information.
The information from the old Navigator does list the mount but does not say whether or not it is in use or by whom.


Use Case:

The problem is that if I go to unmount that, it generates "CPFA09E Object in use". I'm trying to figure out who is using it.


Idea priority Medium
  • Guest
    Reply
    |
    Dec 16, 2021

    The CEAC has reviewed this requirement and recommends that IBM view this as a MEDIUM priority requirement that should be addressed.

    Background: The COMMON Europe Advisory Council (CEAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CEAC has a crucial role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community and has therefore reviewed your RFE.

    To find out how CEAC help to shape the future of IBM i, see CEAC @ ibm.biz/BdYSYj and the article "The Five Hottest IBM i RFEs Of The Quarter" at ibm.biz/BdYSZT

    Therese Eaton – CEAC Program Manager, IBM

  • Guest
    Reply
    |
    Dec 10, 2021

    Thank you for submitting this request.
    We understand that it would be very helpful to determine if objects in an NFS-mounted file system are being used and, if possible, to know what job has/have the object(s) in use. It must be noted, however, that we cannot always find a job that is using a file system object. This is true for any file system.
    We don't have a way, currently, to determine if objects within an NFS mount are being used, and will consider it for future work.