Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-Nov-2009, 04:50 AM
Member
 
Join Date: Mar 2008
Posts: 81
bkelsen 0 reputation points
Default autofs and udev clash

Running sles11 and have 2 x RD1000 devices (/dev/sdb and /dev/sdc)

When inserting the removable disks they are detected just fine with "fdisk -l" and each disk mounts consistently to the same device (sdb is the top drive and sdc is the bottom drive).

I have setup autofs so my partion on the sdc devices always is mounted into /media/disk and my partion on the sdb devices is always mounted into /media/disk-1

Using autofs makes shure that when a process is accessing either /media/disk or /media/disk-1, the physical device is mounted (if it wasn't allready)

WORKS LIKE A CHARM :-)

However when I'm logged onto the server and no disks are inserted, then when I insert the first disk it ALWAYS mounts to /media/disk and the second one mounts to /media/disk-1.
And this happens consistently no matter which RD1000 drive slot I insert into first - which is not consistent with my autofs setup !!

What I need is to use only autofs, and NOT have the disks automounted incorrectly (or as it is, on a first come first serve basis).

OR as an alternative be able to configure the automount feature to not use first = disk and second = disk-1, but let me control it like I do with autofs.

I dont know if this a udev issue, and I certainly need pointers on how to configure this - any help appreciated.....

/KR Bjørn
Reply With Quote
 

Tags
autofs, mount, removable disk, udev

Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 01:39 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2