Gentoo Archives: gentoo-amd64

From: Paul Colquhoun <paulcol@×××××××××××××××××.au>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] hald randomly unmounting partitions
Date: Thu, 18 Jan 2007 12:05:03
Message-Id: 200701182302.59291.paulcol@andor.dropbear.id.au
1 For a few months, I have been having problems where some partitions are
2 being unmounted at odd intervals.
3
4 I wrote a script wrapper around the umount command, and have found that
5 it is being done by a script that is part of the hald setup.
6
7 Has anybody else seen this?
8
9 The affected partitions are ones that usually don't have any open files,
10 but only because the other umount's are failing, the script is running
11 through *ALL* my partitions and trying to unmount them.
12
13 The script in question is:
14
15 /usr/share/hal/scripts/hal-system-storage-unmount
16
17
18 The umount wrapper is showing this activity:
19
20 Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/' :
21 Parent PID = 20125
22 root 20125 20124 0 18:47 ?
23 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
24
25 Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/var' :
26 Parent PID = 20134
27 root 20134 20133 0 18:47 ?
28 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
29
30 Thu Jan 18 18:47:11 EST 2007 umount called with parameters = '/usr' :
31 Parent PID = 20143
32 root 20143 20142 0 18:47 ?
33 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
34
35 Thu Jan 18 18:47:12 EST 2007 umount called with parameters = '/data' :
36 Parent PID = 20152
37 root 20152 20151 0 18:47 ?
38 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
39
40 Thu Jan 18 18:47:12 EST 2007 umount called with parameters
41 = '/var/spool/news' : Parent PID = 20172
42 root 20172 20171 0 18:47 ?
43 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
44
45 Thu Jan 18 18:47:12 EST 2007 umount called with parameters
46 = '/usr/portage' : Parent PID = 20186
47 root 20186 20185 0 18:47 ?
48 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
49
50 Thu Jan 18 18:47:12 EST 2007 umount called with parameters = '/home' :
51 Parent PID = 20198
52 root 20198 20197 0 18:47 ?
53 00:00:00 /bin/bash /usr/share/hal/scripts/hal-system-storage-unmount
54
55
56 /data /var/spool/news & /usr/portage are the partitions that are
57 affected most.
58
59
60 Is there a way to mark these partitions so that hald will keep it's
61 interfering mitts off them?
62
63
64 --
65 Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
66 Asking for technical help in newsgroups? Read this first:
67 http://catb.org/~esr/faqs/smart-questions.html#intro
68 --
69 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: hald randomly unmounting partitions Duncan <1i5t5.duncan@×××.net>