On Jan 4, 2008, at 10:42 AM, Pete Farrell wrote:

> Want to make a directory, which is easy but need to allocate 5gb of  
> disk space for it.
>
> I'm at a loss for specifying certain amount of disk space to  
> directory?
>
> Do I specify it in /etc/vfstab or is it somewhere else?

I'm not sure exactly why you want to do that, but you can certainly do  
it with ZFS, after you create a pool (e.g. mypool) you can do this:

# zfs create mypool/mydirectory
# zfs set quota=5G mypool/mydirectory

There's a ZFS how-to on Sun's site here:
http://www.sun.com/software/solaris/howtoguides/zfshowto.jsp

./mk

-- 
Matthew Kolb
m.kolb at mac.com




Reply via email to