Unable to mount (or, why not to work late at night).
So, I was trying to downgrade my Ubuntu last night, and, before doing anything risky like that, I backed up my disk via dd to an image on an external disk. The critical part here is that I'm afraid I did something truly stupid: I'm afraid I did the dd... live. (I can't swear to this, and it does seem unlikely, but it also seems to be the most likely circumstance.)
So, I dd'd everything back, and now it crashes on boot. Booting to a 2.6.x kernel (which is what I had on-hand on a USB drive) mounts it, but doesn't let me *do* anything (though it spews btrfs errors in dmesg). Getting Ubuntu 11.10 (kernel rev. 3.0.0) gives me this:
[ 121.226246] device fsid d657ce6a-d353-4c2c-858a-6a1f4d9e766e devid 1 transid 217713 /dev/sda1 [ 121.232430] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.232898] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.233357] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.233365] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.248231] btrfs: open_ctree failed
As I have this complete image on-disk, I'm more than willing to try Extreme Measures(tm), whatever that might entail. If I can't get it back, it's not like it's the loss of my job or anything, but there *is* stuff I'd really like to get back.
Thanks,
-Ken
Hallo, Ken,
Du meintest am 27.10.11:
Quoted 5 lines
So, I dd'd everything back, and now it crashes on boot. Booting to a 2.6.x kernel (which is what I had on-hand on a USB drive) mounts it, but doesn't let me *do* anything (though it spews btrfs errors in dmesg). Getting Ubuntu 11.10 (kernel rev. 3.0.0) gives me this:
Quoted 11 lines
[ 121.226246] device fsid d657ce6a-d353-4c2c-858a-6a1f4d9e766e devid 1 transid 217713 /dev/sda1 [ 121.232430] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.232898] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.233357] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.233365] parent transid verify failed on 100695031808 wanted 217713 found 217732 [ 121.248231] btrfs: open_ctree failed
It may not please you - I have the same problem. Kernel 3.1.
The first try to mount is in "/etc/rc.d/rc.local". Has worked many weeks, now doesn't work. Without any message.
Next try produces (in "dmesg")
device label MMedia devid 2 transid 57932 /dev/sdb1 parent transid verify failed on 21094400 wanted 57401 found 47987 parent transid verify failed on 21094400 wanted 57401 found 47987 parent transid verify failed on 21094400 wanted 57401 found 47987 parent transid verify failed on 21094400 wanted 57401 found 47987 parent transid verify failed on 21094400 wanted 57401 found 47987
btrfs: failed to read chunk tree on sdg1
btrfs: open_ctree failed
And the third try has success:
device label MMedia devid 2 transid 57932 /dev/sdb1
----------------------------------------
Very few times I don't need 3 tries, but only 2.
---------------------------------------------------------------
What's the meaning of the 3 numbers in the "parent" message?
Viele Gruesse!
Helmut
Quoted 1 line · Ken D'Ambrosio
So, I was trying to downgrade my Ubuntu last night, and, before doing=
anything
Quoted 1 line
risky like that, I backed up my disk via dd to an image on an externa=
l disk.
some of us make use of snapshot/clone, whether it's using btrfs or zfs = :)
Quoted 1 line
So, I dd'd everything back, and now it crashes on boot. =A0Booting to=
a 2.6.x
Quoted 1 line
kernel (which is what I had on-hand on a USB drive) mounts it, but do=
esn't let
Quoted 1 line
me *do* anything (though it spews btrfs errors in dmesg).
What do you mean don't let you do anything? Can you mount it read-only and copy the data off the disk?
Quoted 2 lines
=A0Getting Ubuntu 11.10
(kernel rev. 3.0.0) gives me this:
I'd try 3.1. If you use 11.10 try
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-oneiric/
Quoted 2 lines
[ =A0121.226246] device fsid d657ce6a-d353-4c2c-858a-6a1f4d9e766e dev=
id 1 transid
Quoted 2 lines
217713
/dev/sda1
[ =A0121.232430] parent transid verify failed on 100695031808 wanted =
217713 found
Quoted 2 lines
217732
[ =A0121.232898] parent transid verify failed on 100695031808 wanted =
217713 found
Quoted 2 lines
217732
[ =A0121.233357] parent transid verify failed on 100695031808 wanted =
217713 found
Quoted 2 lines
217732
[ =A0121.233365] parent transid verify failed on 100695031808 wanted =
217713 found
Quoted 4 lines
217732
[ =A0121.248231] btrfs:open_ctreefailedAs I have this complete image on-disk, I'm more than willing to try E=
xtreme
Quoted 1 line
Measures(tm), whatever that might entail.
Try getting source of btrfs-progs, do "make btrfs-zero-log", and use it= =2E
--=20
=46ajar
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html