Devuan bug report logs - #81
shutdown does not unmount usb hard drive properly - drive will not remount at boot without fsck first

Package: sysvinit-core; Maintainer for sysvinit-core is Devuan Developers <devuan-dev@lists.dyne.org>; Source for sysvinit-core is src:sysvinit.

Reported by: Michael Knoop <mknoop01@mail.com>

Date: Tue, 23 May 2017 17:03:02 UTC

Severity: normal

Done: KatolaZ <katolaz@freaknet.org>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#81: shutdown does not unmount usb hard drive properly - drive will not remount at boot without fsck first
Reply-To: Michael Knoop <mknoop01@mail.com>, 81@bugs.devuan.org
Resent-From: Michael Knoop <mknoop01@mail.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Tue, 23 May 2017 17:03:02 UTC
Resent-Message-ID: <handler.81.B.14955582091444@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 81
X-Devuan-PR-Package: sysvinit-core
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.14955582091444
          (code B ref -1); Tue, 23 May 2017 17:03:02 UTC
Received: (at submit) by bugs.devuan.org; 23 May 2017 16:50:09 +0000
Delivered-To: devuanbugs@dyne.org
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Tue, 23 May 2017 18:50:09 +0200 (CEST)
Received: from mout.gmx.com (mout.gmx.com [74.208.4.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by tupac2.dyne.org (Postfix) with ESMTPS id CE89D18D5B1
	for <submit@bugs.devuan.org>; Tue, 23 May 2017 16:47:23 +0000 (UTC)
Received: from [192.168.1.79] ([162.237.28.76]) by mail.gmx.com (mrgmxus002
 [74.208.5.15]) with ESMTPSA (Nemesis) id 0Ln7sJ-1dsL0G2XLJ-00hQvz for
 <submit@bugs.devuan.org>; Tue, 23 May 2017 18:47:21 +0200
To: submit@bugs.devuan.org
From: Michael Knoop <mknoop01@mail.com>
Message-ID: <f969a9af-56c5-24a1-769a-5511675244ee@mail.com>
Date: Tue, 23 May 2017 11:47:29 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Provags-ID: V03:K0:ijTL+x8Y0nZCBqVedA72+VGFuAPege9dEb4uQe8u4gD/qdjNeg5
 7rE7nv+NTeFlwlsrJ3fiki2V4jAK9ryXtQbSpyCcKO9psAOMy/nIbtmRU53ewNOGsc6KTcw
 RyAWBichIIWymmpChLWqiM7pPEeV8q5ydZOO1uGHbTe6hAq53PbX98MaNSCFKmW66L5yuPn
 dHDEwmk4t9uOHA74aHRLg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:nF3YhjgZMWo=:qm6gK2xCNOa2oj8mVZIOoW
 DJsg6JPs5QFIC8X1PvVAIUQsw+2atJCc+G7K0+BtW17lIMT1PwePKnj8K9JKvAvOKvxZRVRV0
 P3XitNTPHjeNC0LU6p3cG5ShvulAsM0Kh9zhSEh8OFzgy4ueK0rSSzO9rByBd0MhH9FKONydd
 UiqSlU4gmBydOUkPfrdf3N2SWwx7KPdzUBY8Jegxy6nxQ7tPaOHlAUxFcc3wzQGNliq1m2MPC
 tURgb20uwg3/qGS3y+eWE/8tcVDWV8TytdEAiodfkUwwu5r6pTuifgXsJk668QvCcLk4qTPPT
 B7apIjz49QGSB63icAIshaHaLH+ttlPWTQDLlRrRdhcxC8XPcZcCK2KQSEj5QUzx6e+nLBCsE
 yIT0Q4vWwSdHiX8pgyGqNRwFChUyD3vIbyfT0U5RSQ8JuprBRgiyhMiOlY6Rvq4/hziFjIaRk
 OSeMum5cgkmZq/6nRm6xF2yh6fspcSnWj+S4W/e58fpikShlhpWXjlwAp8pMDrhZaE7i7jZ4u
 7yFpfrHBjRAizV/w/xrlYZPaQHUioY0p0LnjFScIhHFOoDKlBchgBpMpvKQJF0Doylx+2fIRV
 8d0UPFeIs2c9zqS13moyLpMV57OarpjR93fRTGFp/eXCM3coubqE3eGlulw0E+XZzQPZI0TtW
 FZjs9nlZPhOLmWxTfHRrZ/+lBeICYh5xkOWCytTOulP+qgx/2gStaxWVHezUTW4JD4BxwvEsn
 YCqa9mDKA3ruHtCW4iZ/umE5xOTMsaovTDwh+YC8yTQJxefbo2GJk1ATbe2uQgw7RtFkJvfEv
 jU7hTIw
X-Spam-Status: No, score=-3.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,
	FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=disabled
	version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2
Package: sysvinit-core
Version: 2.88dsf-59.2+devuan2

After I execute a shutdown, the next boot does not mount the usb drive 
partition even though it is in the fstab.

The /var/log/messages file shows:

May 23 11:07:37 devuan kernel: [  414.245986] FAT-fs (sda1): Volume was 
not properly unmounted. Some data may be corrupt. Please run fsck.

When I fsck the partition I get the following output:

pi@devuan:~$ sudo fsck -V /dev/sda1
[sudo] password for pi:
fsck from util-linux 2.25.2
[/sbin/fsck.vfat (1) -- /media/pi/E915-F57C] fsck.vfat /dev/sda1
fsck.fat 3.0.27 (2014-11-12)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may 
be corrupt.
1) Remove dirty bit
2) No action
? 1
Got 12726272 bytes instead of 122036412 at 122060800

It happens like this every single time I shutdown and reboot.


I am using the devuan version for raspberry pi 3.

Linux devuan 4.6.3-gb48d47a #1 SMP Thu Oct 13 00:34:22 CEST 2016 aarch64 
GNU/Linux

I downloaded the img file from 
https://files.devuan.org/devuan_jessie/embedded/ on 5/21/2017.

I ran sudo apt-get update and upgrade after installation on the 
raspberry pi 3.


If you need more information, or if I need to contact someone else about 
this, then please let me know.

Thanks you.



Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 19 19:38:34 2024;