quotatool icon indicating copy to clipboard operation
quotatool copied to clipboard

quotatool: Failed Fetching quotas: No such file or Directory.

Open amrik06 opened this issue 3 years ago • 5 comments

quotatool not working for AIX. AIX Version:- 7200-04-01-1939 ( IBM Power PC )

quotatool Version - 1.6.2

Whenver i follow all the syntax and argument, quotatool reports following error all the time quotatool-AIX

quotatool: Failed Fetching quotas: No such file or Directory.

I trying using different arguments as per quotatool Help, but all command output reports same thing: quotatool: Failed Fetching quotas: No such file or Directory.

amrik06 avatar May 23 '22 08:05 amrik06

Could you please retry with debug output, add -v -v -v to command line options

-v : be verbose (twice or thrice for debugging)

ekenberg avatar May 24 '22 07:05 ekenberg

quotatool-AIX-vvv

Attaching quotatool output with -vvv option.

JFYI, We are using JFS2 filesystem of AIX.

Please share your views on priority.

amrik06 avatar May 24 '22 09:05 amrik06

This is another command though, the first one on /data resulted in "no such file or directory", this one is on /home and gives a different error. Would you please re-run the first command with debugging, just to see more details. Does /data/quota.user even exist?

I'm not at all sure I can fix this since I do not have access to AIX. The most common issue historically is that users have not implemented quotas correctly or at all. The second most common is changed system API because of kernel changes.

ekenberg avatar May 24 '22 11:05 ekenberg

quotatool-AIX-vvv-1 quotatool-AIX-vvv-2 quotatool-AIX-vvv-3 quotatool-AIX-vvv-4

Attaching all screenshots for your reference I tried from fresh on /home and /data but error is still same. I even tried installed old version of quotatool but its not working. Don't know weather its compatible on AIX 7.1 / AIX 7.2 with JFS2 filesystem. Need your expertise advise on same.

amrik06 avatar May 24 '22 11:05 amrik06

Thank you. Looking at the source code for quotatool, there is currently no support for JFS2. I would love to implement it, but I do not have access to any AIX system for development and testing. The AIX part of quotatool was written before I took over as maintainer. AFAIK there is no way I can download an AIX-image and boot it in Virtualbox on my laptop (?). Would love to fix it but not sure how to go about it.

Note to self: https://www.ibm.com/docs/en/aix/7.2?topic=q-quotactl-subroutine

ekenberg avatar May 24 '22 12:05 ekenberg