LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-13-2009, 05:43 PM   #1
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Rep: Reputation: 17
RHEL5 - how to automount a usb drive without logging in


On a RHEL 5 server of mine, I have a usb drive connected to hold backups. I've noticed that it mounts automatically only if a User is logged into the server. For now I've put it in /etc/fstab so it's hard mounted at bootup, but I prefer the automount, as currently if the drive is not there at bootup, the system hangs looking for the absent filesystem.

I'm not really sure how usb drives are automounted currently. I don't see anything in /etc/auto.master. Whatever process does this, I just want it to run earlier, before/without User login.

Anybody know how?

-Van

p.s.

FWIW, permissions issues aren't relevant for me, as the drive's only use is for a backup process that runs as root. No non-Admins will ever be at the server anyway.
 
Old 03-13-2009, 06:21 PM   #2
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 355

Rep: Reputation: 43
Maybe udev rule. Search around for that, since I think it was mentioned here before
 
Old 03-14-2009, 02:06 PM   #3
Vanyel
Member
 
Registered: Jul 2007
Location: NY, NY
Distribution: RHEL, CentOS, FC, Ubuntu
Posts: 115

Original Poster
Rep: Reputation: 17
Saw little I could make heads or tails of, and nothing that seemed relevant in /etc/udev .
 
Old 03-14-2009, 03:28 PM   #4
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 355

Rep: Reputation: 43
Quote:
Originally Posted by Vanyel View Post
Saw little I could make heads or tails of, and nothing that seemed relevant in /etc/udev .

Writing udev rules
 
  


Reply

Tags
automount, login, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Drive Does Not Automount (GNOME) carlosinfl Debian 12 02-12-2009 10:21 PM
USB drive won't automount linuxhippy Slackware 25 11-24-2007 11:52 AM
automount external USB drive unknownmosquito Linux - Hardware 5 06-08-2007 06:39 PM
USB Flash Drive will not automount drlinux VectorLinux 6 04-19-2007 05:47 PM
automount of usb drive konramesh Linux - Hardware 1 12-02-2006 11:16 PM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration