Opened 6 months ago
Last modified 6 months ago
#1837 new enhancement
Allow usage of "by-id" symbolic links for nvme devices — at Initial Version
Reported by: | Rypi | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | undecided |
Component: | all | Version: | |
Keywords: | nvme linux | Cc: |
Description
Symblinks from /dev/disk/by-id works well in smartd and smartctl for SATA drives (/dev/sdX), but not for NVME devices. It would be useful if the same behavior could be used for all drives.
Related: ticket #1390, changeset 4847
root@nas:~# smartctl -d by-id --scan /dev/disk/by-id/ata-ST4000NE001-3CR101_WX10EGSJ -d scsi # /dev/disk/by-id/ata-ST4000NE001-3CR101_WX10EGSJ, SCSI device /dev/nvme0 -d nvme # /dev/nvme0, NVMe device
root@nas:~# ls -l /dev/nvme* crw------- 1 root root 241, 0 čen 1 15:19 /dev/nvme0 brw-rw---- 1 root disk 259, 0 čen 1 15:19 /dev/nvme0n1 brw-rw---- 1 root disk 259, 2 čen 1 15:19 /dev/nvme0n1p1 brw-rw---- 1 root disk 259, 3 čen 1 15:19 /dev/nvme0n1p2 brw-rw---- 1 root disk 259, 4 čen 1 15:19 /dev/nvme0n1p3
root@nas:~# ls -l /dev/disk/by-id/nvme* lrwxrwxrwx 1 root root 13 čen 1 15:19 /dev/disk/by-id/nvme-TS1TMTE220S_G514071565 -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 čen 1 15:19 /dev/disk/by-id/nvme-TS1TMTE220S_G514071565-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 čen 1 15:19 /dev/disk/by-id/nvme-TS1TMTE220S_G514071565-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 čen 1 15:19 /dev/disk/by-id/nvme-TS1TMTE220S_G514071565-part3 -> ../../nvme0n1p3
Note:
See TracTickets
for help on using tickets.