How to lookup firmware revision info on NVME M.2 drive


Recommended Posts

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?

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.