On 12/30/16 1:30 , 张俊钦 wrote: > Thanks for your reply. > > I may need to explain more about my question. > We know how to identify disk is SSD or not. : ) > What we want to know is the interface of the SSD is PCIe or SAS, or SATA.
We need to go back and make sure that diskinfo knows something is a type NVMe (which generally indicates PCIe). It doesn't at the moment. I've filed https://smartos.org/bugview/OS-5880 to track that. In the interim, if you need to know, you can use prtconf -v and look at the blkdev instances that are children of the nvme driver. They'll have the devices links as properties. Robert > 发件人: Gjermund Gusland Thorsen [mailto:[email protected]] > 发送时间: 2016年12月30日 15:52 > 收件人: [email protected] > 主题: Re: [smartos-discuss] How to identify a PCIe SSD in SmartOS? > > It says in the list you just showed from diskinfo the latter column: SSD: yes > > G > > On 30 Dec, 2016, at 8:00, 张俊钦 > <[email protected]<mailto:[email protected]>> wrote: > > Hi, > > I have a question about PCIe SSD. > As you can see below, we have one SSD in each server. We added a PCIe SSD to > server 1 and a non PCIe SSD to server2. > > [root@server1 ~]# diskinfo > TYPE DISK VID PID SIZE RMV > SSD > c0t1d0 INTEL SSDPEDMW012T4 1117.81 GiB no > yes > ATA c2d0 - - 465.76 GiB no > no > > [root@server2 ~]# diskinfo > TYPE DISK VID PID SIZE > RMV SSD > UNKNOWN c1t0d0 ATA ST3000DM001-1ER166 2794.52 GiB no > no > UNKNOWN c1t1d0 INTEL SSDSC2BA100G3 93.16 GiB > no yes > > But the question is how to identify a SSD type through SmartOS? > We checked command format and prtconf, but nothing useful found. > > Coud you help this? > Thanks. > > B.R. > Junqin Zhang > ------------------------------------------- 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
