[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <73D10DE0-1533-4077-B11C-CC3C748F4EC2@dilger.ca>
Date: Sun, 27 May 2018 16:04:15 -0600
From: Andreas Dilger <adilger@...ger.ca>
To: Niklas Hambüchen <mail@....me>
Cc: linux-ext4@...r.kernel.org
Subject: Re: Remount with journal_path option in fstab
On May 27, 2018, at 3:42 PM, Niklas Hambüchen <mail@....me> wrote:
>
> I'm using ext4 with external journal on Linux 4.9.
>
> For being explicit I would like to set the journal_path=/dev/... option in /etc/fstab.
>
> However when I do so, then some OS scripts fail.
> This is because `systemd-remount-fs` calls `mount / -o remount`, which fails with
>
> EXT4-fs (md126): Cannot specify journal on remount
>
> (How) is this supposed to work? Can `journal_path` be given in fstab?
>
> Also, should it really fail with `Cannot specify journal on remount` even when the journal given is the one that is already being used?
I suspect that this is just an oversight, since not many people use
external journals, and even fewer of those use it on the root filesystem,
which means they rarely remount the filesystem once it is mounted.
It probably makes sense to just ignore this option if it is specified in
the mount options and the device has not changed, rather than returning
an error. Would you be able to submit a patch for this?
Cheers, Andreas
Download attachment "signature.asc" of type "application/pgp-signature" (874 bytes)
Powered by blists - more mailing lists