Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 11-21-2006, 01:57 AM   #1
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Mandriva 2007 automatically umounts partitions

My new Mandriva 2007 installation keeps unmounting hard drive partitions. The only hard drive partitions it isn't unmounting is / and /home. It is taking down all my data partitions periodically, which is causing me some considerable grief, and forcing me to remount them.

Does anyone know what is causing this behavior? It is almost like these fixed disks are being treated as removable disks.

When you consider that I share most of these other partitions over a LAN (and over a virtual LAN) you can see that I can't have this.
Old 11-21-2006, 09:50 PM   #2
Senior Member
Registered: Sep 2003
Posts: 3,171

Original Poster
Rep: Reputation: 115Reputation: 115
I believe that I am zeroing in on this problem. I do believe the haldaemon is doing it.

There is a new automount feature in KDE that uses dbus and hotplug and haldaemon in some fashion that I have not yet sorted out, and it would appear that haldaemon's job is to automatically mount/unmount removable media.

So, I found this default policy file identified as /usr/share/hal/fdi/policy/10osvendor/90default-policy-mount-point-names.fdi

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> 

<deviceinfo version="0.2">
  <match key="@block.storage_device:storage.hotpluggable" bool="false">
    <match key="@block.storage_device:storage.removable" bool="false">
      <merge key="volume.ignore" type="bool">true</merge>
So, this is saying that someplace there is a flag associated with the drives on the system. If the drive is not identified as removable or hotpluggable, hal should ignore it.

So, I'll bet that for some reason someone else (hotplug? dbus?) is identifying my hard drives as either removable or hotpluggable. So, when there are no open files on those drives they are getting unmounted. Open files across the network don't seem to count (NB: have to look at samba locking; I think I have enabled fake oplocks for performance).

So now I need to figure out how/where this drive info is set and kept. Maybe in /proc? I'll have to look there.

But perhaps now someone else might have an idea of how I might best proceed?


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
Webalizer, where has it gone? Mandriva 2007 ejennings_98 Mandriva 1 11-18-2006 03:47 PM
Sudo i Mandriva 2007 TheOnes Mandriva 8 11-11-2006 04:11 AM
Mandriva 2007 Rocks jolphil Mandriva 6 11-04-2006 10:19 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:19 PM.

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