public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Mysteriously dismounting partition
Date: Wed, 28 Oct 2015 10:27:35 +0000	[thread overview]
Message-ID: <4087810.dF4tvcWy4G@wstn> (raw)
In-Reply-To: <B1637B31-12EC-4C24-80C8-8FED5C5A8633@antarean.org>

On Tuesday 27 October 2015 18:18:18 J. Roeleveld wrote:
> On 27 October 2015 17:36:00 CET, Peter Humphrey <peter@prh.myzen.co.uk> 
wrote:
> >On Tuesday 27 October 2015 15:16:26 J. Roeleveld wrote:
> >> If a disk is umounted/removed, something needs to be logged
> >>somewhere.
> >
> >> Might even be a comment from the scsi-subsystem or the SATA driver.
> >> 
> >> I usually only grep the log to try to find specific messages.
> >> If I know the time-period something weird happened in, I tend to go
> >> through the unfiltered log for that period.
> >
> > I have been scanning dmesg and /var/log/messages by eye and not noticed
> > anything. I'll keep doing it though.
> 
> What does your fstab look like?

I gave the two relevant lines in my first message, but here's the whole thing:

LABEL=RescueSys     /                               ext4 relatime        1 1
LABEL=RescUsrBits   /usr-bits                       ext4 relatime        1 2
/dev/md1            /boot                           ext2 relatime,noauto 1 2
/dev/md5            /mnt/main             ext4   relatime,noauto,dev,exec 0 2
/dev/vg7/local      /mnt/main/usr/local             ext4 relatime,noauto 0 3
/dev/vg7/home       /mnt/main/home                  ext4 relatime,noauto 0 3
/dev/vg7/common     /mnt/main/home/prh/common       ext4 relatime,noauto 0 4
/dev/vg7/virt       /mnt/main/home/prh/.VirtualBox  ext4 relatime,noauto 0 4
/dev/vg7/boinc      /mnt/main/home/prh/boinc        ext4 relatime,noauto 0 4
/dev/vg7/var        /mnt/main/var                   ext4 relatime,noauto 0 2
/dev/vg7/portage    /mnt/main/usr/portage           ext4 relatime,noauto 0 2
/dev/vg7/packages   /mnt/main/usr/portage/packages  ext4 relatime,noauto 0 3
/dev/vg7/distfiles  /mnt/main/usr/portage/distfiles ext4 relatime,noauto 0 3
/dev/vg7/opt        /mnt/main/opt                   ext4 relatime,noauto 0 3
/dev/vg7/atom       /mnt/main/mnt/atom              ext4 relatime,noauto 0 3
/dev/vg7/atomresc   /mnt/main/mnt/atomresc          ext4 relatime,noauto 0 3
/dev/vg7/tpad       /mnt/main/mnt/tpad              ext4 relatime,noauto 0 3
/dev/vg7/vartmp     /mnt/main/var/tmp               ext4 relatime,noauto 0 3
/dev/sdc5           /mnt/sdc              ext4    relatime,noauto,user 0 0
/dev/sdd5           /mnt/sdd              ext4   relatime,noauto,user 0 0
/dev/sr0            /mnt/dvd                      iso9660 noauto,user    0 0
/dev/sda2           none                            swap sw              0 0
/dev/sdb2           none                            swap sw              0 0
tmpfs               /tmp                  tmpfs  nodev,nosuid,size=6G 0 0
proc                /proc                           proc defaults        0 0
shm                 /dev/shm              tmpfs  nodev,nosuid,noexec 0 0
/dev/md8            /mnt/qt5                        ext4 noauto,relatime 0 0
/dev/vg9/home       /mnt/qt5/home                   ext4 noauto,relatime 0 0
/dev/vg9/var        /mnt/qt5/var                    ext4 noauto,relatime 0 0
/dev/vg9/vartmp     /mnt/qt5/var/tmp   ext4  noauto,relatime,nosuid,nodev 0 0
/dev/vg9/local      /mnt/qt5/usr/local              ext4 noauto,relatime 0 0
/dev/vg9/portage    /mnt/qt5/usr/portage            ext4 noauto,relatime 0 0
/dev/vg9/packages   /mnt/qt5/usr/portage/packages   ext4 noauto,relatime 0 0
/dev/vg9/distfiles  /mnt/qt5/usr/portage/distfiles  ext4 noauto,relatime 0 0

> And maybe some more info, like which kernel version. Mount version.
> And maybe check for some weird crontab entry somewhere?

No cron installed. Kernel was 4.0.5 at the time of writing, upgraded to 4.0.9 
yesterday. Mount is in sys-apps/util-linux-2.26.2 - was 2.25.2-r2 until 27 
September but the problem occurred with both versions.

> You could also rule out the use of umount by replacing it with a wrapper
> script that logs every call with as much info as is possible?

Hm. That may be above my bash grade.

I'm inclined to suspect the kernel. No real evidence, just that I've booted 
the rescue system twice since installing the new kernel and everything worked 
as it should.

-- 
Rgds
Peter



      reply	other threads:[~2015-10-28 10:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 14:47 [gentoo-user] Mysteriously dismounting partition Peter Humphrey
2015-10-27 11:04 ` Stefan G. Weichinger
2015-10-27 12:25   ` Peter Humphrey
2015-10-27 14:16     ` J. Roeleveld
2015-10-27 16:36       ` Peter Humphrey
2015-10-27 17:18         ` J. Roeleveld
2015-10-28 10:27           ` Peter Humphrey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4087810.dF4tvcWy4G@wstn \
    --to=peter@prh.myzen.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox