brandur Posted October 5, 2017 Share Posted October 5, 2017 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? Quote Link to comment
JorgeB Posted October 5, 2017 Share Posted October 5, 2017 Try: smartctl -a /dev/nvme0 or if that doesn't work: smartctl -a /dev/nvme0n1 1 Quote Link to comment
brandur Posted October 5, 2017 Author Share Posted October 5, 2017 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.