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
|