How to Persistent nvme Storage?
Tony Yang
yyt168 at gmail.com
Fri Dec 15 19:30:27 PST 2017
Dear All:
I download the new nvme multipath version (git clone from
git.infradead.org nvme.git),I want to know how to use the
multipath, because I want use udev to Persistent Storage,But
when use scsi_id command not found any messages.
What method can nvme achieve multi-path? Can you provide an
example? Thank you
[root at udev]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 1.8T 0 disk
dfa 252:0 0 2.9T 0 disk
├─dfa5 252:5 0 734.8G 0 part
├─dfa3 252:3 0 745.1G 0 part
├─dfa1 252:1 0 9.3G 0 part
├─dfa4 252:4 0 745.1G 0 part
└─dfa2 252:2 0 745.1G 0 part
nvme1n1 259:10 0 2.9T 0 disk
├─nvme1n1p5 259:15 0 734.8G 0 part
├─nvme1n1p3 259:13 0 745.1G 0 part
├─nvme1n1p1 259:11 0 9.3G 0 part
├─nvme1n1p4 259:14 0 745.1G 0 part
└─nvme1n1p2 259:12 0 745.1G 0 part
loop0 7:0 0 3.8G 0 loop /mnt/cdrom
sdc 8:32 0 557.9G 0 disk
├─sdc2 8:34 0 512M 0 part /boot
├─sdc3 8:35 0 557.3G 0 part
│ ├─rhel-swap 253:1 0 4G 0 lvm [SWAP]
│ └─rhel-root 253:0 0 553.3G 0 lvm /
└─sdc1 8:33 0 100M 0 part /boot/efi
sda 8:0 0 1.8T 0 disk
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p5 259:5 0 100G 0 part
├─nvme0n1p3 259:3 0 8G 0 part
├─nvme0n1p1 259:1 0 8G 0 part
├─nvme0n1p8 259:8 0 100G 0 part
├─nvme0n1p6 259:6 0 100G 0 part
├─nvme0n1p4 259:4 0 1K 0 part
├─nvme0n1p2 259:2 0 8G 0 part
├─nvme0n1p9 259:9 0 100G 0 part
└─nvme0n1p7 259:7 0 100G 0 part
[root at udev]# /usr/lib/udev/scsi_id -g -u -d /dev/sdb
3518f2920201113ff
[root at udev]# /usr/lib/udev/scsi_id -g -u -d /dev/dfa
[root at udev]# /usr/lib/udev/scsi_id -g -u -d /dev/dfa5
[root at udev]# /usr/lib/udev/scsi_id -g -u -d /dev/nvme1n1p5
More information about the Linux-nvme
mailing list