But if I use User quotas, then I will have to modify my usermap and passwd files to include all of my 250 NT users. I don't want to have to put 250 entries into my usermap file.
-----Original Message----- From: Steve Losen [mailto:scl@sasha.acc.virginia.edu] Sent: Tuesday, January 30, 2001 16:37 To: toasters Subject: Re: 2 q's - quotas and tape drives
Along the same lines, we're working on creating home directories for users here at the corporate office. We're wanting to limit the amount of
storage
per user, but from what I've read there is a limitation of 254 qtrees per volume. We're running NT, so therefore using CIFS, and using Ontap
5.3.7R2.
We are also running NetIQ, but can't install the agent on the filer. We could limit the disks per volume, but smaller volumes waste more disk
space.
To give you an idea, we're considering limits of either 250 or 500MB per user.
Unless I misunderstand you, you do not need a separate qtree for each user. Netapps provide both "tree" quotas and "user" quotas.
A "tree" quota limits the total disk space of all files in a directory tree (quota tree), regardless of who owns them.
A "user" quota limits the total disk space of files that are owned by a particular user. It sounds like you can do what you want with "user" quotas in one big volume with no qtrees at all. However, you may want to split things up for other reasons.
"tree" quotas are typically used to limit the disk space of a project or department consisting of multiple users. And if you really like to micromanage, you can even have user quotas within a qtree. For example,
fred user@/vol/vol0 15G - /vol/vol0/qt1 tree 25G - fred user@/vol/vol0/qt1 10G -
Here "fred" can use up to 15G in the volume vol0. The qtree qt1 cannot use more than 25G of vol0. And inside qt1, fred can only use 10G. Any disk space that fred uses inside qt1 also counts against his 15G quota for the entire volume.
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support
If the UNIX usernames and NT usernames are the same, you can either enable NIS on the filer, or just copy the passwd file from a host with all the UNIX accounts on to the filer. Both ways the filer will automatically map UNIX user "fud" to NT user "NT_DOMAIN\fud".
-- Jeff
On Wed, Jan 31, 2001 at 10:09:52AM -0600, Maglinger, Paul wrote:
But if I use User quotas, then I will have to modify my usermap and passwd files to include all of my 250 NT users. I don't want to have to put 250 entries into my usermap file.
-----Original Message----- From: Steve Losen [mailto:scl@sasha.acc.virginia.edu] Sent: Tuesday, January 30, 2001 16:37 To: toasters Subject: Re: 2 q's - quotas and tape drives
Along the same lines, we're working on creating home directories for users here at the corporate office. We're wanting to limit the amount of
storage
per user, but from what I've read there is a limitation of 254 qtrees per volume. We're running NT, so therefore using CIFS, and using Ontap
5.3.7R2.
We are also running NetIQ, but can't install the agent on the filer. We could limit the disks per volume, but smaller volumes waste more disk
space.
To give you an idea, we're considering limits of either 250 or 500MB per user.
Unless I misunderstand you, you do not need a separate qtree for each user. Netapps provide both "tree" quotas and "user" quotas.
A "tree" quota limits the total disk space of all files in a directory tree (quota tree), regardless of who owns them.
A "user" quota limits the total disk space of files that are owned by a particular user. It sounds like you can do what you want with "user" quotas in one big volume with no qtrees at all. However, you may want to split things up for other reasons.
"tree" quotas are typically used to limit the disk space of a project or department consisting of multiple users. And if you really like to micromanage, you can even have user quotas within a qtree. For example,
fred user@/vol/vol0 15G - /vol/vol0/qt1 tree 25G - fred user@/vol/vol0/qt1 10G -
Here "fred" can use up to 15G in the volume vol0. The qtree qt1 cannot use more than 25G of vol0. And inside qt1, fred can only use 10G. Any disk space that fred uses inside qt1 also counts against his 15G quota for the entire volume.
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support
But if I use User quotas, then I will have to modify my usermap and passwd files to include all of my 250 NT users. I don't want to have to put 250 entries into my usermap file.
I think you will find that maintaining the /etc/passwd is no big deal. And you have a much more flexible system. As you pointed out, if you have a qtree for each user, then you cannot have more than 255 users in a volume. That's not very flexible at all.
If your NT usernames are also valid unix names, then you don't need a big usermap file because you can just put the NT names in the /etc/passwd file.
Someone else pointed out that netapp has tools for building /etc/passwd from your NT account info.
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support