Hi, I’ve been fighting this one for a bit here and now am looking for advice. This is a recent Tumbleweed install… 2 days old. After initial install and updates, everything worked as expected and my mounts survived multiple restarts during setup. Now today, I had to shutdown and restarted about 45 minutes later… and my second drive is no longer mounting. I haven’t done any updates (ie no zypper dup) between when it last restarted and everything works, and today when it stopped mounting the drive at boot.
After booting, the /home/smaug42/stuff mount isn’t mounted (this is /dev/sda1 (the only partition on the drive). If I do a sudo mount -a it mounts normally and I can use it right up until I restart.
Change the last two columns in “fstab” for that entry, to “0 2” rather than “0 0”
I don’t guarantee that will solve the problem, but it is worth trying. This tells the system to do an “fsck” on the file system. If the file system does not show up as clean, then that might prevent it mounting.
Looks like the kernel successfully mounts the disk at 20:16:01, but the mount silently dies and manully mounting succeeds at 20:16:55. Any messages in that intervall?
Changing from 0 0 to 0 2 didn’t make any difference on restart.
I’ve just restarted and before doing anything else I checked the mount points… sda1 is not mounted if I check via file manager or CLI. There is a new line in the journal now…
Oct 18 22:02:46 grumpy kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
but nothing is actually mounted for sda1. If I manually mount with a mount -a or mount /home/smaug42/stuff it mounts cleanly and now there’s a second line in the journal…
Oct 18 22:02:46 grumpy kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
Oct 18 22:07:19 grumpy kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: data=ordered
Looks like the kernel successfully mounts the disk at 20:16:01, but the mount silently dies and manully mounting succeeds at 20:16:55. Any messages in that intervall?
Nothing I can see… dmesg only has 2 lines related to the mount point… and no hint around either time stamp:
dmesg |grep sda1
1.580247] sda: **sda1**
4.544159] EXT4-fs (**sda1**): mounted filesystem with ordered data mode. Opts: data=ordered
278.021129] EXT4-fs (**sda1**): mounted filesystem with ordered data mode. Opts: data=ordered
This remembers me of a thread some time ago. It looked at least like this in that from the loggings it looked that the mount was done, immediatly followed by an unmount. Mounting manualy then succeeded and no further problems. If I remember correct, it did not happen at every boot, but very often.
Sorry, but I have to go and not the time to search for that thread.
Also, @smaug42, please always include the first line with the prompt and the command and the last line with the new propmt with your computer output. Much easier for you to copy/paste those two more lines and not to have to type things like “my fstab looks like this”. Not needed, because the “…:~> cat /etc/fstab” is there. Much easier to interprete for us also.
**grumpy:/home/smaug42#**journalctl -b --grep smaug42 -- Logs begin at Wed2019-10-16 20:48:24 PDT, end at Sat 2019-10-19 07:31:54 PDT. --
Oct19 07:23:41 grumpy systemd[1]: Mounting /home/smaug42/stuff...
Oct19 07:23:41 grumpy systemd[1]: Mounted /home/smaug42/stuff.
Oct19 07:23:42 grumpy systemd[1]: Unmounting /home/smaug42/stuff...
Oct19 07:23:42 grumpy systemd[1]: home-smaug42-stuff.mount: Succeeded.
Oct 19 07:23:42 grumpy systemd[1]: Unmounted/home/smaug42/stuff.
Oct 19 07:23:46 grumpysystemd-logind[1665]: New session 1 of user smaug42.
Oct 1907:23:46 grumpy systemd[1675]: pam_unix(systemd-user:session):session opened for user smaug42(uid=1000) by (uid=0)
Oct 1907:23:46 grumpy systemd[1]: Started Session 1 of user smaug42.
Oct19 07:23:46 grumpy sddm-helper[1656]:pam_unix(sddm-autologin:session): session opened for usersmaug42(uid=1000) by (uid=0)
Oct 19 07:23:46 grumpysddm-helper[1684]: Addingcookie to "/home/**smaug42**/.Xauthority"
Oct 19 07:23:46 grumpy kdeinit5[1767]:**kf5.kservice.sycoca:Parse error in "/home/****smaug42****/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu", line 1 , col 1 : "unexpected end of file"**
Oct 19 07:23:47 grumpy plasma_session[1794]:org.kde.plasma.session: Starting autostart service "/home/smaug42/.config/autostart/insync.desktop"("/usr/bin/insync", "start")
Oct 1907:23:47 grumpy plasma_session[1794]: org.kde.plasma.session:Starting autostart service "/home/smaug42/.config/autostart/steam.desktop"("/usr/bin/steam")
Oct 19 07:23:47 grumpy env[1907]:-> checking/home/smaug42/.local/share/Steam/ubuntu12_32/steam-runtime
Oct19 07:23:47 grumpy rtkit-daemon[1993]: Successfully made thread 1869of process 1869 (/usr/bin/pulseaudio) owned by 'smaug42' highpriority at nice level -11.
Oct 19 07:23:49 grumpyplasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.thermalMonitor/contents/ui/main.qml:312:TypeError: Type error**
Oct 19 07:23:50 grumpy rtkit-daemon[1993]:Successfully made thread 2357 of process 1869 (/usr/bin/pulseaudio)owned by 'smaug42' RT at priority 5.
Oct 19 07:23:50 grumpyrtkit-daemon[1993]: Successfully made thread 2410 of process 1869(/usr/bin/pulseaudio) owned by 'smaug42' RT at priority 5.
Oct19 07:23:50 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/org.kde.simpleMonitor/contents/ui/main.qml:114:Error: Cannot assign [undefined] to QString**
Oct 19 07:23:52 grumpy baloo_file[1803]: **replacecalled with invalid arguments, docId: 1152922054362727171 url:"/home/****smaug42****/"**
Oct 19 07:24:12 grumpy su[3334]: **(toroot) ****smaug42****onpts/1**
Oct 19 07:24:12 grumpy su[3334]:pam_unix(su:session): session opened for user root(uid=0) bysmaug42(uid=1000)
Oct 19 07:24:49 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/WeatherData.qml:73:TypeError: Property 'value' of object envcan,weather,Vancouver, BC isnot a function**
Oct 19 07:27:14 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/lib/ConfigComboBox.qml:69:TypeError: Cannot read property 'value' of undefined**
Oct 19 07:27:22 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/config/WeatherStationPicker.qml:80:ReferenceError: weatherStationConfigPage is not defined**
Oct 19 07:27:47 grumpy plasmashell[1805]:**file:///home/****smaug42****/.local/share/plasma/plasmoids/com.github.zren.simpleweather/contents/ui/config/WeatherStationPicker.qml:80:ReferenceError: weatherStationConfigPage is not defined**
Oct 19 07:29:10 grumpy su[4169]: **(toroot) ****smaug42****onpts/1**
Oct 19 07:29:10 grumpy su[4169]:pam_unix(su:session): session opened for user root(uid=0) bysmaug42(uid=1000)
Oct 19 07:30:10 grumpy baloo_file[1803]:6545298230936323"/home/**smaug42**/Downloads/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20191016-Media.iso"renaming "Unconfirmed 15657.crdownload" to"openSUSE-Tumbleweed-DVD-x86_64-Snapshot20191016-Media.iso"
**grumpy:/home/smaug42#**
I also tried per another suggestion to set ProtectHome to readonly. That happened with /home on a Samsung drive. My /home and root is an NVME Samsung drive… but the sda1 is Toshiba… but was worth a try.
I’ve had some other weird things happen in the process here… google-chrome-stable suddenly disappeared from /usr/bin Then I noticed at least two other apps I installed after the initial installation were… missing their binaries… all apps are on root which is mounted at boot… and on the Samsun NVME drive. zypper and the RPM database insisted the apps were installed. Force reinstalled the missing apps and everything works again.
This is the first time Tumbleweed has given me any issues at all in years now… but it IS a new PC this time vs old hardware that was happy with Tumbleweed.
At this point… since it’s a fresh install without any history, I’m probably just going to rebuild and re-install again. It was working 100% fine up until yesterday. I want to see if I can recreate the sequence of events that lead up to the problem appearing. Maybe it was something I did? Weird symptom though… silent failing mount. Hmmm
It mounts during boot, them immediately unmounts… boot completes. I run mount -a as root and it’s back and seems to work just fine. I’m still at a loss as to what’s changed. It was working the way it is supposed to after install. I ran the post install zypper dup and then installed the Nvidia. This was at least 2 restarts and it was fine. Installed apps, installed Steam, installed a few games on sda1. Restarted once or twice in there… all OK, then yesterday I shut down the system to reroute the electrical cables - tuck them up in a cable tray under the desk instead of just straight from the power bar across the floor where they can be stepped on. Plugged all back in… drive won’t mount on boot. No updates were applied between the previous restart and the one where teh prob showed up, and no system changes beyond installing some Steam games to sda1.
**grumpy:/home/smaug42#**[/FONT]journalctl -b --grep smaug42 [FONT=monospace]-- Logs begin at Wed2019-10-16 20:48:24 PDT, end at Sat 2019-10-19 07:31:54 PDT. --
Oct19 07:23:41 grumpy systemd[1]: Mounting /home/smaug42/stuff...
**Oct19 07:23:41 grumpy systemd[1]: Mounted /home/smaug42/stuff.
#provide details between 07:23:41 and 07:23:42
Oct19 07:23:42 grumpy systemd[1]: Unmounting /home/smaug42/stuff... **
Oct19 07:23:42 grumpy systemd[1]: home-smaug42-stuff.mount: Succeeded.
Oct 19 07:23:42 grumpy systemd[1]: Unmounted/home/smaug42/stuff.
Oct 19 07:23:46 grumpysystemd-logind[1665]: New session 1 of user smaug42.
Oct 1907:23:46 grumpy systemd[1675]: pam_unix(systemd-user:session):session opened for user smaug42(uid=1000) by (uid=0)
Oct 1907:23:46 grumpy systemd[1]: Started Session 1 of user smaug42.
...
**grumpy:/home/smaug42#**
systemd[1] properly mounts and unmounts on its own sda1. To find out what triggers unmount detailed information on what is going on is needed. Run ‘journalctl -b’ and post the relevant time span.
systemd[1] properly mounts and unmounts on its own sda1. To find out what triggers unmount detailed information on what is going on is needed. Run ‘journalctl -b’ and post the relevant time span.
I’ll have to get back on this one.
Not funky SATA cables or power to the drive in question? Maybe unplug/plug just to be sure?
I started today’s debugging with this in mind. Things I’ve tested on the hardware side:
Swapped out the Toshiba 1TB drive for a known good WesternDigital 1TB drive. Reinstalled Tumbleweed from scratch (may as well since it only takes a few minutes and starting fresh might chase out the gremlins) on the NVME drive (so not installing on sda1). Set mounts during install, and drives are formatted as XFS or EXT4 in all of my tinkering. Booted after install, and could access mount points. Rebooted and mount points for sda1 are no longer automounted
Replaced the SATA cables and tried again. Same result.
Installed a 500GB laptop drive and tried again. Same result.
Installed Leap 15.1 and set mounts during install, bot the 500GB and 1TB drives are XFS. This works perfectly and all mount point survive multiple restarts. All software is updated via YaST and Nvidia drivers installed… a couple more restarts… mounts are still working correctly.
Just for fun I tried the latest Mint Cinnamon and it also worked 100% with no issues on the drive/partition mounting thing
So from this I assume it is not a hardware issue with either the drives or the cables. I also assume it’s a Tumbleweed specific issue.
Now it’s back to reinstalling Tumbleweed - my first try will be to change repos and zypper dup to see if things work after an upgrade instead of a direct install. If it all fails I’ll dig into the journal as suggested and see if I can extract the relevant log info.
Rather than extract bits and possibly miss something useful… the entire output is here: SUSE Paste
I’m back on a clean Tumbleweed install and mounts are not staying mounted through a restart. as before mount -a mounts everything and they stay cleanly mounted until restart. I’ve added another drive in the process, so now I’ve got:
an NVME drive which is root plus /home and /swap. This drive automounts all partitions cleanly after a restart… no problems here.
a Seagate 500MB platter drive on /dav/sda, partitioned as sda1 and XFS, mounted as /home/smaug42/data. This drive is unmounted after a restart
a WD 1TB platter drive on /dev/sdb, partitioned as sdb1 and XFS, mounted as /home/smaug42/games. This drive is unmounted after a restart
That is what you should have started with instead of posting randomly selected lines.
All filesystems are unmounted, not only one:
Oct 19 18:39:00 linux-kep4 systemd[1]: Stopped target Local File Systems.
Oct 19 18:39:00 linux-kep4 systemd[1]: Reached target Network (Pre).
Oct 19 18:39:00 linux-kep4 systemd[1]: Stopped target Swap.
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /.snapshots...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /boot/efi...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /boot/grub2/i386-pc...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /boot/grub2/x86_64-efi...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /home/smaug42/games...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /home/smaug42/storage...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /opt...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /root...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /srv...
Oct 19 18:39:00 linux-kep4 systemd[1]: Unmounting /usr/local...
Oct 19 18:39:00 linux-kep4 systemd[1]: Stopping Flush Journal to Persistent Storage...
Oct 19 18:39:00 linux-kep4 systemd[1]: Stopping Load/Save Random Seed...
Oct 19 18:39:00 linux-kep4 systemd[1]: cups.path: Succeeded.
This looks like conflicts between some units, so starting one unit stops conflicting ones. Boot with “systemd.log_level=debug printk.devkmsg=on” kernel parameters and post full “journalctl -b” outupt immediately after boot.