Writing udev Rules for Dell PERC H755
Operating System
[root@r7525 ~]# cat /etc/*-release
NAME="Red Hat Enterprise Linux"
VERSION="8.6 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"
Red Hat Enterprise Linux release 8.6 (Ootpa)
Red Hat Enterprise Linux release 8.6 (Ootpa)
Test 1
/etc/udev/rules.d/99-abj.nr.rules
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="PERC_H755N_Front",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="Dell Ent NVMe v2",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="nvme*[0-9]n*[0-9]",ATTRS{model}=="Dell Ent NVMe v2 AGN RI U.2 1.92TB",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",\
ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="md*",\
ATTR{md/sync_speed_max}="2000000",\
ATTR{md/group_thread_cnt}="64",\
ATTR{md/stripe_cache_size}="8192",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0", ATTR{queue/max_sectors_kb}="4096"
udevadm test --action="add" /sys/block/sdc
with custom rules
[root@r7525 rules.d]# udevadm test --action="add" /sys/block/sdc
calling: test
version 239 (239-58.el8)
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
Load module index
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context.
...SNIP...
Reading rules file: /etc/udev/rules.d/99-abj.nr.rules
Reading rules file: /usr/lib/udev/rules.d/99-qemu-guest-agent.rules
Reading rules file: /usr/lib/udev/rules.d/99-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules
rules contain 393216 bytes tokens (32768 * 12 bytes), 48613 bytes strings
47970 strings (396524 bytes), 43723 de-duplicated (352159 bytes), 4248 trie nodes used
GROUP 6 /usr/lib/udev/rules.d/50-udev-default.rules:59
IMPORT 'scsi_id --export --whitelisted -d /dev/sdc' /usr/lib/udev/rules.d/60-persistent-storage.rules:50
starting 'scsi_id --export --whitelisted -d /dev/sdc'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SCSI=1'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_VENDOR=NVMe'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_VENDOR_ENC=NVMe\x20\x20\x20\x20'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_MODEL=Dell_Ent_NVMe_v2'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_REVISION=.2.0'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_TYPE=disk'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SERIAL=236435330529024150025384100000002'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SERIAL_SHORT=36435330529024150025384100000002'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SCSI_SERIAL=S6CSNA0R902415 '
Process 'scsi_id --export --whitelisted -d /dev/sdc' succeeded.
LINK 'disk/by-id/scsi-236435330529024150025384100000002' /usr/lib/udev/rules.d/60-persistent-storage.rules:52
IMPORT builtin 'path_id' /usr/lib/udev/rules.d/60-persistent-storage.rules:73
LINK 'disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' /usr/lib/udev/rules.d/60-persistent-storage.rules:75
IMPORT builtin 'blkid' /usr/lib/udev/rules.d/60-persistent-storage.rules:90
probe /dev/sdc raid offset=0
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:17
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_TPGS=0'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_TYPE=disk'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_VENDOR=NVMe'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_VENDOR_ENC=NVMe\x20\x20\x20\x20'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_MODEL=Dell_Ent_NVMe_v2'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_REVISION=.2.0'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:27
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw'(out) 'SCSI_IDENT_SERIAL=S6CSNA0R902415'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:30
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'(out) 'SCSI_IDENT_LUN_EUI64=36435330529024150025384100000002'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'(out) 'SCSI_IDENT_PORT_NAA_LOCAL=3bd790c2eff1ebd9'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw' succeeded.
IMPORT 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc' /usr/lib/udev/rules.d/63-fc-wwpn-id.rules:8
starting 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc'
Process 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc' succeeded.
LINK 'disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:12
LINK 'disk/by-id/scsi-236435330529024150025384100000002' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:25
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/nomerges' writing '2' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/nr_requests' writing '1023' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/rotational' writing '0' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/rq_affinity' writing '2' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/scheduler' writing 'none' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/add_random' writing '0' /etc/udev/rules.d/99-abj.nr.rules:14
ATTR '/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc/queue/max_sectors_kb' writing '4096' /etc/udev/rules.d/99-abj.nr.rules:14
handling device node '/dev/sdc', devnum=b8:32, mode=0660, uid=0, gid=6
preserve permissions /dev/sdc, 060660, uid=0, gid=6
preserve already existing symlink '/dev/block/8:32' to '../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-236435330529024150025384100000002'
creating link '/dev/disk/by-id/scsi-236435330529024150025384100000002' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-id/scsi-236435330529024150025384100000002' to '../../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415'
creating link '/dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' to '../../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-path\x2fpci-0000:01:00.0-scsi-0:2:8:0'
creating link '/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' to '../../sdc'
.ID_FS_TYPE_NEW=
ACTION=add
DEVLINKS=/dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415 /dev/disk/by-id/scsi-236435330529024150025384100000002 /dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0
DEVNAME=/dev/sdc
DEVPATH=/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc
DEVTYPE=disk
ID_BUS=scsi
ID_FS_TYPE=
ID_MODEL=Dell_Ent_NVMe_v2
ID_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2
ID_PATH=pci-0000:01:00.0-scsi-0:2:8:0
ID_PATH_TAG=pci-0000_01_00_0-scsi-0_2_8_0
ID_REVISION=.2.0
ID_SCSI=1
ID_SCSI_INQUIRY=1
ID_SCSI_SERIAL=S6CSNA0R902415
ID_SERIAL=236435330529024150025384100000002
ID_SERIAL_SHORT=36435330529024150025384100000002
ID_TYPE=disk
ID_VENDOR=NVMe
ID_VENDOR_ENC=NVMe\x20\x20\x20\x20
MAJOR=8
MINOR=32
SCSI_IDENT_LUN_EUI64=36435330529024150025384100000002
SCSI_IDENT_PORT_NAA_LOCAL=3bd790c2eff1ebd9
SCSI_IDENT_SERIAL=S6CSNA0R902415
SCSI_MODEL=Dell_Ent_NVMe_v2
SCSI_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2
SCSI_REVISION=.2.0
SCSI_TPGS=0
SCSI_TYPE=disk
SCSI_VENDOR=NVMe
SCSI_VENDOR_ENC=NVMe\x20\x20\x20\x20
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=76984220
Unload module index
Unloaded link configuration context.
Test Without Custom Rules
[root@r7525 rules.d]# !udev
udevadm test --action="add" /sys/block/sdc
calling: test
version 239 (239-58.el8)
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
Load module index
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context.
Reading rules file: /usr/lib/udev/rules.d/01-md-raid-creating.rules
Reading rules file: /usr/lib/udev/rules.d/10-dm.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-lvm.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-mpath.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-parts.rules
Reading rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
Reading rules file: /usr/lib/udev/rules.d/39-usbmuxd.rules
Reading rules file: /usr/lib/udev/rules.d/40-elevator.rules
Reading rules file: /usr/lib/udev/rules.d/40-libgphoto2.rules
/usr/lib/udev/rules.d/40-libgphoto2.rules:11: IMPORT found builtin 'usb_id --export %%p', replacing
Reading rules file: /usr/lib/udev/rules.d/40-redhat.rules
Reading rules file: /usr/lib/udev/rules.d/40-usb-blacklist.rules
Reading rules file: /usr/lib/udev/rules.d/40-usb_modeswitch.rules
Reading rules file: /usr/lib/udev/rules.d/50-udev-default.rules
Reading rules file: /usr/lib/udev/rules.d/60-alias-kmsg.rules
Reading rules file: /usr/lib/udev/rules.d/60-block.rules
Reading rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
Reading rules file: /usr/lib/udev/rules.d/60-drm.rules
Reading rules file: /usr/lib/udev/rules.d/60-evdev.rules
Reading rules file: /usr/lib/udev/rules.d/60-fido-id.rules
Reading rules file: /usr/lib/udev/rules.d/60-input-id.rules
Reading rules file: /usr/lib/udev/rules.d/60-libfprint-2-autosuspend.rules
Reading rules file: /usr/lib/udev/rules.d/60-mdevctl.rules
Reading rules file: /usr/lib/udev/rules.d/60-net.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
Reading rules file: /usr/lib/udev/rules.d/60-raw.rules
Reading rules file: /usr/lib/udev/rules.d/60-rdma-ndd.rules
Reading rules file: /usr/lib/udev/rules.d/60-rdma-persistent-naming.rules
Reading rules file: /usr/lib/udev/rules.d/60-sensor.rules
Reading rules file: /usr/lib/udev/rules.d/60-serial.rules
Reading rules file: /usr/lib/udev/rules.d/60-tpm-udev.rules
Reading rules file: /usr/lib/udev/rules.d/61-gdm.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/61-scsi-sg3_id.rules
Reading rules file: /usr/lib/udev/rules.d/62-multipath.rules
Reading rules file: /usr/lib/udev/rules.d/63-fc-wwpn-id.rules
Reading rules file: /usr/lib/udev/rules.d/63-md-raid-arrays.rules
Reading rules file: /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules
Reading rules file: /usr/lib/udev/rules.d/64-btrfs.rules
Reading rules file: /usr/lib/udev/rules.d/64-md-raid-assembly.rules
Reading rules file: /usr/lib/udev/rules.d/65-libwacom.rules
Reading rules file: /usr/lib/udev/rules.d/65-md-incremental.rules
Reading rules file: /usr/lib/udev/rules.d/65-sane-backends.rules
Reading rules file: /usr/lib/udev/rules.d/66-kpartx.rules
Reading rules file: /usr/lib/udev/rules.d/68-del-part-nodes.rules
Reading rules file: /usr/lib/udev/rules.d/69-btattach-bcm.rules
Reading rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
Reading rules file: /usr/lib/udev/rules.d/69-dm-lvm-metad.rules
Reading rules file: /usr/lib/udev/rules.d/69-libmtp.rules
Reading rules file: /usr/lib/udev/rules.d/69-md-clustered-confirm-device.rules
Reading rules file: /etc/udev/rules.d/69-vdo-start-by-dev.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervfcopy.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervkvp.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervvss.rules
Reading rules file: /usr/lib/udev/rules.d/70-joystick.rules
Reading rules file: /usr/lib/udev/rules.d/70-mouse.rules
Reading rules file: /usr/lib/udev/rules.d/70-nvmf-autoconnect.rules
Reading rules file: /etc/udev/rules.d/70-persistent-ipoib.rules
Reading rules file: /usr/lib/udev/rules.d/70-power-switch.rules
Reading rules file: /usr/lib/udev/rules.d/70-printers.rules
Reading rules file: /usr/lib/udev/rules.d/70-spice-vdagentd.rules
Reading rules file: /usr/lib/udev/rules.d/70-touchpad.rules
Reading rules file: /usr/lib/udev/rules.d/70-uaccess.rules
Reading rules file: /usr/lib/udev/rules.d/70-wacom.rules
Reading rules file: /usr/lib/udev/rules.d/71-biosdevname.rules
Reading rules file: /usr/lib/udev/rules.d/71-nvmf-iopolicy-netapp.rules
Reading rules file: /usr/lib/udev/rules.d/71-prefixdevname.rules
Reading rules file: /usr/lib/udev/rules.d/71-seat.rules
Reading rules file: /usr/lib/udev/rules.d/73-idrac.rules
Reading rules file: /usr/lib/udev/rules.d/73-seat-late.rules
Reading rules file: /usr/lib/udev/rules.d/75-net-description.rules
Reading rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
Reading rules file: /usr/lib/udev/rules.d/75-rdma-description.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-broadmobi-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-cinterion-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-dell-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-dlink-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-ericsson-mbm.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-fibocom-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-foxconn-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-gosuncn-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-haier-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-longcheer-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-mtk-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-nokia-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-quectel-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-sierra.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-simtech-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-telit-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-tplink-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-ublox-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-x22x-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-zte-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/78-sound-card.rules
Reading rules file: /usr/lib/udev/rules.d/80-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/80-iio-sensor-proxy.rules
Reading rules file: /usr/lib/udev/rules.d/80-libinput-device-groups.rules
Reading rules file: /usr/lib/udev/rules.d/80-mm-candidate.rules
Reading rules file: /usr/lib/udev/rules.d/80-net-setup-link.rules
Reading rules file: /usr/lib/udev/rules.d/80-udisks2.rules
Reading rules file: /usr/lib/udev/rules.d/81-kvm-rhel.rules
Reading rules file: /usr/lib/udev/rules.d/84-nm-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/85-nm-unmanaged.rules
Reading rules file: /usr/lib/udev/rules.d/85-regulatory.rules
Reading rules file: /usr/lib/udev/rules.d/90-alsa-restore.rules
Reading rules file: /usr/lib/udev/rules.d/90-bolt.rules
Reading rules file: /usr/lib/udev/rules.d/90-fwupd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/90-iprutils.rules
Reading rules file: /usr/lib/udev/rules.d/90-libinput-fuzz-override.rules
Reading rules file: /usr/lib/udev/rules.d/90-nm-thunderbolt.rules
Reading rules file: /usr/lib/udev/rules.d/90-pulseaudio.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-hw-modules.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-ulp-modules.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-umad.rules
Reading rules file: /usr/lib/udev/rules.d/90-vconsole.rules
Reading rules file: /usr/lib/udev/rules.d/91-drm-modeset.rules
Reading rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
Reading rules file: /usr/lib/udev/rules.d/95-iSM-usbnic-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-csr.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-hid.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-wup.rules
Reading rules file: /usr/lib/udev/rules.d/98-kexec.rules
Reading rules file: /usr/lib/udev/rules.d/98-trace-cmd.rules
Reading rules file: /usr/lib/udev/rules.d/99-qemu-guest-agent.rules
Reading rules file: /usr/lib/udev/rules.d/99-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules
rules contain 393216 bytes tokens (32768 * 12 bytes), 48327 bytes strings
47890 strings (395708 bytes), 43659 de-duplicated (351613 bytes), 4232 trie nodes used
GROUP 6 /usr/lib/udev/rules.d/50-udev-default.rules:59
IMPORT 'scsi_id --export --whitelisted -d /dev/sdc' /usr/lib/udev/rules.d/60-persistent-storage.rules:50
starting 'scsi_id --export --whitelisted -d /dev/sdc'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SCSI=1'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_VENDOR=NVMe'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_VENDOR_ENC=NVMe\x20\x20\x20\x20'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_MODEL=Dell_Ent_NVMe_v2'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_REVISION=.2.0'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_TYPE=disk'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SERIAL=236435330529024150025384100000002'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SERIAL_SHORT=36435330529024150025384100000002'
'scsi_id --export --whitelisted -d /dev/sdc'(out) 'ID_SCSI_SERIAL=S6CSNA0R902415 '
Process 'scsi_id --export --whitelisted -d /dev/sdc' succeeded.
LINK 'disk/by-id/scsi-236435330529024150025384100000002' /usr/lib/udev/rules.d/60-persistent-storage.rules:52
IMPORT builtin 'path_id' /usr/lib/udev/rules.d/60-persistent-storage.rules:73
LINK 'disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' /usr/lib/udev/rules.d/60-persistent-storage.rules:75
IMPORT builtin 'blkid' /usr/lib/udev/rules.d/60-persistent-storage.rules:90
probe /dev/sdc raid offset=0
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:17
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_TPGS=0'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_TYPE=disk'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_VENDOR=NVMe'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_VENDOR_ENC=NVMe\x20\x20\x20\x20'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_MODEL=Dell_Ent_NVMe_v2'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw'(out) 'SCSI_REVISION=.2.0'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/inquiry --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:27
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw'(out) 'SCSI_IDENT_SERIAL=S6CSNA0R902415'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg80 --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:30
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'(out) 'SCSI_IDENT_LUN_EUI64=36435330529024150025384100000002'
'/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw'(out) 'SCSI_IDENT_PORT_NAA_LOCAL=3bd790c2eff1ebd9'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sdc/device/vpd_pg83 --raw' succeeded.
IMPORT 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc' /usr/lib/udev/rules.d/63-fc-wwpn-id.rules:8
starting 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc'
Process 'fc_wwpn_id /devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc' succeeded.
LINK 'disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:12
LINK 'disk/by-id/scsi-236435330529024150025384100000002' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:25
handling device node '/dev/sdc', devnum=b8:32, mode=0660, uid=0, gid=6
preserve permissions /dev/sdc, 060660, uid=0, gid=6
preserve already existing symlink '/dev/block/8:32' to '../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-236435330529024150025384100000002'
creating link '/dev/disk/by-id/scsi-236435330529024150025384100000002' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-id/scsi-236435330529024150025384100000002' to '../../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415'
creating link '/dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415' to '../../sdc'
found 'b8:32' claiming '/run/udev/links/\x2fdisk\x2fby-path\x2fpci-0000:01:00.0-scsi-0:2:8:0'
creating link '/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' to '/dev/sdc'
preserve already existing symlink '/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0' to '../../sdc'
.ID_FS_TYPE_NEW=
ACTION=add
DEVLINKS=/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:8:0 /dev/disk/by-id/scsi-SNVMe_Dell_Ent_NVMe_v2_S6CSNA0R902415 /dev/disk/by-id/scsi-236435330529024150025384100000002
DEVNAME=/dev/sdc
DEVPATH=/devices/pci0000:00/0000:00:01.1/0000:01:00.0/host0/target0:2:8/0:2:8:0/block/sdc
DEVTYPE=disk
ID_BUS=scsi
ID_FS_TYPE=
ID_MODEL=Dell_Ent_NVMe_v2
ID_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2
ID_PATH=pci-0000:01:00.0-scsi-0:2:8:0
ID_PATH_TAG=pci-0000_01_00_0-scsi-0_2_8_0
ID_REVISION=.2.0
ID_SCSI=1
ID_SCSI_INQUIRY=1
ID_SCSI_SERIAL=S6CSNA0R902415
ID_SERIAL=236435330529024150025384100000002
ID_SERIAL_SHORT=36435330529024150025384100000002
ID_TYPE=disk
ID_VENDOR=NVMe
ID_VENDOR_ENC=NVMe\x20\x20\x20\x20
MAJOR=8
MINOR=32
SCSI_IDENT_LUN_EUI64=36435330529024150025384100000002
SCSI_IDENT_PORT_NAA_LOCAL=3bd790c2eff1ebd9
SCSI_IDENT_SERIAL=S6CSNA0R902415
SCSI_MODEL=Dell_Ent_NVMe_v2
SCSI_MODEL_ENC=Dell\x20Ent\x20NVMe\x20v2
SCSI_REVISION=.2.0
SCSI_TPGS=0
SCSI_TYPE=disk
SCSI_VENDOR=NVMe
SCSI_VENDOR_ENC=NVMe\x20\x20\x20\x20
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=76984220
Unload module index
Unloaded link configuration context.
perccli64 /c0 show
[root@r7525 rules.d]# /opt/MegaRAID/perccli/perccli64 /c0 show
Generating detailed summary of the adapter, it may take a while to complete.
CLI Version = 007.1623.0000.0000 May 17, 2021
Operating system = Linux 4.18.0-372.9.1.el8.x86_64
Controller = 0
Status = Success
Description = None
Product Name = PERC H755N Front
Serial Number = 07R001E
SAS Address = 5f4ee0801601c700
PCI Address = 00:01:00:00
System Time = 09/15/2022 14:05:38
Mfg. Date = 12/10/21
Controller Time = 09/15/2022 18:05:38
FW Package Build = 52.16.1-4405
BIOS Version = 7.16.00.0_0x07100501
FW Version = 5.160.02-3552
Driver Name = megaraid_sas
Driver Version = 07.719.03.00-rh1
Current Personality = RAID-Mode
Vendor Id = 0x1000
Device Id = 0x10E2
SubVendor Id = 0x1028
SubDevice Id = 0x1AE2
Host Interface = PCI-E
Bus Number = 1
Device Number = 0
Function Number = 0
Domain ID = 0
Security Protocol = None
JBOD Drives = 2
JBOD LIST :
=========
----------------------------------------------------------------------------------------------------
ID EID:Slt DID State Intf Med Size SeSz Model Vendor Port
----------------------------------------------------------------------------------------------------
8 252:8 1 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
9 252:9 0 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
----------------------------------------------------------------------------------------------------
ID=JBOD Target ID|EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|Onln=Online
Offln=Offline|Intf=Interface|Med=Media Type|SeSz=Sector Size
SED=Self Encryptive Drive|PI=Protection Info|Sp=Spun|U=Up|D=Down
Physical Drives = 8
PD LIST :
=======
-----------------------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
-----------------------------------------------------------------------------------------------------
252:8 1 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:9 0 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:10 6 UGood - 1.454 TB NVMe SSD N N 512B Dell Express Flash PM1725b 1.6TB SFF U -
252:11 7 UGood - 13.971 TB NVMe SSD N N 512B Micron_9300_MTFDHAL15T3TDP U -
252:12 5 UGood - 1.454 TB NVMe SSD N N 512B Dell Express Flash PM1725b 1.6TB SFF U -
252:13 4 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:14 9 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:15 8 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
-----------------------------------------------------------------------------------------------------
EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroup
DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare
UBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=Interface
Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info
SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign
UGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shielded
CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded
UBUnsp=UBad Unsupported|Rbld=Rebuild
Enclosures = 1
Enclosure LIST :
==============
--------------------------------------------------------------------
EID State Slots PD PS Fans TSs Alms SIM Port# ProdID VendorSpecific
--------------------------------------------------------------------
252 OK 8 8 0 0 0 0 0 - BP15G+
--------------------------------------------------------------------
EID=Enclosure Device ID | PD=Physical drive count | PS=Power Supply count
TSs=Temperature sensor count | Alms=Alarm count | SIM=SIM Count | ProdID=Product ID
BBU_Info :
========
----------------------------------------------
Model State RetentionTime Temp Mode MfgDate
----------------------------------------------
BBU Optimal 0 hour(s) 27C - 0/00/00
----------------------------------------------
/opt/MegaRAID/perccli/perccli64 /c1 show
[root@r7525 rules.d]# /opt/MegaRAID/perccli/perccli64 /c1 show
Generating detailed summary of the adapter, it may take a while to complete.
CLI Version = 007.1623.0000.0000 May 17, 2021
Operating system = Linux 4.18.0-372.9.1.el8.x86_64
Controller = 1
Status = Success
Description = None
Product Name = PERC H755N Front
Serial Number = 07R00K2
SAS Address = 5f4ee080160bd500
PCI Address = 00:c1:00:00
System Time = 09/15/2022 14:17:35
Mfg. Date = 12/10/21
Controller Time = 09/15/2022 18:17:35
FW Package Build = 52.16.1-4405
BIOS Version = 7.16.00.0_0x07100501
FW Version = 5.160.02-3552
Driver Name = megaraid_sas
Driver Version = 07.719.03.00-rh1
Current Personality = RAID-Mode
Vendor Id = 0x1000
Device Id = 0x10E2
SubVendor Id = 0x1028
SubDevice Id = 0x1AE2
Host Interface = PCI-E
Bus Number = 193
Device Number = 0
Function Number = 0
Domain ID = 0
Security Protocol = None
JBOD Drives = 2
JBOD LIST :
=========
----------------------------------------------------------------------------------------------------
ID EID:Slt DID State Intf Med Size SeSz Model Vendor Port
----------------------------------------------------------------------------------------------------
0 252:0 1 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
1 252:1 0 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
----------------------------------------------------------------------------------------------------
ID=JBOD Target ID|EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|Onln=Online
Offln=Offline|Intf=Interface|Med=Media Type|SeSz=Sector Size
SED=Self Encryptive Drive|PI=Protection Info|Sp=Spun|U=Up|D=Down
Physical Drives = 8
PD LIST :
=======
----------------------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
----------------------------------------------------------------------------------------------------
252:0 1 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:1 0 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:2 5 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:3 8 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:4 4 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:5 7 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:6 6 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:7 3 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
----------------------------------------------------------------------------------------------------
EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroup
DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare
UBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=Interface
Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info
SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign
UGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shielded
CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded
UBUnsp=UBad Unsupported|Rbld=Rebuild
Enclosures = 1
Enclosure LIST :
==============
--------------------------------------------------------------------
EID State Slots PD PS Fans TSs Alms SIM Port# ProdID VendorSpecific
--------------------------------------------------------------------
252 OK 8 8 0 0 0 0 0 - BP15G+
--------------------------------------------------------------------
EID=Enclosure Device ID | PD=Physical drive count | PS=Power Supply count
TSs=Temperature sensor count | Alms=Alarm count | SIM=SIM Count | ProdID=Product ID
BBU_Info :
========
----------------------------------------------
Model State RetentionTime Temp Mode MfgDate
----------------------------------------------
BBU Optimal 0 hour(s) 27C - 0/00/00
----------------------------------------------
lsblk
[root@r7525 rules.d]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 600M 0 part /boot/efi
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 222G 0 part
└─md127 9:127 0 221.9G 0 raid1
├─boss_drives-root 253:0 0 217.9G 0 lvm /
└─boss_drives-swap 253:1 0 4G 0 lvm [SWAP]
sdb 8:16 0 223.6G 0 disk
└─sdb1 8:17 0 222G 0 part
└─md127 9:127 0 221.9G 0 raid1
├─boss_drives-root 253:0 0 217.9G 0 lvm /
└─boss_drives-swap 253:1 0 4G 0 lvm [SWAP]
sdc 8:32 0 1.8T 0 disk
sdd 8:48 0 1.8T 0 disk
sde 8:64 0 1.8T 0 disk
sdf 8:80 0 1.8T 0 disk
Test 2
99-abj.nr.rules
[root@r7525 rules.d]# cat 99-abj.nr.rules
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="PERC_H755N_Front",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="Dell Ent NVMe v2",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="nvme*[0-9]n*[0-9]",ATTRS{model}=="Dell Ent NVMe v2 AGN RI U.2 1.92TB",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",\
ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="md*",\
ATTR{md/sync_speed_max}="2000000",\
ATTR{md/group_thread_cnt}="64",\
ATTR{md/stripe_cache_size}="8192",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0", ATTR{queue/max_sectors_kb}="4096"
/opt/MegaRAID/perccli/perccli64 /c1 show
[root@r7525 rules.d]# /opt/MegaRAID/perccli/perccli64 /c1 show
Generating detailed summary of the adapter, it may take a while to complete.
CLI Version = 007.1623.0000.0000 May 17, 2021
Operating system = Linux 4.18.0-372.9.1.el8.x86_64
Controller = 1
Status = Success
Description = None
Product Name = PERC H755N Front
Serial Number = 07R00K2
SAS Address = 5f4ee080160bd500
PCI Address = 00:c1:00:00
System Time = 09/16/2022 12:58:02
Mfg. Date = 12/10/21
Controller Time = 09/16/2022 16:58:02
FW Package Build = 52.16.1-4405
BIOS Version = 7.16.00.0_0x07100501
FW Version = 5.160.02-3552
Driver Name = megaraid_sas
Driver Version = 07.719.03.00-rh1
Current Personality = RAID-Mode
Vendor Id = 0x1000
Device Id = 0x10E2
SubVendor Id = 0x1028
SubDevice Id = 0x1AE2
Host Interface = PCI-E
Bus Number = 193
Device Number = 0
Function Number = 0
Domain ID = 0
Security Protocol = None
Drive Groups = 1
TOPOLOGY :
========
---------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type State BT Size PDC PI SED DS3 FSpace TR
---------------------------------------------------------------------------
0 - - - - RAID5 Optl Y 5.820 TB dflt N N dflt N N
0 0 - - - RAID5 Optl Y 5.820 TB dflt N N dflt N N
0 0 0 252:2 5 DRIVE Onln N 2.910 TB dflt N N dflt - N
0 0 1 252:3 8 DRIVE Onln N 2.910 TB dflt N N dflt - N
0 0 2 252:4 4 DRIVE Onln N 2.910 TB dflt N N dflt - N
---------------------------------------------------------------------------
DG=Disk Group Index|Arr=Array Index|Row=Row Index|EID=Enclosure Device ID
DID=Device ID|Type=Drive Type|Onln=Online|Rbld=Rebuild|Optl=Optimal|Dgrd=Degraded
Pdgd=Partially degraded|Offln=Offline|BT=Background Task Active
PDC=PD Cache|PI=Protection Info|SED=Self Encrypting Drive|Frgn=Foreign
DS3=Dimmer Switch 3|dflt=Default|Msng=Missing|FSpace=Free Space Present
TR=Transport Ready
Virtual Drives = 1
VD LIST :
=======
-------------------------------------------------------------
DG/VD TYPE State Access Consist Cache Cac sCC Size Name
-------------------------------------------------------------
0/239 RAID5 Optl RW No RWTD - OFF 5.820 TB
-------------------------------------------------------------
VD=Virtual Drive| DG=Drive Group|Rec=Recovery
Cac=CacheCade|OfLn=OffLine|Pdgd=Partially Degraded|Dgrd=Degraded
Optl=Optimal|dflt=Default|RO=Read Only|RW=Read Write|HD=Hidden|TRANS=TransportReady
B=Blocked|Consist=Consistent|R=Read Ahead Always|NR=No Read Ahead|WB=WriteBack
AWB=Always WriteBack|WT=WriteThrough|C=Cached IO|D=Direct IO|sCC=Scheduled
Check Consistency
JBOD Drives = 2
JBOD LIST :
=========
----------------------------------------------------------------------------------------------------
ID EID:Slt DID State Intf Med Size SeSz Model Vendor Port
----------------------------------------------------------------------------------------------------
0 252:0 1 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
1 252:1 0 Onln NVMe SSD 1.746 TB 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB NVMe 00 x2
----------------------------------------------------------------------------------------------------
ID=JBOD Target ID|EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|Onln=Online
Offln=Offline|Intf=Interface|Med=Media Type|SeSz=Sector Size
SED=Self Encryptive Drive|PI=Protection Info|Sp=Spun|U=Up|D=Down
Physical Drives = 8
PD LIST :
=======
----------------------------------------------------------------------------------------------------
EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp Type
----------------------------------------------------------------------------------------------------
252:0 1 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:1 0 Onln - 1.746 TB NVMe SSD N N 512B Dell Ent NVMe v2 AGN RI U.2 1.92TB U JBOD
252:2 5 Onln 0 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:3 8 Onln 0 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:4 4 Onln 0 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:5 7 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:6 6 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
252:7 3 UGood - 2.910 TB NVMe SSD N N 512B Dell Express Flash NVMe P4610 3.2TB SFF U -
----------------------------------------------------------------------------------------------------
EID=Enclosure Device ID|Slt=Slot No|DID=Device ID|DG=DriveGroup
DHS=Dedicated Hot Spare|UGood=Unconfigured Good|GHS=Global Hotspare
UBad=Unconfigured Bad|Sntze=Sanitize|Onln=Online|Offln=Offline|Intf=Interface
Med=Media Type|SED=Self Encryptive Drive|PI=Protection Info
SeSz=Sector Size|Sp=Spun|U=Up|D=Down|T=Transition|F=Foreign
UGUnsp=UGood Unsupported|UGShld=UGood shielded|HSPShld=Hotspare shielded
CFShld=Configured shielded|Cpybck=CopyBack|CBShld=Copyback Shielded
UBUnsp=UBad Unsupported|Rbld=Rebuild
Enclosures = 1
Enclosure LIST :
==============
--------------------------------------------------------------------
EID State Slots PD PS Fans TSs Alms SIM Port# ProdID VendorSpecific
--------------------------------------------------------------------
252 OK 8 8 0 0 0 0 0 - BP15G+
--------------------------------------------------------------------
EID=Enclosure Device ID | PD=Physical drive count | PS=Power Supply count
TSs=Temperature sensor count | Alms=Alarm count | SIM=SIM Count | ProdID=Product ID
BBU_Info :
========
----------------------------------------------
Model State RetentionTime Temp Mode MfgDate
----------------------------------------------
BBU Optimal 0 hour(s) 26C - 0/00/00
----------------------------------------------
udevadm test --action="add" /sys/block/sda
[root@r7525 rules.d]# udevadm test --action="add" /sys/block/sda
calling: test
version 239 (239-58.el8)
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
Load module index
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context.
Reading rules file: /usr/lib/udev/rules.d/01-md-raid-creating.rules
Reading rules file: /usr/lib/udev/rules.d/10-dm.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-lvm.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-mpath.rules
Reading rules file: /usr/lib/udev/rules.d/11-dm-parts.rules
Reading rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
Reading rules file: /usr/lib/udev/rules.d/39-usbmuxd.rules
Reading rules file: /usr/lib/udev/rules.d/40-elevator.rules
Reading rules file: /usr/lib/udev/rules.d/40-libgphoto2.rules
/usr/lib/udev/rules.d/40-libgphoto2.rules:11: IMPORT found builtin 'usb_id --export %%p', replacing
Reading rules file: /usr/lib/udev/rules.d/40-redhat.rules
Reading rules file: /usr/lib/udev/rules.d/40-usb-blacklist.rules
Reading rules file: /usr/lib/udev/rules.d/40-usb_modeswitch.rules
Reading rules file: /usr/lib/udev/rules.d/50-udev-default.rules
Reading rules file: /usr/lib/udev/rules.d/60-alias-kmsg.rules
Reading rules file: /usr/lib/udev/rules.d/60-block.rules
Reading rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
Reading rules file: /usr/lib/udev/rules.d/60-drm.rules
Reading rules file: /usr/lib/udev/rules.d/60-evdev.rules
Reading rules file: /usr/lib/udev/rules.d/60-fido-id.rules
Reading rules file: /usr/lib/udev/rules.d/60-input-id.rules
Reading rules file: /usr/lib/udev/rules.d/60-libfprint-2-autosuspend.rules
Reading rules file: /usr/lib/udev/rules.d/60-mdevctl.rules
Reading rules file: /usr/lib/udev/rules.d/60-net.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
Reading rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
Reading rules file: /usr/lib/udev/rules.d/60-raw.rules
Reading rules file: /usr/lib/udev/rules.d/60-rdma-ndd.rules
Reading rules file: /usr/lib/udev/rules.d/60-rdma-persistent-naming.rules
Reading rules file: /usr/lib/udev/rules.d/60-sensor.rules
Reading rules file: /usr/lib/udev/rules.d/60-serial.rules
Reading rules file: /usr/lib/udev/rules.d/60-tpm-udev.rules
Reading rules file: /usr/lib/udev/rules.d/61-gdm.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules
Reading rules file: /usr/lib/udev/rules.d/61-scsi-sg3_id.rules
Reading rules file: /usr/lib/udev/rules.d/62-multipath.rules
Reading rules file: /usr/lib/udev/rules.d/63-fc-wwpn-id.rules
Reading rules file: /usr/lib/udev/rules.d/63-md-raid-arrays.rules
Reading rules file: /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules
Reading rules file: /usr/lib/udev/rules.d/64-btrfs.rules
Reading rules file: /usr/lib/udev/rules.d/64-md-raid-assembly.rules
Reading rules file: /usr/lib/udev/rules.d/65-libwacom.rules
Reading rules file: /usr/lib/udev/rules.d/65-md-incremental.rules
Reading rules file: /usr/lib/udev/rules.d/65-sane-backends.rules
Reading rules file: /usr/lib/udev/rules.d/66-kpartx.rules
Reading rules file: /usr/lib/udev/rules.d/68-del-part-nodes.rules
Reading rules file: /usr/lib/udev/rules.d/69-btattach-bcm.rules
Reading rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
Reading rules file: /usr/lib/udev/rules.d/69-dm-lvm-metad.rules
Reading rules file: /usr/lib/udev/rules.d/69-libmtp.rules
Reading rules file: /usr/lib/udev/rules.d/69-md-clustered-confirm-device.rules
Reading rules file: /etc/udev/rules.d/69-vdo-start-by-dev.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervfcopy.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervkvp.rules
Reading rules file: /usr/lib/udev/rules.d/70-hypervvss.rules
Reading rules file: /usr/lib/udev/rules.d/70-joystick.rules
Reading rules file: /usr/lib/udev/rules.d/70-mouse.rules
Reading rules file: /usr/lib/udev/rules.d/70-nvmf-autoconnect.rules
Reading rules file: /etc/udev/rules.d/70-persistent-ipoib.rules
Reading rules file: /usr/lib/udev/rules.d/70-power-switch.rules
Reading rules file: /usr/lib/udev/rules.d/70-printers.rules
Reading rules file: /usr/lib/udev/rules.d/70-spice-vdagentd.rules
Reading rules file: /usr/lib/udev/rules.d/70-touchpad.rules
Reading rules file: /usr/lib/udev/rules.d/70-uaccess.rules
Reading rules file: /usr/lib/udev/rules.d/70-wacom.rules
Reading rules file: /usr/lib/udev/rules.d/71-biosdevname.rules
Reading rules file: /usr/lib/udev/rules.d/71-nvmf-iopolicy-netapp.rules
Reading rules file: /usr/lib/udev/rules.d/71-prefixdevname.rules
Reading rules file: /usr/lib/udev/rules.d/71-seat.rules
Reading rules file: /usr/lib/udev/rules.d/73-idrac.rules
Reading rules file: /usr/lib/udev/rules.d/73-seat-late.rules
Reading rules file: /usr/lib/udev/rules.d/75-net-description.rules
Reading rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
Reading rules file: /usr/lib/udev/rules.d/75-rdma-description.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-broadmobi-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-cinterion-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-dell-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-dlink-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-ericsson-mbm.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-fibocom-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-foxconn-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-gosuncn-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-haier-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-huawei-net-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-longcheer-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-mtk-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-nokia-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-quectel-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-sierra.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-simtech-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-telit-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-tplink-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-ublox-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-x22x-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/77-mm-zte-port-types.rules
Reading rules file: /usr/lib/udev/rules.d/78-sound-card.rules
Reading rules file: /usr/lib/udev/rules.d/80-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/80-iio-sensor-proxy.rules
Reading rules file: /usr/lib/udev/rules.d/80-libinput-device-groups.rules
Reading rules file: /usr/lib/udev/rules.d/80-mm-candidate.rules
Reading rules file: /usr/lib/udev/rules.d/80-net-setup-link.rules
Reading rules file: /usr/lib/udev/rules.d/80-udisks2.rules
Reading rules file: /usr/lib/udev/rules.d/81-kvm-rhel.rules
Reading rules file: /usr/lib/udev/rules.d/84-nm-drivers.rules
Reading rules file: /usr/lib/udev/rules.d/85-nm-unmanaged.rules
Reading rules file: /usr/lib/udev/rules.d/85-regulatory.rules
Reading rules file: /usr/lib/udev/rules.d/90-alsa-restore.rules
Reading rules file: /usr/lib/udev/rules.d/90-bolt.rules
Reading rules file: /usr/lib/udev/rules.d/90-fwupd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/90-iprutils.rules
Reading rules file: /usr/lib/udev/rules.d/90-libinput-fuzz-override.rules
Reading rules file: /usr/lib/udev/rules.d/90-nm-thunderbolt.rules
Reading rules file: /usr/lib/udev/rules.d/90-pulseaudio.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-hw-modules.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-ulp-modules.rules
Reading rules file: /usr/lib/udev/rules.d/90-rdma-umad.rules
Reading rules file: /usr/lib/udev/rules.d/90-vconsole.rules
Reading rules file: /usr/lib/udev/rules.d/91-drm-modeset.rules
Reading rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
Reading rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
Reading rules file: /usr/lib/udev/rules.d/95-iSM-usbnic-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-csr.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-hid.rules
Reading rules file: /usr/lib/udev/rules.d/95-upower-wup.rules
Reading rules file: /usr/lib/udev/rules.d/98-kexec.rules
Reading rules file: /usr/lib/udev/rules.d/98-trace-cmd.rules
Reading rules file: /etc/udev/rules.d/99-abj.nr.rules
Reading rules file: /usr/lib/udev/rules.d/99-qemu-guest-agent.rules
Reading rules file: /usr/lib/udev/rules.d/99-systemd.rules
Reading rules file: /usr/lib/udev/rules.d/99-vmware-scsi-udev.rules
rules contain 393216 bytes tokens (32768 * 12 bytes), 48613 bytes strings
47970 strings (396524 bytes), 43723 de-duplicated (352159 bytes), 4248 trie nodes used
GROUP 6 /usr/lib/udev/rules.d/50-udev-default.rules:59
IMPORT 'scsi_id --export --whitelisted -d /dev/sda' /usr/lib/udev/rules.d/60-persistent-storage.rules:50
starting 'scsi_id --export --whitelisted -d /dev/sda'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_SCSI=1'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_VENDOR=DELL'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_VENDOR_ENC=DELL\x20\x20\x20\x20'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_MODEL=PERC_H755N_Front'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_MODEL_ENC=PERC\x20H755N\x20Front'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_REVISION=5.16'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_TYPE=disk'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_SERIAL=36f4ee080160bd5002ab7652100a1691a'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_SERIAL_SHORT=6f4ee080160bd5002ab7652100a1691a'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_WWN=0x6f4ee080160bd500'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_WWN_VENDOR_EXTENSION=0x2ab7652100a1691a'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_WWN_WITH_EXTENSION=0x6f4ee080160bd5002ab7652100a1691a'
'scsi_id --export --whitelisted -d /dev/sda'(out) 'ID_SCSI_SERIAL=001a69a1002165b72a00d50b1680e04e'
Process 'scsi_id --export --whitelisted -d /dev/sda' succeeded.
LINK 'disk/by-id/scsi-36f4ee080160bd5002ab7652100a1691a' /usr/lib/udev/rules.d/60-persistent-storage.rules:52
IMPORT builtin 'path_id' /usr/lib/udev/rules.d/60-persistent-storage.rules:73
LINK 'disk/by-path/pci-0000:c1:00.0-scsi-0:3:111:0' /usr/lib/udev/rules.d/60-persistent-storage.rules:75
IMPORT builtin 'blkid' /usr/lib/udev/rules.d/60-persistent-storage.rules:90
probe /dev/sda raid offset=0
LINK 'disk/by-id/wwn-0x6f4ee080160bd5002ab7652100a1691a' /usr/lib/udev/rules.d/60-persistent-storage.rules:97
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:17
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_TPGS=0'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_TYPE=disk'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_VENDOR=DELL'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_VENDOR_ENC=DELL\x20\x20\x20\x20'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_MODEL=PERC_H755N_Front'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_MODEL_ENC=PERC\x20H755N\x20Front'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw'(out) 'SCSI_REVISION=5.16'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/inquiry --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg80 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:27
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg80 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg80 --raw'(out) 'SCSI_IDENT_SERIAL=001a69a1002165b72a00d50b1680e04e'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg80 --raw' succeeded.
IMPORT '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg83 --raw' /usr/lib/udev/rules.d/61-scsi-sg3_id.rules:30
starting '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg83 --raw'
'/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg83 --raw'(out) 'SCSI_IDENT_LUN_NAA_REGEXT=6f4ee080160bd5002ab7652100a1691a'
Process '/usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg83 --raw' succeeded.
IMPORT 'fc_wwpn_id /devices/pci0000:c0/0000:c0:01.1/0000:c1:00.0/host12/target12:3:111/12:3:111:0/block/sda' /usr/lib/udev/rules.d/63-fc-wwpn-id.rules:8
starting 'fc_wwpn_id /devices/pci0000:c0/0000:c0:01.1/0000:c1:00.0/host12/target12:3:111/12:3:111:0/block/sda'
Process 'fc_wwpn_id /devices/pci0000:c0/0000:c0:01.1/0000:c1:00.0/host12/target12:3:111/12:3:111:0/block/sda' succeeded.
LINK 'disk/by-id/scsi-SDELL_PERC_H755N_Front_001a69a1002165b72a00d50b1680e04e' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:12
LINK 'disk/by-id/scsi-36f4ee080160bd5002ab7652100a1691a' /usr/lib/udev/rules.d/63-scsi-sg3_symlink.rules:16
handling device node '/dev/sda', devnum=b8:0, mode=0660, uid=0, gid=6
preserve permissions /dev/sda, 060660, uid=0, gid=6
preserve already existing symlink '/dev/block/8:0' to '../sda'
found 'b8:0' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-36f4ee080160bd5002ab7652100a1691a'
creating link '/dev/disk/by-id/scsi-36f4ee080160bd5002ab7652100a1691a' to '/dev/sda'
preserve already existing symlink '/dev/disk/by-id/scsi-36f4ee080160bd5002ab7652100a1691a' to '../../sda'
found 'b8:0' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fscsi-SDELL_PERC_H755N_Front_001a69a1002165b72a00d50b1680e04e'
creating link '/dev/disk/by-id/scsi-SDELL_PERC_H755N_Front_001a69a1002165b72a00d50b1680e04e' to '/dev/sda'
preserve already existing symlink '/dev/disk/by-id/scsi-SDELL_PERC_H755N_Front_001a69a1002165b72a00d50b1680e04e' to '../../sda'
found 'b8:0' claiming '/run/udev/links/\x2fdisk\x2fby-id\x2fwwn-0x6f4ee080160bd5002ab7652100a1691a'
creating link '/dev/disk/by-id/wwn-0x6f4ee080160bd5002ab7652100a1691a' to '/dev/sda'
preserve already existing symlink '/dev/disk/by-id/wwn-0x6f4ee080160bd5002ab7652100a1691a' to '../../sda'
found 'b8:0' claiming '/run/udev/links/\x2fdisk\x2fby-path\x2fpci-0000:c1:00.0-scsi-0:3:111:0'
creating link '/dev/disk/by-path/pci-0000:c1:00.0-scsi-0:3:111:0' to '/dev/sda'
preserve already existing symlink '/dev/disk/by-path/pci-0000:c1:00.0-scsi-0:3:111:0' to '../../sda'
.ID_FS_TYPE_NEW=
ACTION=add
DEVLINKS=/dev/disk/by-id/scsi-SDELL_PERC_H755N_Front_001a69a1002165b72a00d50b1680e04e /dev/disk/by-id/scsi-36f4ee080160bd5002ab7652100a1691a /dev/disk/by-path/pci-0000:c1:00.0-scsi-0:3:111:0 /dev/disk/by-id/wwn-0x6f4ee080160bd5002ab7652100a1691a
DEVNAME=/dev/sda
DEVPATH=/devices/pci0000:c0/0000:c0:01.1/0000:c1:00.0/host12/target12:3:111/12:3:111:0/block/sda
DEVTYPE=disk
ID_BUS=scsi
ID_FS_TYPE=
ID_MODEL=PERC_H755N_Front
ID_MODEL_ENC=PERC\x20H755N\x20Front
ID_PATH=pci-0000:c1:00.0-scsi-0:3:111:0
ID_PATH_TAG=pci-0000_c1_00_0-scsi-0_3_111_0
ID_REVISION=5.16
ID_SCSI=1
ID_SCSI_INQUIRY=1
ID_SCSI_SERIAL=001a69a1002165b72a00d50b1680e04e
ID_SERIAL=36f4ee080160bd5002ab7652100a1691a
ID_SERIAL_SHORT=6f4ee080160bd5002ab7652100a1691a
ID_TYPE=disk
ID_VENDOR=DELL
ID_VENDOR_ENC=DELL\x20\x20\x20\x20
ID_WWN=0x6f4ee080160bd500
ID_WWN_VENDOR_EXTENSION=0x2ab7652100a1691a
ID_WWN_WITH_EXTENSION=0x6f4ee080160bd5002ab7652100a1691a
MAJOR=8
MINOR=0
SCSI_IDENT_LUN_NAA_REGEXT=6f4ee080160bd5002ab7652100a1691a
SCSI_IDENT_SERIAL=001a69a1002165b72a00d50b1680e04e
SCSI_MODEL=PERC_H755N_Front
SCSI_MODEL_ENC=PERC\x20H755N\x20Front
SCSI_REVISION=5.16
SCSI_TPGS=0
SCSI_TYPE=disk
SCSI_VENDOR=DELL
SCSI_VENDOR_ENC=DELL\x20\x20\x20\x20
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=3263961497
Unload module index
Unloaded link configuration context.
nr_requests value
[root@r7525 rules.d]# udevadm control --reload-rules && udevadm trigger
[root@r7525 rules.d]# !cat
cat 99-abj.nr.rules
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="PERC_H755N_Front",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="Dell Ent NVMe v2",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="nvme*[0-9]n*[0-9]",ATTRS{model}=="Dell Ent NVMe v2 AGN RI U.2 1.92TB",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",\
ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="md*",\
ATTR{md/sync_speed_max}="2000000",\
ATTR{md/group_thread_cnt}="64",\
ATTR{md/stripe_cache_size}="8192",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0", ATTR{queue/max_sectors_kb}="4096"
[root@r7525 rules.d]# cat /sys/block/sda/queue/nr_requests
256
Post Reboot
[root@r7525 ~]# reboot
Using username "root".
root@192.168.1.60's password:
Activate the web console with: systemctl enable --now cockpit.socket
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Fri Sep 16 13:06:28 2022 from 10.8.0.6
[root@r7525 ~]# cat /sys/block/sda/queue/nr_requests
5089
[root@r7525 ~]# cat /sys/block/sda/queue/nomerges
2
[root@r7525 ~]# cat /sys/block/sda/queue/rotational
0
[root@r7525 ~]# cat /sys/block/sda/queue/rq_affinity
2
[root@r7525 ~]# cat /sys/block/sda/queue/scheduler
[none] mq-deadline kyber bfq
[root@r7525 ~]# cat /sys/block/sda/queue/add_random
0
[root@r7525 ~]# udevadm control --reload-rules && udevadm trigger
[root@r7525 ~]# cat /sys/block/sda/queue/nr_requests
1023
[root@r7525 ~]# mv /etc/udev/rules.d/99-abj.nr.rules /root
[root@r7525 ~]# reboot
Using username "root".
root@192.168.1.60's password:
Activate the web console with: systemctl enable --now cockpit.socket
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Fri Sep 16 13:41:47 2022 from 10.8.0.6
[root@r7525 ~]# cat /sys/block/sda/queue/nr_requests
256
[root@r7525 ~]# cat /sys/block/sda/queue/nomerges
2
[root@r7525 ~]# cat /sys/block/sda/queue/rq_affinity
1
[root@r7525 ~]# cat /sys/block/sda/queue/scheduler
[mq-deadline] kyber bfq none
[root@r7525 ~]# cat /sys/block/sda/queue/add_random
0
[root@r7525 ~]# mv /root/99-abj.nr.rules /etc/udev/rules.d/
[root@r7525 ~]# udevadm control --reload-rules && udevadm trigger
[root@r7525 ~]# cat /sys/block/sda/queue/nr_requests
1023
[root@r7525 ~]# cat /sys/block/sda/queue/nomerges
2
[root@r7525 ~]# cat /sys/block/sda/queue/rq_affinity
2
[root@r7525 ~]# cat /sys/block/sda/queue/scheduler
[none] mq-deadline kyber bfq
[root@r7525 ~]# cat /sys/block/sda/queue/add_random
0
[root@r7525 ~]# reboot
Using username "root".
root@192.168.1.60's password:
Activate the web console with: systemctl enable --now cockpit.socket
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Fri Sep 16 13:47:53 2022 from 10.8.0.6
[root@r7525 ~]# cat /sys/block/sda/queue/nr_requests
5089
[root@r7525 ~]# cat /sys/block/sda/queue/nomerges
2
[root@r7525 ~]# cat /sys/block/sda/queue/rq_affinity
2
[root@r7525 ~]# cat /sys/block/sda/queue/scheduler
[none] mq-deadline kyber bfq
[root@r7525 ~]# cat /sys/block/sda/queue/add_random
0
[root@r7525 ~]# cat /etc/udev/rules.d/99-abj.nr.rules
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="PERC_H755N_Front",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
KERNEL=="sd*",ACTION=="add|change",ATTRS{model}=="Dell Ent NVMe v2",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="nvme*[0-9]n*[0-9]",ATTRS{model}=="Dell Ent NVMe v2 AGN RI U.2 1.92TB",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0",\
ATTR{queue/max_sectors_kb}="4096"
SUBSYSTEM=="block",ACTION=="add|change",KERNEL=="md*",\
ATTR{md/sync_speed_max}="2000000",\
ATTR{md/group_thread_cnt}="64",\
ATTR{md/stripe_cache_size}="8192",\
ATTR{queue/nomerges}="2",\
ATTR{queue/nr_requests}="1023",\
ATTR{queue/rotational}="0",\
ATTR{queue/rq_affinity}="2",\
ATTR{queue/scheduler}="none",\
ATTR{queue/add_random}="0", ATTR{queue/max_sectors_kb}="4096"
Post reboot the rules did not take affect nor did they appear to work when I created them and then attempted to force them with udevadm control --reload-rules && udevadm trigger
before rebooting. What I had to do:
- Create the rules
- Reboot
- After reboot run
udevadm control --reload-rules && udevadm trigger