Loading... # 镁光7300 DC固态硬盘升级固件 ## 工具介绍 - 镁光固态硬盘升级工具: `msecli` 1. 下载镁光官方管理工具[Command Line Interface – msecli](https://www.micron.com/products/ssd/storage-executive-software) 2. 页面拉到最下面找到command line工具,官网提供了三个版本,`VMWare ESXi`、`Windows`、`Linux`,点击下载对应系统的版本。如果这里提示需要登录的话,就注册一个,它没要求太多,就填写一些基本信息就行,后面下载固件也需要账号。下面以linux版本为例,可以看到下载的是一个run文件,文件名:`msecli_Linux.run` 3. 通过例如`scp`的工具将文件传入需要管理的机器。 4. 运行run文件,并一路enter或者输入y下一步即可。 5. 安装完成后`msecli -V`确认安装正常 ## 查看硬盘以及固件版本 - 查看硬盘详细信息: `msecli -L` ``` root@F1-230:~# msecli -L Device Name : /dev/nvme0 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20342BF2**** FW-Rev : 95420100 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A1:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme0 OS Device : /dev/nvme0n1 Temp(C) : 28 Device Name : /dev/nvme1 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20342BF2**** FW-Rev : 95420100 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A2:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme1 OS Device : /dev/nvme1n1 Temp(C) : 30 Device Name : /dev/nvme2 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20232BCF**** FW-Rev : 95420100 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A3:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme2 OS Device : /dev/nvme2n1 Temp(C) : 31 Drive information is retrieved successfully CMD_STATUS : Success STATUS_CODE : 0 Copyright (C) 2021 Micron Technology, Inc. ``` - 确认硬盘固件版本与最新版本固件 在上面的硬盘信息里面可以看到`FW-Rev`的值,这就是硬盘的固件版本号。 最新的固件版本可以通过官网查询,这里不得不吐槽一下,镁光中文站的内容和其他版本完全不同,我没找到相关工具和固件下载页面,英文站的查找方式,`support`>`software anddrives`>然后选择硬盘类型和firmware。[英文镁光官网固件发布页面](https://www.micron.com/search-results?searchRequest=%7b%22Filters%22%3a%5b%7b%22QueryToken%22%3a%22doc%22%2c%22UseLogicalOr%22%3afalse%2c%22Ids%22%3a%5b%228778ef1d-57cf-4acc-ae85-110e2b9b7217%22%2c%221a45ce7e-a71b-4db4-b084-29e2d9600b6a%22%2c%22e6921ea9-1eb5-4a26-b0cc-6a0731bd7cf9%22%2c%229b032bf3-8580-4f52-9800-89c74cf8187d%22%2c%22fbe940c5-97ef-48a2-b497-7c212bdbfb19%22%2c%223f71248e-7212-458b-b782-4ad28877b7bc%22%5d%7d%5d%7d)。 我这里放的页面是镁光NVMe固态硬盘的固件页面,里面可以看到7300(我需要升级固件的硬盘型号`Model No`,如果不确定接口也可以通过`Model No`后面的编号来对比确认)的最新版本号为`95420260`明显高于本地版本号`95420100`,直接点击下载就行(这里也需要登录账号才能下载)。 下载完成后同样传到需要升级固件的机器里面,具体方法不赘述,有的是。不需要解压 ## 升级固件实操 ``` root@F1-230:~# msecli -F -U ./micron_7300_fw-95420260_u2.tar -n /dev/nvme0 Trying to update current firmware for /dev/nvme0. Are you sure you want to continue(Y|N):y Firmware update for /dev/nvme0 will take a few minutes to complete. Please wait ........... Device Name : /dev/nvme0 Firmware update operation completed successfully. CMD_STATUS : Success STATUS_CODE : 0 Copyright (C) 2021 Micron Technology, Inc. ``` 升级的命令:`msecli -F -U <firmware package> -n <nvme device>` 期间需要输入`y`,确认升级,然后等待完成即可。完成后可以继续确认一下版本号 ``` root@F1-230:~# msecli -L Device Name : /dev/nvme0 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20342BF2**** FW-Rev : 95420260 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A1:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme0 OS Device : /dev/nvme0n1 Temp(C) : 28 Device Name : /dev/nvme1 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20342BF2**** FW-Rev : 95420100 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A2:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme1 OS Device : /dev/nvme1n1 Temp(C) : 30 Device Name : /dev/nvme2 Model No : Micron_7300_MTFDHBE7T6TDF Serial No : 20232BCF**** FW-Rev : 95420100 Total Size : 7680.00GB Drive Status : Drive is in good health PCI Path (B:D.F) : A3:00.0 Vendor : Micron PCIe Link Speed : 8.0 GT/s Device Path : 0:/dev/nvme2 OS Device : /dev/nvme2n1 Temp(C) : 31 Drive information is retrieved successfully CMD_STATUS : Success STATUS_CODE : 0 Copyright (C) 2021 Micron Technology, Inc. ``` 通过上面的结果可以看到,`nvme0`的版本号已经升级为`95420260`,已经区别与另外两块盘了。其他两块盘可以通过同样的方式进行升级。 ## 附录: [Storage Executive Command Line Interface User Guide](https://media-www.micron.com/-/media/client/global/documents/products/software/storage-executive-software/msecli/storage_executive_cli_user_guide.pdf?la=en&rev=86fed550cb414b81883c426e540bb46a) Last modification:August 28, 2021 © Allow specification reprint Like 1 If you think my article is useful to you, please feel free to appreciate
One comment
nice