Re: xfsdump | xfsrestore resulting in files->orphanage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/24/21 5:05 PM, L A Walsh wrote:
> copying a disk to a replacing disk I am using
> xfsdump on the fromdir and xfsrestore on the todir.
> 
> I finish another disk a short while ago with no probs, but this
> disk starts out with a weird message from xfsdump:
> 
> 
> xfsdump: NOTE: root ino 192 differs from mount dir ino 256, bind mount?
> 
> Then later, when it starts restoring files on the target,
> all the files end up in the orphanage:
> 
> xfsrestore: 9278 directories and 99376 entries processed
> xfsrestore: directory post-processing
> xfsrestore: restoring non-directory files
> xfsrestore: NOTE: ino 709 salvaging file, placing in orphanage/256.0/Library/Music/ Maria/Cover-Inside.jpg
> xfsrestore: NOTE: ino 710 salvaging file, placing in orphanage/256.0/Library/Music/ Maria/Cover-Outside.jpg
> 
> The files look "fine" on the source
> Never had a simply "copy" go so wrong...
> 
> What might be causing this?

This is a bug in root inode detection that Gao has fixed, and I really
need to merge.

In the short term, you might try an older xfsdump version, 3.1.6 or earlier.

(Assuming you don't actually have a bind mount)

Sorry about that.

-Eric



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux