Re: eSATA removable drive

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

 



On 04/06/2010 02:08 PM, D. Hugh Redelmeier wrote:
> | From: John Austin<ja@xxxxxxxxxx>
>
> | Hi
> |
> | I have used hotplug hard drives for some time but never used eject
>
> What do you do to safely remove the disk?  Surely unmount and swapoff,
> as applicable, but how do you tell the system that the actual drive is
> going away?
>
> That's what I use "eject" for in several cases (USB mass storage, CD,
> DVD).  I figure that it should work for eSATA.  As I mentioned, I get
> the message:
>      eject: device "/dev/sdi" doesn't have a removable or hotpluggable flag
>
> | Try to sort it out as root and then move on to a normal user
>
> Good advice.  I am using root for now.
>
> | What does mount show when the disk is plugged in?
> | It should be showing /dev/sdix I believe not /dev/sdi
>
> That is the case: x is the number of the partition.
>
> Mount works.  The drive works.  It's the unplugging that I'm feeling
> nervous about.
>
> "Just unplugging" will surely work, but it seems wrong.  The device
> driver ought to feel unhappy (perhaps only in my model of the
> universe).

The problem is that the controller you've plugged into (the one on
the motherboard) is not designed for "hotswap" devices.  It's expecting
a hard-installed drive and thus doesn't have the eject support NOR does 
it have necessary power supply glitch protection since it's expecting
its drives to be on the same power supply the motherboard is using.

It is VERY dangerous to simply connect a motherboard connector to the
outside world unless it was actually intended for it.  In your case,
it is quite possible to blow your motherboard if there's an adequate
ground loop between your computer and the power supply feeding the
eSATA drive.  An actual eSATA (external SATA) port IS designed for
hotswap and has the requisite protection.  THOU HAST BEEN WARNED!

> The drive actually has eSATA and USB ports.  When I connect via USB,
> eject works fine.

USB is expected to be plugged and unplugged ad infinitum, consequently
it has the necessary power protection and knows about eject.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-     Veni, Vidi, VISA:  I came, I saw, I did a little shopping.     -
----------------------------------------------------------------------
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux