Jump to content

Limit size on a directory


Recommended Posts

Guest Irwin Fletcher
Posted

Does anyone know of a way to limit the size of a directory? I don't

mean give an individual user a limit on a directory, I mean give a

directory a limit regardless of who writes anything to that directory.

 

TIA for any ideas.

  • Replies 9
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: Limit size on a directory

 

 

"Irwin Fletcher" <ffletch@nospam.nospam> wrote in message

news:OpGkXPsDJHA.3576@TK2MSFTNGP05.phx.gbl...

> Does anyone know of a way to limit the size of a directory? I don't mean

> give an individual user a limit on a directory, I mean give a directory a

> limit regardless of who writes anything to that directory.

>

> TIA for any ideas.

 

I think that setting a quota will do this for you.

Posted

Re: Limit size on a directory

 

Create a partition, set the size to the limit you want. Mount this partition

to an empty folder.

 

Wayne McGlinn

Brisbane, Oz

 

"Irwin Fletcher" <ffletch@nospam.nospam> wrote in message

news:OpGkXPsDJHA.3576@TK2MSFTNGP05.phx.gbl...

> Does anyone know of a way to limit the size of a directory? I don't mean

> give an individual user a limit on a directory, I mean give a directory a

> limit regardless of who writes anything to that directory.

>

> TIA for any ideas.

Guest kj [SBS MVP]
Posted

Re: Limit size on a directory

 

Irwin Fletcher wrote:

> Does anyone know of a way to limit the size of a directory? I don't

> mean give an individual user a limit on a directory, I mean give a

> directory a limit regardless of who writes anything to that directory.

>

> TIA for any ideas.

 

File Server Resource Manager in Windows R2 and Windows 2008 provide

directory based size restrictions, amoungst other capabiliites

 

http://technet.microsoft.com/en-us/library/cc755603.aspx

 

 

--

/kj

Guest Irwin Fletcher
Posted

Re: Limit size on a directory

 

In FSRM I can see how to create a user based quota for a directory but I

don't see anywhere that I can create a quota or limit for a directory

that is not based on users.

 

Pegasus (MVP) wrote:

> "Irwin Fletcher" <ffletch@nospam.nospam> wrote in message

> news:OpGkXPsDJHA.3576@TK2MSFTNGP05.phx.gbl...

>> Does anyone know of a way to limit the size of a directory? I don't mean

>> give an individual user a limit on a directory, I mean give a directory a

>> limit regardless of who writes anything to that directory.

>>

>> TIA for any ideas.

>

> I think that setting a quota will do this for you.

>

>

Guest Irwin Fletcher
Posted

Re: Limit size on a directory

 

This sounds like it could work. However the server I want to do it on

has no empty disk space available create new partitions in. Are you

suggesting that I resize my existing partition to make room for a new

partition? The only problem I see with this is that I might run into

problems when I want to expand the directory to a larger size.

 

Wayne wrote:

> Create a partition, set the size to the limit you want. Mount this

> partition to an empty folder.

>

> Wayne McGlinn

> Brisbane, Oz

>

> "Irwin Fletcher" <ffletch@nospam.nospam> wrote in message

> news:OpGkXPsDJHA.3576@TK2MSFTNGP05.phx.gbl...

>> Does anyone know of a way to limit the size of a directory? I don't

>> mean give an individual user a limit on a directory, I mean give a

>> directory a limit regardless of who writes anything to that directory.

>>

>> TIA for any ideas.

>

Guest Irwin Fletcher
Posted

Re: Limit size on a directory

 

In FSRM, I see a way to limit the amount of data that a user can put in

a directory. However, I don't want to limit it on a user by user basis.

I want to limit it based on the overall amount of space available for

that directory. Here's a better explanation:

 

I have a directory: C:\share on server1 that is shared out as

\\server1\share. I want to make it so that the total amount of space

available for this share is 10 GB. So if a user puts 5 GB of data in

the share there would then be 5 GB available for anyone (including the

user who put 5 GB there in the first place). Make sense?

 

kj [sBS MVP] wrote:

> Irwin Fletcher wrote:

>> Does anyone know of a way to limit the size of a directory? I don't

>> mean give an individual user a limit on a directory, I mean give a

>> directory a limit regardless of who writes anything to that directory.

>>

>> TIA for any ideas.

>

> File Server Resource Manager in Windows R2 and Windows 2008 provide

> directory based size restrictions, amoungst other capabiliites

>

> http://technet.microsoft.com/en-us/library/cc755603.aspx

>

>

Guest kj [SBS MVP]
Posted

Re: Limit size on a directory

 

Irwin Fletcher wrote:

> In FSRM, I see a way to limit the amount of data that a user can put

> in a directory. However, I don't want to limit it on a user by user

> basis. I want to limit it based on the overall amount of space

> available for that directory. Here's a better explanation:

>

> I have a directory: C:\share on server1 that is shared out as

> \\server1\share. I want to make it so that the total amount of space

> available for this share is 10 GB. So if a user puts 5 GB of data in

> the share there would then be 5 GB available for anyone (including the

> user who put 5 GB there in the first place). Make sense?

 

Yes. This is exactly what FSRM quotas do. They limit the directory and

subdirectory tree to without consideration for the owner of the files. NTFS

Quotas are volume based and restrict by the user (owner) and not by the

directory.

>

> kj [sBS MVP] wrote:

>> Irwin Fletcher wrote:

>>> Does anyone know of a way to limit the size of a directory? I don't

>>> mean give an individual user a limit on a directory, I mean give a

>>> directory a limit regardless of who writes anything to that

>>> directory. TIA for any ideas.

>>

>> File Server Resource Manager in Windows R2 and Windows 2008 provide

>> directory based size restrictions, amoungst other capabiliites

>>

>> http://technet.microsoft.com/en-us/library/cc755603.aspx

 

--

/kj

Guest Irwin Fletcher
Posted

Re: Limit size on a directory

 

Sorry, this was probably obvious, but I didn't actually *try it*! Once

I did everything worked as planned.

 

It looks like FSRM won't do user based quotas at all. Is that true?

 

kj [sBS MVP] wrote:

> Irwin Fletcher wrote:

>> In FSRM, I see a way to limit the amount of data that a user can put

>> in a directory. However, I don't want to limit it on a user by user

>> basis. I want to limit it based on the overall amount of space

>> available for that directory. Here's a better explanation:

>>

>> I have a directory: C:\share on server1 that is shared out as

>> \\server1\share. I want to make it so that the total amount of space

>> available for this share is 10 GB. So if a user puts 5 GB of data in

>> the share there would then be 5 GB available for anyone (including the

>> user who put 5 GB there in the first place). Make sense?

>

> Yes. This is exactly what FSRM quotas do. They limit the directory and

> subdirectory tree to without consideration for the owner of the files. NTFS

> Quotas are volume based and restrict by the user (owner) and not by the

> directory.

>

>> kj [sBS MVP] wrote:

>>> Irwin Fletcher wrote:

>>>> Does anyone know of a way to limit the size of a directory? I don't

>>>> mean give an individual user a limit on a directory, I mean give a

>>>> directory a limit regardless of who writes anything to that

>>>> directory. TIA for any ideas.

>>> File Server Resource Manager in Windows R2 and Windows 2008 provide

>>> directory based size restrictions, amoungst other capabiliites

>>>

>>> http://technet.microsoft.com/en-us/library/cc755603.aspx

>

Guest kj [SBS MVP]
Posted

Re: Limit size on a directory

 

Irwin Fletcher wrote:

> Sorry, this was probably obvious, but I didn't actually *try it*! Once I

> did everything worked as planned.

>

> It looks like FSRM won't do user based quotas at all. Is that true?

 

Correct. You may use the FSRM reporting capability to report on user usage,

but not limiting space usage by user.

 

NTFS Quotas provide per user restrictions, but by volume not directory.

>

> kj [sBS MVP] wrote:

>> Irwin Fletcher wrote:

>>> In FSRM, I see a way to limit the amount of data that a user can put

>>> in a directory. However, I don't want to limit it on a user by user

>>> basis. I want to limit it based on the overall amount of space

>>> available for that directory. Here's a better explanation:

>>>

>>> I have a directory: C:\share on server1 that is shared out as

>>> \\server1\share. I want to make it so that the total amount of

>>> space available for this share is 10 GB. So if a user puts 5 GB of

>>> data in the share there would then be 5 GB available for anyone

>>> (including the user who put 5 GB there in the first place). Make

>>> sense?

>>

>> Yes. This is exactly what FSRM quotas do. They limit the directory

>> and subdirectory tree to without consideration for the owner of the

>> files. NTFS Quotas are volume based and restrict by the user (owner)

>> and not by the directory.

>>

>>> kj [sBS MVP] wrote:

>>>> Irwin Fletcher wrote:

>>>>> Does anyone know of a way to limit the size of a directory? I

>>>>> don't mean give an individual user a limit on a directory, I mean

>>>>> give a directory a limit regardless of who writes anything to that

>>>>> directory. TIA for any ideas.

>>>> File Server Resource Manager in Windows R2 and Windows 2008 provide

>>>> directory based size restrictions, amoungst other capabiliites

>>>>

>>>> http://technet.microsoft.com/en-us/library/cc755603.aspx

 

--

/kj


×
×
  • Create New...