On 1/23/17 9:20 , Youzhong Yang wrote:
> it is power safe and we've tested it here.
> 
> https://toshiba.semicon-storage.com/us/product/storage-products/enterprise-ssd/px02smb-px02smfxxx.html?sug=1

Sure, it does say it's power safe. Are you sure that means you don't
need to issue synchronize cache commands to the device? For some
devices, you still need to issue synchronize cache commands even if
they're power safe. If it works, great. Hopefully that just means
synchronize cache commands are a no-op.

Robert

> On Mon, Jan 23, 2017 at 12:01 PM, Robert Mustacchi <[email protected]> wrote:
> 
>> 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

Reply via email to