> From: "Chris Ferebee via smartos-discuss" <[email protected]>
> 
> I'm trying to modify /etc/system, specifically to set ncsize to a
> higher value than the default in order to get a larger DNLC and
> improve the DNLC cache hit rate.
> 
> My test system is booting a standard joyent_20140724T221203Z image
> from a USB key. Following
> 
>       
> <http://dtrace.org/blogs/wesolows/2013/12/28/anonymous-tracing-on-smartos/>
> 
> I mounted the USB key on /mnt, I created a directory
> /mnt/override/etc, copied /etc/system from /mnt/override/etc/system
> with some added comments. Then I created a new entry in
> /mnt/boot/grub/menu.lst:
> 
> title Live 64-bit (text) OVERRIDE
>    kernel /platform/i86pc/kernel/amd64/unix -B
>    console=text,root_shadow='...myshadow...',smartos=true
>    module /platform/i86pc/amd64/boot_archive type=rootfs name=ramdisk
>    module /platform/i86pc/amd64/boot_archive.hash type=hash
>    name=ramdisk
>    module /override/etc/system type=file name=etc/system
> 
> I can boot from the new entry, but my customized system file is not
> getting picked up, and /etc/system still has the same contents as
> before.
> 
> Am I missing a step?

when banging on this months ago, i was told that while this works as 
advertised, you simply don't _see_ that it works by looking in the filesystem. 
at that time, i did confirm this by seeing the unchanged file in the filesystem 
but also seeing changes in system operation due to the module that i passed via 
grub.

so ... can you dis/prove the change based on something other than looking at 
the file? perhaps a change in your DNLC operation?


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to