- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Quota Problem: quotaon error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 05:45 AM
тАО06-09-2005 05:45 AM
Quota Problem: quotaon error
#cpset /dev/null /export/home/quotas 600 root bin
Then i enable quota for user blobato.
#edquota blobato
I Modify the line /etc/fstab like this
/dev/vgRAID1/lvolhome /export/home vxfs rw,suid,largefiles,delaylog,datainlog,quota 0 2
then i reboot my L2000 server.
But when the server come up, i saw my /etc/mnttab that the quota option not be active :
/dev/vgRAID1/lvolhome /export/home vxfs log,nodatainlog 0 0 1118322353
Then i try run :
#quotaon -v /export/home
but i received the following message :
quotactl: /dev/vgRAID1/lvolhome: I/O error
The most strange is, i have other partitions (vxfs) with quota running FINE, like you see in this output :
root
/training: quotas turned on
/temp_teste: quotas turned on
quotactl: /dev/vgRAID1/lvolhome: I/O error
Can anybody help-me, please. I need to activate the quota on home users.
Thank's.
Bruno Lobato
Brazil - Amazon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 05:56 AM
тАО06-09-2005 05:56 AM
Re: Quota Problem: quotaon error
Check dmesg/syslog. mount -p | grep "lvol" Is lvol mounted with quota option??
Also make sure you correctly updated fstab. Also when you rebooted system, did you see anything wrong, any error messages for this lvol??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 05:59 AM
тАО06-09-2005 05:59 AM
Re: Quota Problem: quotaon error
In your home directory you should find a file called quotas with perms rw only to root, is it there?
Then try:
Unmount /export/home
mount -o quota /dev/vgRAID1/lvolhome /export/home
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 06:28 AM
тАО06-09-2005 06:28 AM
Re: Quota Problem: quotaon error
>> Are there any problems with that lvol??
No, the lvol is ok and working.
>> Check dmesg/syslog. mount -p | grep "lvol" Is lvol mounted with quota option??
The output off this command is the /etc/mnttab file, how i said in my post in the mnttab the quota option don't is showed but i set up the quota option in the /etc/fstab before boot my server.
>>Also make sure you correctly updated fstab.
Yes, please see :
/dev/vgRAID1/lvolhome /export/home vxfs rw,suid,largefiles,delaylog,datainlog,quota 0 2
Also when you rebooted system, did you see anything wrong, any error messages for this lvol??
No, everything is fine. with all the partions, but only in this i can't up the quota service :-(
### Victor ###
>> In your home directory you should find a file called quotas with perms rw only to root, is it there?
Yes, see :
-rw------- 1 root bin 0 Jun 9 15:25 quotas
>> Then try:
Unmount /export/home
mount -o quota /dev/vgRAID1/lvolhome /export/home
I can't umount my home partition at this moment, but when i try this :
mount -o remount,quota /dev/vgRAID1/lvolhome /export/home/
vxfs mount: cannot enable quotas
The point is, i have others partions in the same server, and in this other partitions the quota option works :-(.
Any other sugestions ?
Thank's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 06:39 AM
тАО06-09-2005 06:39 AM
Re: Quota Problem: quotaon error
What does it say??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 07:23 AM
тАО06-09-2005 07:23 AM
Re: Quota Problem: quotaon error
>> What does it say??
I don't know, thats is because i am under HPUX 11.00 , but i don't have this command :-(
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 02:20 PM
тАО06-09-2005 02:20 PM
Re: Quota Problem: quotaon error
# dd if=/dev/rdsk/cxtxdx of=/dev/null bs=64k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 01:49 AM
тАО06-10-2005 01:49 AM
Re: Quota Problem: quotaon error
# dd if=/dev/rdsk/cxtxdx of=/dev/null bs=64k
All the extents are "current", and the dd command work's fine, whithout problems.
Any other sugestion ?
Thank's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 01:58 AM
тАО06-10-2005 01:58 AM
Re: Quota Problem: quotaon error
You are sure you are using quotas on a vxfs filesystem ?
# fstyp -v /dev/vgRAID1/rlvolhome
Did you try to use the quotacheck command ?
# qoutacheck -F vxfs -v /export/home
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 02:20 AM
тАО06-10-2005 02:20 AM
Re: Quota Problem: quotaon error
>> # fstyp -v /dev/vgRAID1/rlvolhome
Yes, see the output :
root < MN >: fstyp -v /dev/vgRAID1/rlvolhome
vxfs
version: 3
f_bsize: 8192
f_frsize: 8192
f_blocks: 12800000
f_bfree: 1354612
f_bavail: 1354612
f_files: 266752
f_ffree: 1073792360
f_favail: 1073792360
f_fsid: 1073872897
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 6
f_size: 12800000
>>Did you try to use the quotacheck command ?
>># quotacheck -F vxfs -v /export/home
root < MN >: quotacheck -F vxfs -v /export/home
Syncing quotas for /dev/vgRAID1/lvolhome (/export/home)
The point is, i have others vxfs partitions in the same server, and in this other partitions the quota option works FINE:
root < MN >: repquota -av
/dev/vgRAID3/lvoltraining (/training):
Block limits File limits
User used soft hard timeleft used soft hard timeleft
blobato -- 0 120000 150000 0 400 500
smoraes -- 8 90000 100000 13 0 0
/dev/vgRAID9/lvolteste (/temp_teste):
Block limits File limits
User used soft hard timeleft used soft hard timeleft
blobato -- 0 120000 150000 0 400 500
/dev/vgRAID1/lvolhome (/export/home):
Block limits File limits
User used soft hard timeleft used soft hard timeleft
Any other sugestions ?
Thank's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 02:22 AM
тАО06-10-2005 02:22 AM
Re: Quota Problem: quotaon error
Could it be you lack of space in that file system? Adding quotas does use a bit of space...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 02:29 AM
тАО06-10-2005 02:29 AM
Re: Quota Problem: quotaon error
---
The quotaon command enables quotas on one or more HFS file systems.
---
Yours is vxfs !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:01 AM
тАО06-10-2005 03:01 AM
Re: Quota Problem: quotaon error
(OK this is a 10.20 box... but its all I have with quotas....)
# quotacheck -v /dev/s2vg01/lvol5
Syncing quotas for /dev/s2vg01/lvol5 (/users/ocpa)
mos2 # quota -v madani
Disk quotas for madani (uid 2059):
Filesystem usage quota limit timeleft files quota limit timeleft
/users/ocpa 10024 6200 10000 7.0 days 132 240 320
mos2 # quotaoff /users/ocpa
mos2 # quota -v madani
Disk quotas for madani (uid 2059):
Filesystem usage quota limit timeleft files quota limit timeleft
mos2 # quotaon /users/ocpa
mos2 # quota -v madani
Disk quotas for madani (uid 2059):
Filesystem usage quota limit timeleft files quota limit timeleft
/users/ocpa 10024 6200 10000 7.0 days 132 240 320
mos2 # fstyp /dev/s2vg01/lvol5
vxfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:02 AM
тАО06-10-2005 03:02 AM
Re: Quota Problem: quotaon error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:04 AM
тАО06-10-2005 03:04 AM
Re: Quota Problem: quotaon error
Is there no ACL of sone sort preventing you to use quotas on this file system?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:05 AM
тАО06-10-2005 03:05 AM
Re: Quota Problem: quotaon error
could this be a patch problem ?
Bruno, could you post your hpux version and the output of
# swlist -l product | grep -i quota
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:10 AM
тАО06-10-2005 03:10 AM
Re: Quota Problem: quotaon error
>> The command does exist under HPUX11.00 but you had it mispelled as Robert-Jan gives you the right spelling: fstyp
yes, i saw.
>> Could it be you lack of space in that file system? Adding quotas does use a bit of space...
root < MN >: df -k /export/home/
/export/home (/dev/vgRAID1/lvolhome ) : 102322632 total allocated Kb
10758552 free allocated Kb
91564080 used allocated Kb
89 % allocation used
### Robert ###
>> from the quotaon manpage
---
>> The quotaon command enables quotas on one or more HFS file systems.
---
>> Yours is vxfs !
I agree with you, but then why the command in the others partiotions yhat be vxfs too ?
See some lines of my /etc/fstab :
---------------------------------------------
/dev/vgRAID1/lvolhome /export/home vxfs rw,suid,largefiles,delaylog,datainlog,quota 0 2
/dev/vgRAID3/lvoltraining /training vxfs rw,suid,largefiles,delaylog,datainlog,quota 0 2
/dev/vgRAID9/lvolteste /temp_teste vxfs rw,suid,largefiles,delaylog,datainlog,quota 0 2
---------------------------------------------
When a i run the quotaon command see the output :
/training: quotas turned on
/temp_teste: quotas turned on
quotactl: /dev/vgRAID1/lvolhome: I/O error
Only in the home partition the quota don't work's :-(
Any other sugestions.
Thank's for the support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 08:03 AM
тАО06-10-2005 08:03 AM
Re: Quota Problem: quotaon error
No, all the fylesystems have the same configuration.
HP-UX Version :
root < MN >: uname -a
HP-UX host B.11.00 A 9000/800
swlist output :
root < fs001 - MN >: swlist -l product | grep -i quota
DiskQuota B.11.00 DiskQuota
PHCO_14194 1.0 quota(1) patch for NFS-quotas
PHCO_20070 1.0 quota(1) patch for NFS-quotas
PHKL_18799 1.0 PANIC in diskquota while running sendmail
PHKL_20401 1.0 fix quotaon I/O error problem
Thank's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2005 03:50 PM
тАО06-10-2005 03:50 PM
Re: Quota Problem: quotaon error
*** START PATCH NOTES ***
Patch Name: PHKL_20401
Patch Description: s700_800 11.00 fix quotaon I/O error problem
quotaon does not work. It fails with I/O error.
# quotaon -v /home
quotactl: /dev/vg02/lvol1: I/O error
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.
*** END PATCH NOTES ***
You seem to have this patch installed. Still, can you please verify that you see PHKL_20401 in the output of 'what'?
# what /usr/conf/lib/libvxfs_base.a | grep -i quota
# what /stand/vmunix | grep -i quota