All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ralf Groß" <ralf.gross+xfs@gmail.com>
To: linux-xfs@vger.kernel.org
Subject: copy / move reflink files to new filesystem / or whole fs
Date: Tue, 15 Jun 2021 07:45:59 +0200	[thread overview]
Message-ID: <CANSSxykVgGj5PHzfPm_xvJi_dpooS_vBpO14-S3KhM6BZfBFtA@mail.gmail.com> (raw)

Hi,

is there any way to copy or move data between 2 xfs fs with reflinks
on the same host, so that the data is not rehydrated (I guess cp
--reflink will not be working)? If this is not possible, would it be
able to clone the existing fs to a new one and then continue to use
both?

Background: I've backup data on a 350 TB reflink xfs fs, now a second
fs will be added to the server and parts of existing data should be
moved to it. If it's possible to clone the whole fs I could delete
parts of it afterwards, but copying/moving single directories would be
easier.

Ralf

             reply	other threads:[~2021-06-15  5:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15  5:45 Ralf Groß [this message]
2021-06-15 15:23 ` copy / move reflink files to new filesystem / or whole fs Darrick J. Wong

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=CANSSxykVgGj5PHzfPm_xvJi_dpooS_vBpO14-S3KhM6BZfBFtA@mail.gmail.com \
    --to=ralf.gross+xfs@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.