unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Alexandros Prekates <aprekates@posteo.net>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Unrecognized mount options to an ext4 filesystem.
Date: Tue,  6 Jun 2023 15:03:45 +0000	[thread overview]
Message-ID: <20230606180345.3e1c06a8@posteo.net> (raw)



-------------------------------------------------- /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


             reply	other threads:[~2023-06-06 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 15:03 Alexandros Prekates [this message]
2023-06-06 15:49 ` Unrecognized mount options to an ext4 filesystem 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230606180345.3e1c06a8@posteo.net \
    --to=aprekates@posteo.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).