October 5, 20178 yr Hi Please respect that I'm no Linux ninja in any way. So be gentle if I am asking something obvious My question is. How can I find the firmware revision for my Samsung 960 Evo M.2 512GB? Below you can see what I have tried (I have removed most of the irrelevant disk info from the "fdisk" command): root@unRAID:~# sudo fdisk -l Disk /dev/sda: 59.8 GiB, 64156073984 bytes, 125304832 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x1d7659bc Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 125304831 125302784 59.8G c W95 FAT32 (LBA) Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/nvme0n1p1 64 976773167 976773104 465.8G 83 Linux ################################################################### root@unRAID:~# sudo hdparm -i /dev/nvme0n1 /dev/nvme0n1: HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device HDIO_GET_IDENTITY failed: Inappropriate ioctl for device As you can see I get the "Inappropriate ioctl for device" error. Maybe I'm doing it wrong, you tell me Is there anyone who can tell me how I can retrieve this information while the drive is in use/production?
October 5, 20178 yr Community Expert Try: smartctl -a /dev/nvme0 or if that doesn't work: smartctl -a /dev/nvme0n1
October 5, 20178 yr Author 3 minutes ago, johnnie.black said: Try: smartctl -a /dev/nvme0 or if that doesn't work: smartctl -a /dev/nvme0n1 Thank you very much @johnnie.black Both commands worked great. Just what I was looking for Thanks again.
Archived
This topic is now archived and is closed to further replies.