On Jan 31, 2010, at 10:15 PM, Prakash Kochummen wrote:
> Hi,
> 
> While using ufs root, we had an option for limiting the /tmp size using mount 
> -o size manual option or setting size=1024m in the vfstab. 

This is no different when using ZFS root.  /tmp is, by default, a tmpfs file 
system.

> Do we have any comparable option available when we use zfs root. If we 
> execute 
> zfs set size=1024m rpool/swap
> it resizes the whole of the swap area which results in reducing the VM size. 

Yes, but the equivalent for a UFS root would be to format the swap device and
change the partition size.  Clearly, the ZFS solution is simpler and safer.

> AFAIK in the ufs option for limiting swap size, we are just limiting the 
> filesystem behaviour of the tmpfs filesystem while the kernel will still be 
> able to use the swap space for paging etc. Is this correct understanding. 

By default, the Solaris 10 installer does not use UFS for swap.  So there is no
"ufs option for limiting swap size."
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to