From: Christoph Hellwig <hch@infradead.org>
To: linux-xfs@vger.kernel.org
Subject: Re: Replacing the external log device
Date: Wed, 12 Apr 2023 05:08:56 -0700 [thread overview]
Message-ID: <ZDafWCuO8iZB1Vev@infradead.org> (raw)
In-Reply-To: <ZDZb/PtvFlyIMKDG@aeszter.mpibpc.intern>
On Wed, Apr 12, 2023 at 09:21:32AM +0200, Ansgar Esztermann-Kirchner wrote:
> However, I've been bitten by a nasty problem twice in recent weeks: in
> the first instance, I wanted to replace a bunch of disks in a machine
> (something like 4x10TB to 4x16TB). Usually, we do that by setting up a
> new machine, rsyncing all the data, and then swap the machines. In
> this instance, I refrained from swapping the machines (due to lack of
> hardware), and merely swapped the disks. Initially, the kernel refused
> to mount the new disks (this was expected: the UUID of the log was
> incorrect, as I only swapped the HDDs, not the log device).
Let me restate that: you created a new XFS file system, but then tried
to reuse an existing log device for it?
How did you format the new file system? XFS either expects and internal
log, or a log device? For the above error it must have been formatted
with a different external log? And then you just switched the mount
option to the log device of the previous file system?
If so that can't work, and I'm surprised you got so far.
next prev parent reply other threads:[~2023-04-12 12:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 7:21 Replacing the external log device Ansgar Esztermann-Kirchner
2023-04-12 12:08 ` Christoph Hellwig [this message]
2023-04-12 12:53 ` Ansgar Esztermann-Kirchner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZDafWCuO8iZB1Vev@infradead.org \
--to=hch@infradead.org \
--cc=linux-xfs@vger.kernel.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