Am 30.01.2017 um 21:51 schrieb Chris Murphy: > On Mon, Jan 30, 2017 at 1:02 PM, Michael Born <Michael.Born@xxxxxxxxxx> wrote: >> Hi btrfs experts. >> >> Hereby I apply for the stupidity of the month award. > > There's still another day :-D > > > >> >> Before switching from Suse 13.2 to 42.2, I copied my / partition with dd >> to an image file - while the system was online/running. >> Now, I can't mount the image. > > That won't ever work for any file system. It must be unmounted. I could mount and copy the data out of my /home image.dd (encrypted xfs). That was also online while dd-ing it. >> Could you give me some instructions how to repair the file system or >> extract some files from it? > > Not possible. The file system was being modified while dd was > happening, so the image you've taken is inconsistent. The files I'm interested in (fstab, NetworkManager.conf, ...) didn't change for months. Why would they change in the moment I copy their blocks with dd? Michael -- 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
