1 |
On Tuesday 27 October 2015 18:18:18 J. Roeleveld wrote: |
2 |
> On 27 October 2015 17:36:00 CET, Peter Humphrey <peter@××××××××××××.uk> |
3 |
wrote: |
4 |
> >On Tuesday 27 October 2015 15:16:26 J. Roeleveld wrote: |
5 |
> >> If a disk is umounted/removed, something needs to be logged |
6 |
> >>somewhere. |
7 |
> > |
8 |
> >> Might even be a comment from the scsi-subsystem or the SATA driver. |
9 |
> >> |
10 |
> >> I usually only grep the log to try to find specific messages. |
11 |
> >> If I know the time-period something weird happened in, I tend to go |
12 |
> >> through the unfiltered log for that period. |
13 |
> > |
14 |
> > I have been scanning dmesg and /var/log/messages by eye and not noticed |
15 |
> > anything. I'll keep doing it though. |
16 |
> |
17 |
> What does your fstab look like? |
18 |
|
19 |
I gave the two relevant lines in my first message, but here's the whole thing: |
20 |
|
21 |
LABEL=RescueSys / ext4 relatime 1 1 |
22 |
LABEL=RescUsrBits /usr-bits ext4 relatime 1 2 |
23 |
/dev/md1 /boot ext2 relatime,noauto 1 2 |
24 |
/dev/md5 /mnt/main ext4 relatime,noauto,dev,exec 0 2 |
25 |
/dev/vg7/local /mnt/main/usr/local ext4 relatime,noauto 0 3 |
26 |
/dev/vg7/home /mnt/main/home ext4 relatime,noauto 0 3 |
27 |
/dev/vg7/common /mnt/main/home/prh/common ext4 relatime,noauto 0 4 |
28 |
/dev/vg7/virt /mnt/main/home/prh/.VirtualBox ext4 relatime,noauto 0 4 |
29 |
/dev/vg7/boinc /mnt/main/home/prh/boinc ext4 relatime,noauto 0 4 |
30 |
/dev/vg7/var /mnt/main/var ext4 relatime,noauto 0 2 |
31 |
/dev/vg7/portage /mnt/main/usr/portage ext4 relatime,noauto 0 2 |
32 |
/dev/vg7/packages /mnt/main/usr/portage/packages ext4 relatime,noauto 0 3 |
33 |
/dev/vg7/distfiles /mnt/main/usr/portage/distfiles ext4 relatime,noauto 0 3 |
34 |
/dev/vg7/opt /mnt/main/opt ext4 relatime,noauto 0 3 |
35 |
/dev/vg7/atom /mnt/main/mnt/atom ext4 relatime,noauto 0 3 |
36 |
/dev/vg7/atomresc /mnt/main/mnt/atomresc ext4 relatime,noauto 0 3 |
37 |
/dev/vg7/tpad /mnt/main/mnt/tpad ext4 relatime,noauto 0 3 |
38 |
/dev/vg7/vartmp /mnt/main/var/tmp ext4 relatime,noauto 0 3 |
39 |
/dev/sdc5 /mnt/sdc ext4 relatime,noauto,user 0 0 |
40 |
/dev/sdd5 /mnt/sdd ext4 relatime,noauto,user 0 0 |
41 |
/dev/sr0 /mnt/dvd iso9660 noauto,user 0 0 |
42 |
/dev/sda2 none swap sw 0 0 |
43 |
/dev/sdb2 none swap sw 0 0 |
44 |
tmpfs /tmp tmpfs nodev,nosuid,size=6G 0 0 |
45 |
proc /proc proc defaults 0 0 |
46 |
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
47 |
/dev/md8 /mnt/qt5 ext4 noauto,relatime 0 0 |
48 |
/dev/vg9/home /mnt/qt5/home ext4 noauto,relatime 0 0 |
49 |
/dev/vg9/var /mnt/qt5/var ext4 noauto,relatime 0 0 |
50 |
/dev/vg9/vartmp /mnt/qt5/var/tmp ext4 noauto,relatime,nosuid,nodev 0 0 |
51 |
/dev/vg9/local /mnt/qt5/usr/local ext4 noauto,relatime 0 0 |
52 |
/dev/vg9/portage /mnt/qt5/usr/portage ext4 noauto,relatime 0 0 |
53 |
/dev/vg9/packages /mnt/qt5/usr/portage/packages ext4 noauto,relatime 0 0 |
54 |
/dev/vg9/distfiles /mnt/qt5/usr/portage/distfiles ext4 noauto,relatime 0 0 |
55 |
|
56 |
> And maybe some more info, like which kernel version. Mount version. |
57 |
> And maybe check for some weird crontab entry somewhere? |
58 |
|
59 |
No cron installed. Kernel was 4.0.5 at the time of writing, upgraded to 4.0.9 |
60 |
yesterday. Mount is in sys-apps/util-linux-2.26.2 - was 2.25.2-r2 until 27 |
61 |
September but the problem occurred with both versions. |
62 |
|
63 |
> You could also rule out the use of umount by replacing it with a wrapper |
64 |
> script that logs every call with as much info as is possible? |
65 |
|
66 |
Hm. That may be above my bash grade. |
67 |
|
68 |
I'm inclined to suspect the kernel. No real evidence, just that I've booted |
69 |
the rescue system twice since installing the new kernel and everything worked |
70 |
as it should. |
71 |
|
72 |
-- |
73 |
Rgds |
74 |
Peter |