Re: F28 HotPlug not working properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 May 2018 14:20:13 -0700
Rick Stevens <ricks@xxxxxxxxxxxxxx> 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 :)
Immediately after that, disk is detected.

Anyway, thanks for your answer.
Ciao
Angelo


> 
> I manually mount my eSATA, as root, to a specific mountpoint since I
> only use it for backups. I don't want it to automount--but that's just
> me.
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
> - AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
> -                                                                    -
> -   To err is human.  To forgive, a large sum of money is needed.    -
> ----------------------------------------------------------------------
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux