- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Disk quota for Domain and/or user on SA1100
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
Forums
Discussions
Discussions
Discussions
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
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-24-2003 04:44 AM
06-24-2003 04:44 AM
Disk quota for Domain and/or user on SA1100
I've created a new domain and set to quota to 200MB for the administrator 100MB. When FTP'ing files to the user/domain into /home/domain/domain?/web I receive a the message "Disk Quota Exceeded" with only about 5MB of the files uploaded. I've checked both via the Web Interface as well as using quota and edquota to view/alter the settings for this user and group. They all seem right 204800 blks for the group and 202400 blks for the Domain-Admin. This would assume 512K blks = @100MB. Used is 47288 Blks = @20MB (Not sure about this one). I was at first only able to set the user to 1/2 the size of the domain, but used edquota to alter the setting. Any Ideas???
Quota listing below:
# quota -g domain6
Disk quotas for group domain6 (gid 11006):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda7 47228 204800 204810 16 0 0
# quota -uv mickey1
Disk quotas for user mickey1 (uid 507):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda7 47304 202400 202410 33 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 06:02 PM
06-24-2003 06:02 PM
Re: Disk quota for Domain and/or user on SA1100
repquota /dev/hda7
-and-
repquota -a
What does 'quotacheck' say? Use 'quotacheck' to sync. Note: 'quotacheck' should be run via cron daily or weekly, (* depends on your usage. *)
Some usage examples:
quotaon -vug /dev/hda7
quotaon -mickey1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 04:53 AM
06-25-2003 04:53 AM
Re: Disk quota for Domain and/or user on SA1100
quotacheck runs weekly via cron from root.
[root@buzz1-2 /root]# repquota /dev/hda7
Block limits File limits
User used soft hard grace used soft hard grace
root -- 1855660 0 0 244 0 0
named -- 12 0 0 3 0 0
admin +- 20520 20480 20490 none 292 0 0
carlos_t -- 388 102400 102410 105 0 0
mercury -- 764 20480 20490 23 0 0
ktownsend -- 108 20480 20490 23 0 0
mickey -- 220 20480 20490 31 0 0
ctownsend -- 88 20480 20490 18 0 0
mickey1 -- 47304 202400 202410 33 0 0
[root@buzz1-2 /root]# repquota -a
Block limits File limits
User used soft hard grace used soft hard grace
root -- 1852964 0 0 236 0 0
mail -- 0 0 0 5 0 0
named -- 12 0 0 3 0 0
serveradmi-- 20404 0 0 275 0 0
domainadmi-- 948 0 0 60 0 0
domain1 -- 520 512000 512010 136 0 0
domain2 -- 68 102400 102410 14 0 0
domain4 -- 144 20480 20490 14 0 0
domain5 -- 40 204800 204810 8 0 0
domain6 -- 47228 204800 204810 16 0 0
Block limits File limits
User used soft hard grace used soft hard grace
root -- 1855660 0 0 244 0 0
named -- 12 0 0 3 0 0
admin +- 20520 20480 20490 none 292 0 0
carlos_t -- 388 102400 102410 105 0 0
mercury -- 764 20480 20490 23 0 0
ktownsend -- 108 20480 20490 23 0 0
mickey -- 220 20480 20490 31 0 0
ctownsend -- 88 20480 20490 18 0 0
mickey1 -- 47304 202400 202410 33 0 0
[root@buzz1-2 /root]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 05:24 AM
06-25-2003 05:24 AM
Re: Disk quota for Domain and/or user on SA1100
/dev/hda2 /usr ext2 defaults,grpquota 1 1
/dev/hda2 /usr ext2 defaults,usrquota,grpquota 1 1
What about quota records?
/partition/quota.user (* perms = 600 *)
/partition/quota.group (* perms = 600 *)
Startup script?
/usr/sbin/quotacheck
/usr/sbin/quotaon -avug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:28 AM
06-26-2003 02:28 AM
Re: Disk quota for Domain and/or user on SA1100
/root]# cat /etc/fstab
/dev/hda5 / ext2 defaults 1 1
/dev/hda4 /boot ext2 defaults 1 2
/dev/hda8 /emergency ext2 defaults 1 2
/dev/hda7 /home ext2 defaults,grpquota,usrquo
ta 1 2
/dev/hda6 /var ext2 defaults 1 2
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda9 swap swap defaults 0 0
[root]# repquota -v -a
*** Report for group quotas on /dev/hda7 (/home)
Block limits File limits
User used soft hard grace used soft hard grace
root -- 1855748 0 0 244 0 0
mail -- 0 0 0 6 0 0
named -- 12 0 0 3 0 0
serveradmi-- 20436 0 0 275 0 0
domainadmi-- 948 0 0 60 0 0
domain1 -- 528 512000 512010 132 0 0
domain2 -- 68 102400 102410 14 0 0
domain4 -- 144 20480 20490 14 0 0
domain5 -- 40 204800 204810 8 0 0
domain6 -- 47228 204800 204810 16 0 0
*** Report for user quotas on /dev/hda7 (/home)
Block limits File limits
User used soft hard grace used soft hard grace
root -- 1855748 0 0 244 0 0
named -- 12 0 0 3 0 0
admin +- 20520 20480 20490 none 292 0 0
ca****_* -- 388 102400 102410 105 0 0
mer**** -- 764 20480 20490 23 0 0
kto****nd -- 108 20480 20490 23 0 0
mickey -- 220 20480 20490 31 0 0
ct****end -- 88 20480 20490 18 0 0
mickey1 -- 47304 202400 202410 33 0 0
[root rc.d]# cat rc.sysinit | grep quota
# Update quotas if fsck was run on /.
if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then
action "Checking root filesystem quotas" /sbin/quotacheck -v /
elif [ "$rc" = "1" -a -x /sbin/quotacheck ]; then
if [ X"$_RUN_QUOTACHECK" = X1 -a -x /sbin/quotacheck ]; then
action "Checking filesystem quotas" /sbin/quotacheck -v -R -a
if [ -x /sbin/quotaon ]; then
action "Turning on user and group quotas for local filesystems" /sbin/quotao
n -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:39 AM
06-26-2003 02:39 AM
Re: Disk quota for Domain and/or user on SA1100
-rw------- 1 root root 352224 Jun 26 05:40 quota.group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:41 AM
06-26-2003 02:41 AM
Re: Disk quota for Domain and/or user on SA1100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 03:08 AM
06-26-2003 03:08 AM
Re: Disk quota for Domain and/or user on SA1100
I ftp'd the files to the domain admin's account and moved them to the proper location.
and Shezamm!! It worked?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 03:08 AM
06-26-2003 03:08 AM
Re: Disk quota for Domain and/or user on SA1100
I ftp'd the files to the domain admin's account and moved them to the proper location.
Shezamm!! It worked?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 03:10 AM
06-26-2003 03:10 AM
Re: Disk quota for Domain and/or user on SA1100
I Ftp'd the files to the Domain Admin's account and moved them to the proper location.
Shezamm!! It worked!!