On Tue, Aug 1, 2017 at 12:36 PM, Alan Brand <alan@xxxxxxxxxxxxxxxxx> wrote: > I successfully repaired the superblock, copied it from one of the backups. > My biggest problem now is that the UUID for the disk has changed due > to the reformatting and no longer matches what is in the metadata. > I need to make linux recognize the partition as btrfs and have the correct UUID. > Any suggestions? Huh, insofar as I'm aware, Btrfs does not track a "disk" UUID or partition UUID. A better qualified set of steps for fixing this would be: a.) restore partitioning, if any b.) wipefs the NTFS signature to invalidate the NTFS file system c.) use super-recover to replace correct supers on both drives d.) mount the file system e.) do a full scrub The last step is optional but best practice. It'll actively do fixups, and you'll get an error message with path to files that are not recoverable. Alternatively a metadata only balance will do fixups, and it'll be much faster. But you won't get info right away about what files are damaged. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
