On 18/06/10 10:29 PM, Sendil wrote:
Hi
Currently I have 400+ users with quota set to 500MB limit.
> Currently the file system is using veritas file system.
I am planning to migrate all these home directory to a new
> server with ZFS. How can i migrate the quotas.
I can create 400+ file system for each users,
but will this affect my system performance during the system boot up?
Is this recommanded or any alternate is available for this issue.
Pretty sure this is covered in the manpages for zfs(1m) and
zpool(1m).
When I reboot the gate machine, which has around 2000 datasets
attached, the zfs import step takes about 2 minutes.
I'd use something like this:
for user in $LISTOFUSERS; do
zfs create -o quota=500Mb -o mountpoint=/export/home/$user \
poolname/$user
done
blinder:hook $ pfexec zfs create -o quota=500Mb -o
mountpoint=/scratch/pkg/test1 sink/test1
blinder:hook $ zfs list sink/test1
NAME USED AVAIL REFER MOUNTPOINT
sink/test1 31K 500M 31K /scratch/pkg/test1
James C. McPherson
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code