On 1/23/17 6:29 , Youzhong Yang wrote: > Add something like this to /kernel/drv/sd.conf: > > "TOSHIBA PX02SMF020 ", "cache-nonvolatile:true", > > I don't think the sd.conf comes with smartos image has it, so you need to > build your own image.
In general, you should _never_ set this value. You have basically told the system that this device is power safe and never requires a synchronize cache command. This is not true for most devices and a poorly timed panic will result in data loss on the one device whose purpose is to protect its data: the slog. Note, when I generally talk about an SSD being power safe, that does not mean that this can be set to true. The devices generally only guarantee that data is safe after a synchronize cache command. I don't have as much experience with these Toshiba drives, so it may be that their datasheet tells you something else in this case. Robert ------------------------------------------- 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
