[OpenIndiana-discuss] loader.conf

Richard Elling richard.elling at richardelling.com
Fri Dec 28 23:31:44 UTC 2012


On Dec 28, 2012, at 12:40 AM, Jim Klimov <jimklimov at cos.ru> wrote:

> On 2012-12-28 09:00, Ram Chander wrote:
>> Hi,
>> 
>> 
>> Is there /boot/loader.conf in OI.  I want to set below in the file, will it
>> take effect  ?  If not where to specify ?
>> 
>> vfs.zfs.zil_disable="0"
>> vfs.zfs.txg.timeout="5"
>> vfs.zfs.vdev.max_pending="4"
> 
> In Solaris-related OSes it is /etc/system with entries like this,
> for your case:
> 
> set zfs:zfs_txg_timeout = 5
> *set zfs:zfs_txg_synctime_ms = 5000
> set zfs:zil_disable=0

In modern ZFS implementations, this is deprecated (now a NOP)

> set zfs:zfs_vdev_max_pending = 4
> 
> The asterisk symbol is start of comment here, like hash in most other files.

Hashes work too. See system(4)
 -- richard

--

Richard.Elling at RichardElling.com
+1-760-896-4422





More information about the OpenIndiana-discuss mailing list