Re: How to detect if a disk is an SSD
Matthias Petermann
matthias at petermann-it.de
Thu Dec 1 11:32:37 UTC 2016
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=0x3<4K,NCQ_TRIM_BROKEN>
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.garzarella at evidence.eu.com> schrieb:
> Hi guys,
> we are using FreeBSD 10.1-RELEASE and we need to check via software if 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 at 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Matthias Petermann <matthias at petermann-it.de> | www.petermann-it.de
Innovative IT-Lösungen, 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
More information about the freebsd-questions
mailing list