Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
AussieJohn

eSATA

Recommended Posts

I seem to remember in the back of my mind, reading somewhere, that it is possible to have an external SATA Hard Drive be automatically mounted when it is switched on at its eSATA mount, and have it appear in the Device Notifier, the same as when a USB Device is connected. I haven't been able to work it out nor can I remember where I read it. I am presently using the USB Mode of connection of the External Hard Drive mounting unit but I find it terribly slow (It is USB-2) and the drive is a new 750Gb Western Digital SATA II unit being used for mass storage of videos that I am working on which were taken during my recent DEC/JAN visit to Maine in the US. This external mount unit has option for USB or eSATA connection so it only requires a cable change.

 

Obviously Sata is considerably faster than USB-2 so I would like to use it instead.

 

If I mount the eSATA via the MCC then the problem arises that if I switch off the eSATA and happen to reboot, then Startup has problems looking for a Drive that appears to be missing or maybe faulty.

 

Can anyone help me here, please. Cheers. John.

Share this post


Link to post
Share on other sites

Just a bump.

 

Any ideas, anyone, please.

 

 

Cheers. John.

Share this post


Link to post
Share on other sites
If I mount the eSATA via the MCC then the problem arises that if I switch off the eSATA and happen to reboot, then Startup has problems looking for a Drive that appears to be missing or maybe faulty.

 

Can anyone help me here, please. Cheers. John.

If you use the noauto and user switches in /etc/fstab does it still have fits about a missing drive?

Of course you'd have to mount it manually but that's better than using USB speeds.

 

Ken

Share this post


Link to post
Share on other sites

Thanks Silver Surfer and Ken.

 

The problem with having the drive listed in fstab means that the drive has to be switched on all the time or problems occur whenever rebooting.

 

Possibly I might mount it and list in in fstab anyway, and just have to remember to switch it back on prior to rebooting then having completed rebooting just switching it off again.

 

The drive has got Western Digitals' 5 year warranty but I would like to extend the drive life well beyond that since I plan it to be my long life storage of Music, Photographs and Personal Videos.

 

I am still open to other suggestions on how to get an eSATA auto-mounting similar to USB.

 

Cheers. John.

Share this post


Link to post
Share on other sites

Hi John,

 

If you use noauto like ken says, it won't mount, and won't need to be mounted or connected even when you reboot, as the fstab won't attempt to mount it. However, when it is connected, you can mount it by clicking it because it won't do it automatically. With an fstab entry it should supercede the udev calls, and so udev won't attempt to mount it automatically. However, double-clicking the drive will do it.

 

There is only one potential problem. If the fstab is hard coded for /dev/sdb1 for example for this disk, if you connect a USB stick first, and then your hard disk, the USB stick will be /dev/sdb1 and the hard disk /dev/sdc1. Then the fstab would be out of sync. Just something to bear in mind, that if you have any other USB drives/sticks attached, to disconnect them so that when you connect this eSATA one, it will be /dev/sdb1 as is in the fstab.

 

Hope all that makes sense :)

Share this post


Link to post
Share on other sites

Thanks Ian.

What you say does seem to make sense. However I do use USB sticks, so sure there will be a problem as you describe, and one I can do without.

 

You say........"However, when it is connected, you can mount it by clicking it because it won't do it automatically. With an fstab entry it should supercede the udev calls, and so udev won't attempt to mount it automatically. However, double-clicking the drive will do it."........Where do you mean "double click it" exactly ??.

 

 

Cheers. John.

Share this post


Link to post
Share on other sites

John,

 

/etc/fstab uses UUIDs by default so drive order will not be a problem.

For mounting the drive use for example

mount /mnt/my-esata-drive

from the Alt+F2 run line or create a desktop short cut.

 

Ken

Share this post


Link to post
Share on other sites

Thanks Ian.

What you say does seem to make sense. However I do use USB sticks, so sure there will be a problem as you describe, and one I can do without.

 

You say........"However, when it is connected, you can mount it by clicking it because it won't do it automatically. With an fstab entry it should supercede the udev calls, and so udev won't attempt to mount it automatically. However, double-clicking the drive will do it."........Where do you mean "double click it" exactly ??.

 

 

Cheers. John.

 

Within KDE or Gnome for example, you see the drive listed and so can open it. This will also mount it at the same time when you click it, or at least should do. As Ken said (forgot about that) use the UUID in fstab then you won't have the mounting problem I mentioned if you used /dev/sdb1 or whatever.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×