disk unmounting 22 September 2024, 21:15:05 I am a noob at thisdmesg has these two messages, last. upon booting[ 8.021993] EXT4-fs (sdb): mounted filesystem f16d6041-8fb4-401b-8c66-cdf1ed948bc1 r/w with ordered data mode. Quota mode: none.[ 8.022455] EXT4-fs (sdb): unmounting filesystem f16d6041-8fb4-401b-8c66-cdf1ed948bc1.fstab has this lineUUID=f16d6041-8fb4-401b-8c66-cdf1ed948bc1 /run/media/a/Greg ext4 defaults,noatime,x-gvfs-show 0 1Disks shows it as unmounted. it mounts when requested.How do i get this drive to mount and stay mounted automagically when booted?
Re: disk unmounting Reply #1 – 22 September 2024, 21:26:09 You can try another mount path as the x-gvfs-show option should treat the drive as mounted by it from anywhere, and here it probaby conflicts with it's /run/media path paradoxically.Or ditch that option completely and some file managers (doublecmd) will still pick it up in the gui listing. Or just add the mount point to bookmarks.It really shouldn't unmount by itself afterwards......Although let me tell you i have been having some strange mounting behavior in the past month or so myself and i mount normally just with noatime and some with r/o.
Re: disk unmounting Reply #2 – 22 September 2024, 21:38:37 edited fstab thusUUID=f16d6041-8fb4-401b-8c66-cdf1ed948bc1 /run/media/a/Greg ext4 defaults,noatime 0 1dmesg still showing unmounting[ 7.635206] EXT4-fs (sdb): mounted filesystem f16d6041-8fb4-401b-8c66-cdf1ed948bc1 r/w with ordered data mode. Quota mode: none.[ 7.635498] EXT4-fs (sdb): unmounting filesystem f16d6041-8fb4-401b-8c66-cdf1ed948bc1.Any idea how I can find the unmount reason?sound i remove defaults?is the " 0 1" right?PCManFM-QT shows error when I open any BM referencing the driveI dont really want to change the mount path as this all used to work and a bunch of stuff is linked to it. I can if i need to...
Re: disk unmounting Reply #3 – 22 September 2024, 23:00:44 OK i ran some testing and i'm seeing the same behavior, very strange indeed, don't really know who is to blame here.[ 8.482336] XFS (sda1): Mounting V5 Filesystem[ 8.662341] XFS (sda1): Ending clean mount[ 8.663022] XFS (sda1): Unmounting FilesystemYour only choice is to bind mount, so mount to a different location then bind it to /run/media/etcOr gvfs has some mount options in it's userspace.Search for both they are documented. 1 Likes
Re: disk unmounting Reply #5 – 23 September 2024, 11:06:55 I'm not sure if it's gvfs/udisks2/dbus to blame, or if it's maybe util-linux, or even the kernel itself if someone hardcoded those /run/media paths into it.
Re: disk unmounting Reply #6 – 23 September 2024, 21:24:03 This may be related or it may not....Recently, (past month or so), I have a raid system that mounts automatically at boot via fstab, but recently this has not been the case, every time the raid is not mounted at boot. Manually mounting (mount -a) invariably mounts it successfully.I have looked at dmesg and can't see any reference to unmounting as are the cases above. I had put it down to an ageing desktop perhaps experiencing a race condition somehow (I am pretty ignorant in these things as you can see....!).So, reading this thread I though it might be possible that my problem is connected? 1 Likes
Re: disk unmounting Reply #7 – 23 September 2024, 22:59:05 related? https://forum.artixlinux.org/index.php/topic,7320.0/topicseen.html
Re: disk unmounting Reply #8 – 24 September 2024, 21:06:43 Quote from: n00b – on 23 September 2024, 22:59:05related? https://forum.artixlinux.org/index.php/topic,7320.0/topicseen.htmlIf that was aimed at me, I don't think so thanks. My desktop is quite old and is a BIOS only boot method . It must be something to do with booting, as when mounted manually it stays mounted for the whole session.I've had Artix running on that machine for 3+ years now (on the LTS kernel), and never had a problem until about a month or so ago. I haven't changed any software on it either, other than regularly updating of course.