[systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Jordan Hargrave
It would be nice if systemd could discover and display enclosure/bay slot mappings for drives in the system. The /dev/disk/by-path method doesn't quite work, for SAS drives the ID can change on hotplug. The slot mapping also doesn't handle PCIe SSD devices as they are bare block devices and

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Andrei Borzenkov
В Mon, 2 Mar 2015 09:48:51 -0600 Jordan Hargrave jhar...@gmail.com пишет: It would be nice if systemd could discover and display enclosure/bay slot mappings for drives in the system. The /dev/disk/by-path method doesn't quite work, for SAS drives the ID can change on hotplug. The slot

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Jordan Hargrave
On Mon, Mar 2, 2015 at 10:24 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Mon, 2 Mar 2015 09:48:51 -0600 Jordan Hargrave jhar...@gmail.com пишет: It would be nice if systemd could discover and display enclosure/bay slot mappings for drives in the system. The /dev/disk/by-path method

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Cristian Rodríguez
On Mon, Mar 2, 2015 at 12:48 PM, Jordan Hargrave jhar...@gmail.com wrote: It would be nice if systemd could discover and display enclosure/bay slot mappings for drives in the system. The /dev/disk/by-path method doesn't quite work, for SAS drives the ID can change on hotplug. The slot mapping

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Lennart Poettering
On Mon, 02.03.15 15:33, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: On Mon, Mar 2, 2015 at 12:48 PM, Jordan Hargrave jhar...@gmail.com wrote: It would be nice if systemd could discover and display enclosure/bay slot mappings for drives in the system. The /dev/disk/by-path method

Re: [systemd-devel] Proposal: Add Drive Enclosure/Slot mapping to systemd

2015-03-02 Thread Tom Gundersen
On Mon, Mar 2, 2015 at 5:42 PM, Jordan Hargrave jhar...@gmail.com wrote: On Mon, Mar 2, 2015 at 10:24 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Mon, 2 Mar 2015 09:48:51 -0600 Jordan Hargrave jhar...@gmail.com пишет: It would be nice if systemd could discover and display