todo

https://support.hpe.com/hpesc/public/docDisplay?docId=sd00001334en_us&page=GUID-06DC28AA-A7FE-4941-9796-B4D31CDE0F26.html&docLocale=en_US

How to make block device NMVe assigned names persistent?

https://access.redhat.com/solutions/4763241

https://github.com/systemd/systemd/issues/31448

https://kb.brightcomputing.com/knowledge-base/create-persistent-udev-rules-to-rename-the-disks-consistently-based-on-hw-address/

https://docs.netapp.com/us-en/ontap-sanhost/nvme_rhel_81.html#validate-nvmefc

SOLUTION VERIFIED - Updated June 14 2024 at 2:18 AM - English
Environment
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 7
NVMe storage (Non-Volatile Memory express)

Issue
How to write udev rule to create persistent name of NVMe devices?
udev rule for NVMe devices
Resolution
Get the ID_SERIAL_SHORT of nvme device.

Raw
$ udevadm info --query=all --path=/block/nvme1n1 | grep ID_SERIAL_SHORT
E: ID_SERIAL_SHORT=S4FVBS0M4652
Create udev rule file in directory /etc/udev/rules.d/ and may give some illustrative name like 99-nvmepersistent.rules

Add the below entry in rule file.

Raw
KERNEL"nvme[0-9]n[0-9]", SUBSYSTEM"block", ENV{DEVTYPE}"disk", ENV{ID_SERIAL_SHORT}"S4FVBS0M4652", SYMLINK+="NAME1"
Reload and trigger udev rules using below commands.

Raw
$ /sbin/udevadm control --reload-rules
$ /sbin/udevadm trigger --type=devices --action=change

udevadm info --query=all --name=/dev/nvme0n1

https://linustechtips.com/topic/1580847-how-to-make-nvme-drive-name-persistent-in-linux-nvme0n1-and-auto-mounting-veracrypt-partition/

https://github.com/systemd/systemd/issues/1453

https://www.ibm.com/docs/en/linux-on-systems?topic=drivers-nvme

https://www.ibm.com/docs/en/linux-on-systems?topic=source-attributes-nvme

https://docs.redhat.com/zh-cn/documentation/red_hat_enterprise_linux/8/html/managing_storage_devices/setting-up-the-nvme-rdma-controller-using-nvmetcli_configuring-nvme-over-fabrics-using-nvme-rdma#setting-up-the-nvme-rdma-controller-using-nvmetcli_configuring-nvme-over-fabrics-using-nvme-rdma

[ceph 三个公共平面]
https://docs.redhat.com/zh-cn/documentation/red_hat_ceph_storage/8/html/configuration_guide/configuring-multiple-public-networks-to-the-cluster_conf#configuring-multiple-public-networks-to-the-cluster_conf

https://zhuanlan.zhihu.com/p/55299546

  1. kubevip 3个集群
  2. 中间件集群 kube-vip vip 是否变化? 决定申请Ip时使用静态IP 还是动态IP ?
  3. Node 内核参数问题
  4. dns 添加 server
  5. 新的k8s 集群部署
  6. nvme 磁盘
  7. kubevirt虚拟机文档
  8. 网络打通
  9. 跳板机
  10. D集群密码修改
posted @ 2025-03-30 09:17  todaygood  阅读(24)  评论(0)    收藏  举报