Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everyone,
I have a Lenovo V330 - 151GM Thinkcentre Desktop with a 500Gb HDD running Linux Mint 20.2.
I have been using the following setup for a number of years now ever since I moved from WinXP to Linux Ubuntu probably in about 2015. On this HDD I have two partitions, /dev/sda5 for the system (92Gb) and dev/sda6 (374Gb) for my private files. Both of these partitions are enclosed in an extended partition /dev/sda2 (466Gb). There is no swap file partition. See attached images. For some time now there has been an occasional (1 to 2 times per month) mounting problem after boot up, when my personal partition (sda6....RRG Documents1) does not automount correctly and is not found by Caja File Browser. This problem is generally fixed by opening Disks, then unmounting sda6 and then remounting it, when it then mounts correctly and can be found by Caja. However this does not always work and the system then requires a reboot after which everything is OK. Although it is not really a hassle, I would like to know what could be causing it and how I can fix it. Any ideas? Thanks.
When the problem first manifested itself, my first thought was that the disk was on it's way out (disk is an old seagate). However this problem started before Covid (new area?) but the disk passes SMART and displays no further signs of deterioration. I make a twice weekly snapshot on two different portable drives using Clonezilla, and am now not totally convinced that it is the HDD. You mention Logs, please tell me which logs and how to display them.
Ok, good you know about SMART - and good to know it passed. Shutting down the system incorrectly for example can cause filesystem corruption - the reboot forces a fsck and (hopefully) fixes it.
My Mint 20.1 test laptop has a persistent systemd journal - not sure if that was the default or I set it up. What does "journalctl --list-boots" reveal ?. It uses less as a pager, so q to exit the list.
If you know when you had the problem, you can use the first number to pull up the logs for that boot as in
Result of running code in terminal:
Specifying boot ID or boot offset has no effect, no persistent journal was found
I have specified a forceed fsck after every 2nd boot. Can't really say when the problem started,I think it was some time in early 2020 so I doubt that the logs would still be there.
You need to read all of my prior post.
I can't help you with what logs Mint uses if the journal is non-persistent, you will have to wait for another user. Any occurrence should give you relevant messages, not just the first. Persistent logs have many advantages - on my main Fedora system they go back over 10 years; I search them regularly.
This is repeated many times with only the time changing. In between '0 f79.......2021-08-28' and 'lines 1-1/1 (END)' are a lot of '~' one above the other on the LH side. See attached image.
You are correct as to the two mounting points, as to how it is being mounted, I haven't a clue, how can I find out? I store the Timeshift snapshots on /media/rrg/RRG Documents1, but cannot explain why sda6 would sometimes be mounted at /run/timeshift/backup, when it should be (and 99% of the time is) mounted on /media/rrg/RRG Documents1.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.