clone of filesystem across network preserving ionodes

Meij, Henk hmeij at wesleyan.edu
Mon Nov 3 15:10:10 CST 2014


inodes, yes, yes.  I tried xfs_copy but ran into a problem. server1 and server2 each have 4x28T partitions and on server1 writing the file to one empty partition mounted never finishes, hangs at 90%...presumably because it runs out of space (file size == sdbx). there is no "skip empty inodes" option and perhaps there can't be...and I have nothing larger. I guess I could attempt making sdb4 slightly larger by reducing sdb1-3.

Thanks,
-Henk

________________________________________
From: Eric Sandeen [sandeen at sandeen.net]
Sent: Monday, November 03, 2014 3:39 PM
To: Meij, Henk; xfs at oss.sgi.com
Subject: Re: clone of filesystem across network preserving ionodes

On 11/3/14 2:35 PM, Meij, Henk wrote:
> What is the best practice way to get the contents from server1 to
> server2 identical disk array partitions and preserve the ionode
> information using xfs tools or non-xfs tools?

Just FWIW: inode, not ionode.  :)

> xfsdump/xfsrestore appear to not preserve this or I can not find the
> obvious setting.

> xfs_copy would, per documentation, but can I get from server1 to
> server2?

xfs_copy makes an identical image, yes.

You could xfs_copy from disk to a file on server1, transfer the file,
then xfs_copy from file to disk on server2.

-Eric


More information about the xfs mailing list