Disk Enclosures
1752565 Members
5627 Online
108788 Solutions
New Discussion юеВ

Re: Configuring quota on Autoraid 12H

 
INDRANIL ADAK
New Member

Configuring quota on Autoraid 12H

Hi all,

I am using HP SureStore E Disk Array 12H (Formerly, AUTORAID) for implementing HA-enabled solution on HP-UX 11.00. We have come across a strange problem lately. Whenever, I try to enable quota for the users on a file system (VxFS) mounted from the disk array, the following errors are occuring.

Logical volume (DLVM created on the disk array)
name : /dev/vgemail/lvmail
mount point : /var/mail

# mount -F vxfs -e -o quota /dev/vgemail/lvmail /var/mail
vxfs mount: cannot enable quotas
mount: mounted /dev/vgemail/lvmail on /var/mail

I tried enabling the quota after mounting the file system also. A different error message appears in this case.

# mount -F vxfs -e -/dev/vgemail/lvmail /var/mail
mount: mounted /dev/vgemail/lvmail on /var/mail
# quotaon -v /var/mail
quotactl: /dev/vgemail/lvmail: I/O error

Please note that, /var/mail consists the required quotas file.

But, when a file system is mounted from the local disk, everything works perfectly fine.
e.g.
# mount -F vxfs -e /dev/vg00/lvol4 /var/mail
mount : mounted /dev/vg00/lvol4 on /var/mail
# quotaon -v /var/mail
/var/mail : quotas turned on

Any help would be highly appreciated.

Thanks
Indranil
4 REPLIES 4
Andreas Voss
Honored Contributor

Re: Configuring quota on Autoraid 12H

Hi,

have you checked with:
quotacheck -F vxfs /dev/vgemail/lvmail
?

Andrew
INDRANIL ADAK
New Member

Re: Configuring quota on Autoraid 12H

Yes, I already tried that. The command succeeds (?) without any output. It does not give any output like "syncing quotas ....".

# quotacheck -v /dev/vgemail/lvmail
#

I tried the following also resulting in "no output".

# /usr/lbin/fs/vxfs/quotacheck -v /dev/vgemail/lvmail
#

Thanks
John Palmer
Honored Contributor

Re: Configuring quota on Autoraid 12H

There is a patch PHKL_20401 to fix quotaon for vxfs filesystems on HPUX 11.00. It doesn't mention anything about Autoraids but it may be worth checking that you have it installed.

Regards,

John
INDRANIL ADAK
New Member

Re: Configuring quota on Autoraid 12H

Thanks John,

It worked. Installation of PHKL_20401 solved the problem.
Since, the problem being solved, it may not be worthwhile bothering about a less trivial issue. The patch defect describes the following :
"Negative user IDs were not taken care of while processing the quotas. For example the UID of nobody is -2. This was failing a sanity check in the quotaon code path.
Resolution:
Cast UIDs to unsigned in sanity checks
in various paths to take care of negative UIDs.". If that could be the real problem, then the system should not have allowed me to enable quota on a file system mounted from the system's hard-disk. But, it did.

Anyways, thanks again.