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 Vincenzo (KatolaZ) Nicosia <katolaz@freaknet.org>;

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

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

Severity: normal

Done: KatolaZ <katolaz@freaknet.org>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#81; Package sysvinit-core. (full text, mbox, link).


Acknowledgement sent to Michael Knoop <mknoop01@mail.com>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Michael Knoop <mknoop01@mail.com>
To: submit@bugs.devuan.org
Subject: shutdown does not unmount usb hard drive properly - drive will not remount at boot without fsck first
Date: Tue, 23 May 2017 11:47:29 -0500
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.



Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#81; Package sysvinit-core. (full text, mbox, link).


Acknowledgement sent to Michael Knoop <mknoop01@mail.com>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #10 received at 81@bugs.devuan.org (full text, mbox, reply):

From: Michael Knoop <mknoop01@mail.com>
To: 81@bugs.devuan.org
Subject: Please close this bug report
Date: Wed, 24 May 2017 12:11:33 -0500
It appears that the problem was with fsck.  It did not remove the dirty 
bit even though that option was selected.  I ran it with the -a option 
and now it is fixed.  I still cannot get the partition to mount at boot, 
but that is some other problem.

My apologies for the confusion.



Information forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#81; Package sysvinit-core. (full text, mbox, link).


Acknowledgement sent to KatolaZ <katolaz@freaknet.org>:
Extra info received and forwarded to list. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #15 received at 81@bugs.devuan.org (full text, mbox, reply):

From: KatolaZ <katolaz@freaknet.org>
To: 81@bugs.devuan.org
Subject: fixed
Date: Wed, 24 May 2017 19:08:08 +0100
Hi,

no need to apologise. Better filing a bug report, even if you are
unsure whether the bug is there, than avoiding to file one, even if
you are sure the bug is there ;)

Thanks.


Reply sent to KatolaZ <katolaz@freaknet.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Michael Knoop <mknoop01@mail.com>:
bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 81-close@bugs.devuan.org (full text, mbox, reply):

From: KatolaZ <katolaz@freaknet.org>
To: 81-close@bugs.devuan.org
Subject: fixed
Date: Wed, 24 May 2017 19:08:44 +0100
closed


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: Mon Jan 20 22:59:43 2020;