On 05/04/2018 02:58 PM, T_POL wrote:
> On Fri, 4 May 2018 14:20:13 -0700
> Rick Stevens <ri...@alldigital.com> wrote:
> 
>> On 05/04/2018 01:30 PM, T_POL wrote:
>>> I've noticed that Fedora 28 does not detect an external eSATA disk when 
>>> it's inserted.
>>> If the eSATA disk is already plugged at boot, it's normally detected and 
>>> automounted.
>>>
>>> USB disks are handled correctly.
>>>
>>> I've made a test using a "Fedora-Xfce-live-27" and everything works fine.
>>>
>>> I'm using an HP Pavilion laptop. 
>>>
>>> Thanks in advance to anybody answering.  
>>
>> Have you verified that the disk is seen at all after hot plugging? You
>> could run "fdisk -l" as root or look at the output of dmesg. If it shows
>> up in the fdisk or dmesg output, then the kernel knows about it. I don't
>> think eSATA stuff automounts by default (eSATA is handled differently
>> than USB as they show up on different buses).
>>
> 
> Yes I did. The disk is not seen at all. 
> "fdisk -l" just list /dev/sda (Internal).
> "journalctl -f" and "dmesg" both list nothing.
> What is strange is that on F27 it was working as expected
> (detected and automounted)
> 
>> If the kernel does see it during hotplug, you could create a udev rule
>> to automount it. You can get the relevant info needed for the rule by
>> running "udevadm monitor -k" (to see raw kernel events) or "udevadm
>> monitor -u" (to see existing udev processing) prior to plugging the
>> drive in. Watch the output when you plug in the drive.
> 
> Both "udevadm" commands lists nothing after plugging the drive.
> The only way to make the drive detected is to run as root the following 
> command :
> 
>    "echo "- - -" > /sys/class/scsi_host/host5/scan"
> 
> Found it with google :)

Yeah, google is your friend (at times). That would trigger a SCSI bus
scan.

> Immediately after that, disk is detected.

It's odd that it's not seen at all except if plugged in at boot. Sounds
like a bug, although I don't know if it'd be in the SCSI driver, hotplug
code or kernel itself. I'd sure bugzilla it.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-       A squeegee, by any other name, wouldn't sound as funny.      -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to