Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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?

  • Community Expert

Try:

 

smartctl -a /dev/nvme0

 

or if that doesn't work:

 

smartctl -a /dev/nvme0n1

 

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.