Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Dec 2016 12:25:47 +0100
From:      "Matthias Petermann" <matthias@petermann-it.de>
To:        "Stefano Garzarella" <s.garzarella@evidence.eu.com>
Cc:        freebsd-questions@freebsd.org, "Michele Pes" <m.pes@evidence.eu.com>
Subject:   =?utf-8?q?Re=3A?= How to detect if a disk is an SSD
Message-ID:  <935-58400880-ed-6b8b4580@136822448>
In-Reply-To: <CAL4cwLUZp6ap3aP%2Bbe3Spxa5A=KYTiiLdWGFzuhz99XH2qL0ug@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Stefano,

one option might be to check the kernel log via

% dmesg

I would expect some entries like:

ada4 at ata0 bus 0 scbus4 target 1 lun 0
ada4: <SAMSUNG MZ7LM120HCFD-0E003 GXT3003Q> ACS-2 ATA SATA 3.x device
ada4: Serial Number S2NRNXAGC00170D
ada4: 150.000MB/s transfers (SATA, UDMA6, PIO 8192bytes)
ada4: 114473MB (234441648 512 byte sectors)
ada4: quirks=3D0x3<4K,NCQ=5FTRIM=5FBROKEN>

which includes the model number / name. Feeding this into Google should=
 provide clarity if it is a SSD or not.

Best regards,
Matthias

Am Donnerstag, Dezember 01, 2016 12:13 CET, Stefano Garzarella <s.garza=
rella@evidence.eu.com> schrieb: 
 
> Hi guys,
> we are using FreeBSD 10.1-RELEASE and we need to check via software i=
f the
> disk connected to our remote machine is SSD or not.
> 
> Is there any way (sysctl, etc) to get this information?
> 
> Thanks!
> 
> Best Regards,
> Stefano Garzarella
> 
> -- 
> Stefano Garzarella
> Software Engineer
> 
> email: s.garzarella@evidence.eu.com
> skype: garzarella
> 
> Evidence Srl
> http://www.evidence.eu.com
> Via Carducci 56 - Localita' Ghezzano
> 56010 S.Giuliano Terme Pisa - Italy
> Phone: +39 050 99 11 122
> Fax: +39 050 99 10 812
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=

> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb=
sd.org"
 
 
 
-- 
Matthias Petermann <matthias@petermann-it.de> | www.petermann-it.de
Innovative IT-L=C3=B6sungen, Systemintegration, FreeBSD/Unix-Support
Wildparkring 13, 01458 Ottendorf-Okrilla | Mobil: (0178) 523 42 22
GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572  C3D7 7B1D A3C3 5C3E 6D75




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?935-58400880-ed-6b8b4580>