unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Unrecognized mount options to an ext4 filesystem.
@ 2023-06-06 15:03 Alexandros Prekates
  2023-06-06 15:49 ` Oleg Pykhalov
  0 siblings, 1 reply; 7+ messages in thread
From: Alexandros Prekates @ 2023-06-06 15:03 UTC (permalink / raw)
  To: help-guix@gnu.org



-------------------------------------------------- /etc/config.scm
 (file-system
	(mount-point "/home/chomwitt/MyCalibreLibrary-SSD") 
        (device  (uuid "ae0661f6-0d22-4e0a-9a9c-fba7c17af6a4" 'ext4))
		 (type "ext4")(options "rw,relatime,nofail 0 2"))
------------------------------------------------------------------

In config.scm trying to provide options to an ext4 fs mount  (options
"rw,relatime,nofail 0 2") the filesystem wont get mounted and i see in
dmesg :

[41.794560] shepherd[1]: Service
file-system-/home/chomwitt/MyCalibreLibrary-SSD failed to start. [
41.795059] shepherd[1]: Starting service
file-system-/home/chomwitt/MyCalibreLibrary-SSD... [   41.825342] ext4:
Unknown parameter 'relatime' [   41.825682] shepherd[1]: Exception
caught while starting #<<service> 7fc35b4eed80>: (system-error "mount"
"mount ~S on ~S: ~A" ("/dev/sdd1"
"///home/chomwitt/MyCalibreLibrary-SSD" "Invalid argument") (22)) [
41.825863] shepherd[1]: Service
file-system-/home/chomwitt/MyCalibreLibrary-SSD failed to start. [
41.826665] shepherd[1]: Service file-systems depends on #<<service>
7fc35b4eed80>[  41.826843] shepherd[1]: Starting service syslogd...
7fc35b4eed80>[   41.828933] shepherd[1]: Service file-systems depends
7fc35b4eed80>on #<<service> 7fc35b4eed80>. [   41.829231] shepherd[1]:
7fc35b4eed80>Starting service
7fc35b4eed80>file-system-/home/chomwitt/MyCalibreLibrary-SSD... [
7fc35b4eed80>41.863301] ext4: Unknown parameter 'relatime' [
7fc35b4eed80>41.894816] ext4: Unknown parameter 'relatime' [
7fc35b4eed80>41.928441] ext4: Unknown parameter 'relatime'
[   41.962552] ext4: Unknown parameter 'relatime'
[   41.994449] ext4: Unknown parameter 'relatime'
[   42.025599] ext4: Unknown parameter 'relatime'
[   42.057061] ext4: Unknown parameter 'relatime'
[   42.091580] ext4: Unknown parameter 'relatime'
[   42.123539] ext4: Unknown parameter 'relatime'
[   42.155367] ext4: Unknown parameter 'relatime'

strangely if i dont supply any options then the 'defaults' will be
added to my fstab and the filesystem will be mounted ok with
rw,relatime 

But wanting my system to not hang during booting if my
external storage is not connected i made a couple of tests with
'nofail' but with no luck.

Alexandros


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-09  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 15:03 Unrecognized mount options to an ext4 filesystem Alexandros Prekates
2023-06-06 15:49 ` Oleg Pykhalov
2023-06-06 16:28   ` Alexandros Prekates
2023-06-06 16:38     ` Alexandros Prekates
2023-06-06 20:40       ` Alexandros Prekates
2023-06-07  7:26         ` Efraim Flashner
2023-06-09  7:54           ` Alexandros Prekates

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).