Network Attached Storage (NAS) - Enterprise
1825674 Members
3632 Online
109686 Solutions
New Discussion

NAS 8000 quotas

 
Bill Atkin
New Member

NAS 8000 quotas

We're running a NAS 8000 and
I'm trying to add quota for our Unix Users. In Command View Nas I'm using the menus:

Storage>User Quotas

"Select a File Volume": users

Actions>Add User Quota>Select a Domain:
"All Unix Users"

User Name:

At this point the available
list of usernames does not include the one I wish to assign quota to. The list that does appear corresponds to those listed in
/etc/passwd on the NAS head.

How do I get the NAS 8000 to recognise the new unix users?

Some additional information follows: I have registered a test ID called nasuser1 on a J6700 running HPUX v11.0. The home directory for this ID is set up on the NAS 8000 with the path /users/ccc/nasuser1.
The export is on /users. I have no problem in using this ID, only a problem in getting the NAS 8000 to recognise it for the purposes of assigning a quota. I'd be grateful for any advice on this.

Regards

Geoff Wootton
5 REPLIES 5
Eugeny Brychkov
Honored Contributor

Re: NAS 8000 quotas

Geoff,
I sent you message on Oct 29th concerning your NAS8000 problem (this one or new one?) and do not have a reply yet. I saw Oliver Haensel sent you the message too. Have you been in touch with Oliver? He's SAN CC engineer who supports hpux NAS
Eugeny
Bill Atkin
New Member

Re: NAS 8000 quotas

Hello Eugeny,
Sorry I didn't inform you of the outcome of the case from October. I'd assumed that Oliver had contacted you.

The case was related to this query but was a separate problem. The nobody account had "disappeared" from the nas head resulting in us being unable to use Command View Nas, since the httpd daemon runs under this account. Oliver advised us to rebuild the NAS head, which has been done.

We still have the problem of being unable to allocate quotas to users of the NAS. When I use the drop-down list in Actions>Add User Quota>Usename the only names that appear are those that are present as default in the /etc/passwd file. The procedure for making unix usernames known to the NAS is not documented. I did try using the importSystemPasswdFile command before and indeed the ID's do appear, however I'm concerned that the use of this command in some way lost the nobody account. Before proceeding I need to know the recommended way of adding quotas i.e. getting the list of usernames to appear in the drop-down box.

Regards

Geoff.
Bill Atkin
New Member

Re: NAS 8000 quotas

Thanks for the web links however unfortunately I've read them all already. I've read the user manual and the command line reference manual and also discovered many undocumented commands as well(e.g. invokeSystemTool etc). On re-reading the web pages one thing that does stand out is that when quotas are enabled for a file volume a delay should be expected. I presume that this is when usernames of that volume are scanned and put into a quota database of some description. These usernames are then displayed in the drop-down box in the storage menu when the Actions>Add User Quota>Username option is used.
This does not occur on the NAS 8000 I'm working on.

Does anyone know the precise mechanism whereby UID's, GID's and their quotas are stored on the NAS.

Regards

Geoff.
Bill Atkin
New Member

Re: NAS 8000 quotas

I've found the error (but not the solution). I guess I should have checked the error log earlier:

ERROR 2002-09-28 23:12:34,424

Exception Details:
java.rmi.ServerException
RemoteException occurred in server thread; nested exception is:
com.hp.nas.business.exception.RemoteBusinessObjectException:

JNI Location:com/hp/nas/business/storage/impl/Quota.load
Java/JNI Call Failed Exception
desc:v1.01/Jvm.cpp:490

loc:vl.0/Jvm.cpp.490
ERROR 2002-09-28 23:12:34,424

Exception Details:
java.lang.NullPointerException


I've checked this several times and the error is logged each time I try to add quotas. I'll put a call into the helpdesk on Monday.

Many thanks to Eugeny for his help.

Regards

Geoff