[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backb losing its mount point



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Darac Marjal <mailinglist@darac.org.uk> writes:

> On 31/03/2021 09:32, Sharon Kimble wrote:
>>
>> I'm hoping that you folks can help me with a problem that is now
>> happening reasonably regularly, actually twice.
>>
>> I have 2 data drives on my system /mnt/backa and /mnt/backb. Both are
>> 4tb drives, with backa being 2.74tb and backb 2.81tb.
>
> It might be helpful to see the relevant lines from your /etc/fstab.
>
>
>>
>> Backb is now regularly losing its mount point when I reboot, meaning
>> that only backa is mounted, and backb holds my restic backup.
>>
>> To regain access to backb I'm having to 'sudo e2fsck -y -b 32768
>> /dev/sdc2' which rebuilds the mount point such that I can mount it on
>> reboot, as backb.
>
> Firstly, it's usually better to run the "fsck" frontend, which will
> determine which filesystem you've got and run the appropriate backend,
> but I can see that you're passing advanced parameters here, so jumping
> straight to e2fsck isn't that unusual.
>
> Secondly, you're specifying "-b 32768" which is telling fsck to use a
> secondary superblock. Why is this? Generally, the primary superblock
> should be "good enough" to repair a filesystem. The man page does state
> that the primary superblock *should* be updated after the fixes are
> complete, so this shouldn't be necessary. So, why are you having to use
> a secondary superblock? Do you know what's wrong with the primary one?
>
>
>>
>> So how do I stop it happening again please? And what is the cause of it
>> all? Should I physically unmount the drives before rebooting?
>
> The answers you seek should already be logged somewhere.  Try the following:
>
> $ journalctl -b -u mnt-backb.mount        # 
> This will show output from
> attempts to mount /mnt/backb since the current bootup
>
> $ journalctl -b -g sdc2                              # This will grep
> the journal for all messages containing "sdc2" since the current bootup
>

Following on from my previous posting -

- --8<---------------cut here---------------start------------->8---
 sudo journalctl -b -g sdc2
[sudo] password for boudiccas: 
- -- Journal begins at Thu 2021-02-18 12:51:54 GMT, ends at Wed 2021-03-31 12:31:04 BST. --
Mar 31 08:21:47 london kernel:  sdc: sdc1 sdc2 sdc3 sdc4 sdc5 sdc6 sdc7
Mar 31 12:29:51 london sudo[323326]: boudiccas : TTY=pts/28 ; PWD=/home/boudiccas ; USER=root ; COMMAND=/usr/bin/journalctl -b -g sdc2
Mar 31 12:31:04 london sudo[437870]: boudiccas : TTY=pts/30 ; PWD=/home/boudiccas/.emacs.d/org ; USER=root ; COMMAND=/usr/bin/journalctl -b -g sdc2
- --8<---------------cut here---------------end--------------->8---

and also

- --8<---------------cut here---------------start------------->8---
sudo journalctl -b -u /mnt/backb.mount
- -- Journal begins at Thu 2021-02-18 12:51:54 GMT, ends at Wed 2021-03-31 12:31:50 BST. --
- -- No entries --
- --8<---------------cut here---------------end--------------->8---

and

- --8<---------------cut here---------------start------------->8---
sudo journalctl -b -u mnt-backb.mount
- -- Journal begins at Thu 2021-02-18 12:51:54 GMT, ends at Wed 2021-03-31 12:36:23 BST. --
Mar 31 08:21:54 london systemd[1]: Mounting /mnt/backb...
Mar 31 08:21:54 london systemd[1]: Mounted /mnt/backb.
- --8<---------------cut here---------------end--------------->8---
    
Thanks
  Sharon.
- -- 
Debian 10.9, fluxbox 1.3.7, emacs 28.0.50, org 9.4.5
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmBkXvQbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbofUP/iFtIe+2LZhZC3oc5i3W
YV2RrbSBvTBdKfe64hU80cjEVUxErEqLmUGTKiQOFDlQ8ZHX2hJpNSK9XE3P0e3W
vBComrmnkauK6KTxRrUeC+rDE///g5NjRC9zz/l3b9+EmUQ8YM/3Ty68dZAumZzl
MlqYjgx/30GDu45YHj2wW8zbUGUxqJOv5eXwU8Hf8/aEs9awyJbfg7iYFXVMh4OQ
WO9NJC6uafpPLNilbY6HjxPqjeFQiVKVfHMN9uYCJSA6ticCc9e0Zn1m0e+MFOu7
n82quc94NLk3BswUvNjqBlIBPvX5MNmoGJ0SF9NhDCp1YJpdW5Xc96B7QuE4NFZl
a6Kfa5Khx/y3ESShG0MAO/kNOadRw4Ljc05h3YJI2U50vB9Yw9yew3lYBRlGWfOR
ZSWUXyJM7dR9cQNfwhPEHlAEPOzoT45xnG0rZKNwjQHnCSmjjrheSFwpT9TyJNHr
4Me0bVa86L3trjooPbZQJFndhU0NvyKViJ0wQWGFsemE1DRxBu0x19nfcQtfBMip
57PzawFX2RL/oHyWQVnm+MqupnjqUwiKxMctl2aD6HEal8G3TXJfmyXjj9QV6aDB
zRRpZvmSibN05/ByJsdnqPAorjwR+MTrptfgyYHUwMhsH2S3+cJHWtjULi6EsIdS
Hme93jkQZENDw0u9Qt/0woMa
=T1eN
-----END PGP SIGNATURE-----


Reply to: