mirror of
https://github.com/systemd/systemd.git
synced 2024-12-04 15:53:41 +08:00
e92a3d8fa3
Some SCSI tape devices use the same device ID (NAA registered device designator) for the SCSI tape changer device and the first actual tape device. For example, this one: https://docs.oracle.com/en/storage/tape-storage/storagetek-sl150-modular-tape-library/slofs/bridged-tape-drives.html You must connect the bridged drive to an HBA supporting multiple LUNs (also referred to as LUN scanning). The SL150 Library uses a single SCSI ID and two logical unit numbers (LUN). LUN 0 controls the tape drive and LUN 1 which is configured as a SCSI medium changer device controls the robotics. Data is sent to the remaining LUN on the bridged drive or to LUNs on the other, unbridged drives in the partition, all of which are configured as SCSI sequential-access (tape) devices. This may lead to errors because /dev/tape/by-id symlinks may sometimes point to the st device representing the tape, and sometimes to the sg device representing the changer. Fix this by assigning an increased priority to the tape device, and creating a separate -changer link for the SCSI tape changer. Co-developed-by: Martin Wilck <mwilck@suse.com> |
||
---|---|---|
.. | ||
50-udev-default.rules.in | ||
60-autosuspend.rules | ||
60-block.rules | ||
60-cdrom_id.rules | ||
60-drm.rules | ||
60-evdev.rules | ||
60-fido-id.rules | ||
60-input-id.rules | ||
60-persistent-alsa.rules | ||
60-persistent-input.rules | ||
60-persistent-storage-tape.rules | ||
60-persistent-storage.rules | ||
60-persistent-v4l.rules | ||
60-sensor.rules | ||
60-serial.rules | ||
64-btrfs.rules.in | ||
70-camera.rules | ||
70-joystick.rules | ||
70-memory.rules | ||
70-mouse.rules | ||
70-touchpad.rules | ||
75-net-description.rules | ||
75-probe_mtd.rules | ||
78-sound-card.rules | ||
80-drivers.rules | ||
80-net-setup-link.rules | ||
81-net-dhcp.rules | ||
99-systemd.rules.in | ||
meson.build | ||
README |
Files in this directory contain configuration for systemd-udevd.service, a daemon that manages symlinks to device nodes, permissions of devices nodes, emits device events for userspace, and renames network interfaces. See man:udev(7) for an overview of the configuration file format, and man:systemd-udevd.service(8) for a description of service itself. Use 'systemd-analyze cat-config udev/rules.d' to display the effective config.