1758626 Members
2106 Online
108874 Solutions
New Discussion юеВ

Re: Disk Quotas

 
chrizz
Occasional Advisor

Disk Quotas

Hello everybody,

I am trying to configure quotas but it isn't working like it should. I'm using a HP-UX B.11.00 U 9000/800. First I did the following steps:
* cpset /dev/null /home/quotas 600 root bin
* edquota user1
* added this => fs /home blocks (soft = 30720, hard = 40960) inodes (soft = 4000, hard = 5000)
* edquota -t
* added this => fs /home blocks time limit = 10.00 months, files time limit = 15.00 months
* quotaon -v /home

On the pc we use Windows NT 4.0 where we have a userdirectory on the server. This share is located on the server under /home/user1.

When I'm logged in on the server, using my commandline in UNIX I am not able to copy any more than 20MB to my homedir, but when I'm using my pc which is connected to the share I can copy as much as I want to my share...

Does anyone know what I'm doing wrong here?
8 REPLIES 8
Bill Hassell
Honored Contributor

Re: Disk Quotas

SAMBA is not a 'normal' HP-UX filesystem -- although the data can be seen from the HP-UX side as normal and attempts to add more files to a filesystem (from the HP-UX side) that is over quota will fail, SAMBA is trying to connect two very different OS's together and until you upgrade to version A.02.01.02, HP-UX quotas will not affect PC-side file creation and writes.

http://docs.hp.com/en/B8725-90086/ch01s03.html


Bill Hassell, sysadmin
Peter Godron
Honored Contributor

Re: Disk Quotas

chrizz
Occasional Advisor

Re: Disk Quotas

Thanks for the fast replies. I'm sorry if I say stupid things but I'm fairly new to all of this.
Both of you are talking about Samba, but we aren't using Samba to connect our Windows NT4 (and Windows XP) pc with our UNIX server. The sambacommands don't work on the server. If I'm not mistaken we use ASU.
Bill Hassell
Honored Contributor

Re: Disk Quotas

AS/U isn't very common but it is still a solution. From the latest release Notes, B.03.02.02 will support quotas on JFS filesystems. The implication is that quotas work but only on HFS filesystems:

http://docs.hp.com/en/J2715-90001/ch04s01.html


Bill Hassell, sysadmin
chrizz
Occasional Advisor

Re: Disk Quotas

The filesystem that is used for that is indeed VXFS. The problem with our server is that we may not install other software or update to newer versions. While looking on the net for an answer I came on this page:
http://docs.hp.com/en/J2716-90016/ch05s03.html?btnNext=next%A0%BB
The say that you have to set a registry value called UnixQuotas to 1. Is this also something that has to be done?
Bill Hassell
Honored Contributor

Re: Disk Quotas

You'll have to consult the AS/U manual for settings: http://docs.hp.com/en/J2716-90046/index.html

But if the version you have does not support that feature, you're pretty much stuck with the quota situation.


Bill Hassell, sysadmin
chrizz
Occasional Advisor

Re: Disk Quotas

I'm sorry for the long delay. I've just checked which version it is that we are running here with the command asu_ver. It told us that we are using Advanced Server for HP9000 (Release B.04.06.07) and RFC-NETBIOS (Release B.04.10). So normally it should be supported. I'll try to figure out now how to let Windows NT take over the quota settings from UNIX via this AS/U... I'll keep you posted.
chrizz
Occasional Advisor

Re: Disk Quotas

I've read the manual but wasn't able to find anything really. Seems to me that you don't have to change anything in particular for it to work. Windows should use these quota-settings without a problem (which it doesn't...) because we are using a version that is new enough. Hints and tips would be greatly appreciated. :-)