atom feed3 messages in org.kernel.vger.linux-btrfsRe: An issue when mounting the dd-cop...
FromSent OnAttachments
Tydus KenApr 19, 2012 11:49 pm 
Chris SamuelApr 20, 2012 12:20 am 
Jan SchmidtApr 20, 2012 12:39 am 
Subject:Re: An issue when mounting the dd-copied partition and the original one together
From:Chris Samuel (chr@csamuel.org)
Date:Apr 20, 2012 12:20:28 am
List:org.kernel.vger.linux-btrfs

On Friday 20 April 2012 16:49:48 Tydus Ken wrote:

I guess there's something wrong with btrfs in how to deal with two partition with same UUID or something else, but I'm not sure.

I don't believe that btrfs can cope with partitions with the same UID. A pointer here from Auke in July 2011:

http://marc.info/?l=linux-btrfs&m=131161949201880&w=2

# Resetting the UUID on btrfs isn't a quick-and-easy thing - you # have to walk the entire tree and change every object. We've got # a bad-hack in meego that uses btrfs-debug-tree and changes the # UUID while it runs the entire tree, but it's ugly as hell. # # You shouldn't clone btrfs really, just make a new filesystem.

That hack is for an unmounted filesystem, but I don't believe it's been shared on this list.

Jan Schmidt was working on a "btrfs send" type command to help with this, but I've not heard anything recently (last December he posted that he was distracted by the backref-walking code which was a necessary precursor for the send/receive code).

cheers, Chris

This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP