On Mon, Feb 07, 2022 at 05:56:21PM -0500, Sean Caron wrote: > Got it. I ran an xfs_repair on the simulated metadata filesystem and > it seems like it almost finished but errored out with the message: > > fatal error -- name create failed in lost+found (28), filesystem may > be out of space Not a lot to go on there - can you send me the entire reapir output? > However there is plenty of space on the underlying volume where the > metadata dump and sparse image are kept. Even if the sparse image was > actually 384 TB as it shows up in "ls", there's 425 TB free on the > volume where it's kept. Hmmm - the sparse image should be the same size as the filesystem itself. If it's only 384TB and not 500TB, then either the metadump or the restore may not have completed fully. > I wonder since this was a fairly large filesystem (~500 TB) it's > hitting some kind of limit somewhere with the loopback device? Shouldn't - I've used larger loopback files hostsed on XFS filesystems in the past. > Any thoughts on how I might be able to move past this? I guess I will > need to xfs_repair this filesystem one way or the other anyway to get > anything off of it, but it would be nice to run the simulation first > just to see what to expect. I think that first we need to make sure that the metadump and restore process was completed successfully (did you check the exit value was zero?). xfs_db can be used to do that: # xfs_db -r <image-file> xfs_db> sb 0 xfs_db> p agcount <val> xfs_db> agf <val - 1> xfs_db> p ..... (should dump the last AGF in the filesystem) If that works, then the metadump/restore should have been complete, and the size of the image file should match the size of the filesystem that was dumped... Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx